Sonia Ghildiyal
Read all my blogsTo build a customized B2B interface, the starting point is a standard message type structure which we can use in SAP CPI during EDI to XML conversion. However, there are many different B2B standards, and often, message descriptions are located in various sources, with no direct access to the required information.
The Integration Content Advisor (ICA) is a single place with a collection of all B2B/A2A standard content for building customized interfaces and mappings. This is called the library of type systems.
In this blog I will describe an example how to generate EDIFACT ORDERS XSD by Message Implementation Guideline (MIG) and how to use it in an integration Flow to facilitate order creation between two trading systems.
To enable ICA , you need to purchase a license through the SAP store: SAP Cloud Platform Integration, Library add-ons
- To create a new Message Implementation Guideline (MIG) , click on Design –> MIGs.
- Select a message template as per business requirement. Here as per scenario choosing UN/EDIFACT.
- Select Message Type and versions as per your scenario.
- Enter general information such as name, direction and click on Create.
- After clicking on Create, the following screen will appear. We need to select all the segments which we require in our scenario and Save it. To export MIG for ORDERS, click on top right –> Export –> “SAP Cloud Integration Runtime Artifacts”.
- One ZIP file will get downloaded.
- In the ZIP file, we can find the standard XSD for ORDERS which we than can use in our integration Flow.
- Create the integration Flow in CPI. In “EDI to XML Converter” we can add standard EDIFACT ORDERS XSD .The naming convention of the XSD should be UN-EDIFACT_{MessageType}_{Version} in ”EDI to XML Converter”.
- After successful execution of above steps, you will receive an EDI XML which can be used to transform as per the format requested by the receiving trading system.
So with the help of MIG, we can get standard EDIFACT XSD and further use it for EDI to XML Conversion in CPI.