Hi Aditya,
To have an idea, start reading How to install the new B2B add-on
Once you come across step 5, read more careful.
Bottom line is defining your incoming EDI message structure based on
- content SAP delivers
- your own message structure
The configuration of your sender EDISeparator adapter + control keys in the EDI content manager = the key for converting the incoming EDI message to XML. No other mapping is required.
Off course, you need a message mapping within the ESR if you want to map to an idoc.
Your source structure within the ESR = the XSD, exported from the EDI content manager and imported as External Definition object.
Kind regards,
Dimitri