Question:
Hello Friends.
I am working on SAP Business Connectors, now the problem I am facing is Inbound Process (i.e How to Convert the XML data to IDOC in SAP Business Connector. Could you please help me out, how to do this process in detail. So this is big help. I contacted many friends who are working on ABAP, but I didn't find any one who is working on SAP BC.
Even I didn't get any information regarding this on NET, I browse so many search engines but i didn't get the solution.
Thanks in advance....
Regards
Sivaram Kandula
Answer:
1. Export your IDOC structure using WE60 (menu option create DTD).
2. Import this into BC as a record list.
3. create a new routing rule to your SAP system from external partner.
4. create a new flow to map your xml into the IDOc structure, at the last step in the flow, call the routing rule created from step 3.
A typical flow for step 4 goes like this:
1. documenttoRecord (to convert xml post data into pipeline record
2. map loop (to convert xml structure)
3. transformflattohierarchy (to convert IDOC structure into EDIDD,EDIDC data)
4. IDOC_INBOUND_ASYNCHRONOUS (or flow from step 4 above)
Answer:
Thanks for your Help.
I will try according to your suggestion. If I have any further clarifications i will send the mail.
Regards
Sivaram
Answer:
Hi Matt,
Can you please explain in detaile, i triend but when i run the flow steps
Could not run the service 'matmas'.
com.wm.app.b2b.server.ServiceException: [B2BSERV.0086.9020] H:\My Documents\Matmas.xml does not exist
matmas is my flow service, under that i created many flow steps i.e java services like getFile,bytesToSTring,stringToDocument, documentToRecord and transformFlatToHierrarchy, but it is not executing . Can you please guide me in detail how to do this.
thanks in advance.
regards.
Sivaram Kandula