B2B Add On - EDIFACT to IDOC using AS2
I have a B2B scenario where I recieve an EANCOM EDIFACT message for Purchase Orders from our vendor which would have to mapped to the ORDERS05 IDOC.
I have used these links for reference: http://scn.sap.com/thread/3528910
I have reached a stage where the EDIFACT message is failing at the IDOC receiver (IDOC_AAE) because the Sender and receiver paramters of the IDOC control record are missing. I am using XSLT mapping to get the EDIFACT XML mapped to the IDOC, including the header.
I am also using TPM to maintain the partner details.
My question is how would I map the Sender party details to the IDOC control record in XSLT?
Amith Menezes replied
Hi Eng Swee,
I have already used thoise modules to fetch the partner details that are relevant for EDI(GLNs etc).
It is the control record details for the IDOC that are troublesome. I really don't want to hardcode the system details. I guess I will get the Customer number from TPM and the logical system details sender(PI) and receiver(ECC) usinng value mapping in XSLT.