Skip to Content

B2B Add On - EDIFACT to IDOC using AS2

Hello there,

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:

Learning Series SAP NetWeaver Process Orchestration, business to business add-on 2f EDI Separator Adapter

New Trading Partner Management functionality with the SAP B2B Add-on

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?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 27, 2015 at 02:21 AM

    Hi Amith

    Just curious, any particular reason to use XSLT for the mapping?

    I haven't used TPM before myself but it looks like there are UDF provided to access it. This will have to be called from message mapping though.

    Trading Partner Management Part 8 - User Defined Functions (UDF's)


    Eng Swee

    Add comment
    10|10000 characters needed characters exceeded

    • 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.