B2B SCENARIO SENDER_EDI_TO_IDOC
BY JALLAJ KUMAR
First, we need to download the source and target structures (MIGs)
In my Scenario Source MIG is (EDIFACT-ORDERS) and Target MIG is (S4-IDOC- Purchaseorder)
Go to Design à MIG à Message implementation guidelines à click on create
Search with EDIFACT and select (UN/EDIFACT)
Search with ORDERS and select purchase order as below
Select the required version in my case its D.93A S3
Select with envelope
Skip the sample payload upload step
Provide Name, Direction, Business process (it can be anything in my case I kept as create
order)
Click on create and MIG gets created as below
Now we need to download receiver MIG
Search with SAP S/4HANA On Premise IDoc and select it
In my case it’s (ORDERS.ORDERS05)
Select version as per your requirement
Skip the sample payload upload step
Provide Name, Direction, Business process(it can be anything in my case I kept as create
order)
Click on create and MIG gets created as below
Both Source MIG and Target MIG gets generated.
Now we need to create MAG (mapping guidelines)
Click on Design à MAG à Click on create
Select the source MIG
Select the target MIG
In the below screen click on create
MAG gets created as below
In MAG click on Export à SAP Cloud Integration Runtime Artifacts
ZIP files gets downloaded
pls unzip it.
Below are the files which we will use in further steps.
Go to Discover tab and search with ‘EDI’ and select Package EDI Integration Templates for SAP
Integration Advisor
My scenario is EDI to IDOC so I will be selecting EDI to SAP IDoc - Inbound as below
Click on download, zip file will be downloaded as below
Now we need to go to Design tab àIntegrations and APIs à Add à Integration flow à
Upload à Select the iflow which was downloaded
Open the iflow which is uploaded
We need to upload total 4 files
1: In EDI to XML Converter upload (UN-EDIFACT_ORDERS_DG3A.xsd)
2: In EDI - Qualifier Pre-Processing upload (TestingEDI_preproc)
3: In EDI to SAP IDoc - Mapping upload (Mapping_TestingEDI_to_TestIdoc)
4: In SAP IDoc - Qualifier Post-Processing upload (TestIdoc_postproc)
I will remove the unwanted steps (EDI Extended Validation (optional), Sender, Receiver,
Validate and EDI Interchange steps)
I will use Timer to start the flow
I have used the EDI payload in Content modifier to test the flow in starting step.
Final IDOC output:
FOLLOW ON LINKEDIN/JALLAJKUMAR
Once all the steps are completed then EDI will be converted to IDOC which can be sent to the S4
system.
Thanks
Jallaj Kumar
FOLLOW ON LINKEDIN/JALLAJKUMAR