SAP PI File To I-doc Scenario. Step [1] Create Enterprise Service Builder…. 1.1 Login to SAP PI System & Go to Transaction ‘SXMB_IFR’. Then, the following screen appears.
SAP PI
File To I-doc Scenario.
Step [1] Create Enterprise Service Builder….
1.1 Login to SAP PI System & Go to Transaction ‘SXMB_IFR’.
Then, the following screen appears.
1.2 Click on ‘Enterprise Services Builder’.
After this, the main screen is displayed.
1.3 Click on Create Object Button first, then select Namespace option, provide Name for Namespace & click on Create Button.
(Note: add custom name after this standard format ‘http://sap.com/xi/XI/System/’)
1.4 Provide Description and Click on Save Button.
1.5 Right Click on Our Created Namespace & choose ‘New’ option.
1.6 Create ‘Data Types’ by doing following steps for Sender Flat File.
Do the below steps to add fields for Data processing.
1.7 Create ‘Message Types’ by doing following steps for Sender Flat File.
Provide Created Data type, Namespace for Message Type, then Save & Activate.
1.8 Create ‘Service Interface’ by doing following steps.
Provide created Message Type, Save & Activate.
1.9 Create ‘Message Mapping’ by doing following steps.
Select Source Message & Target Message.
Check the Source Message is added.
Repeat the below step for Target Message. (I-Doc Structure)
Then do the Mapping of Source Message with Target Message (I-Doc fields) by Drag and Drop & Save, Activate.
1.10 Create ‘Operation Mapping’ by doing following steps
Add Source operation by F4 Help.
Also add Target Operation by F4. (Target I-Doc)
Provide Message Mapping by F4 Help.
Here, automatically Source to Target Path is created.
Step (2) Create RFC Destination & Port. (In SAP PI/XI System)
Step (3) Maintain ID (Integration Directory)
Create Configuration Scenario…
Now, Go to Integration Builder.
3.1 Create Folder First.
3.2 Create Business Component (For XML File) by right click on folder.
Add Service Interface by F4 Help & Save, Activate.
Steps to be performed in SAP ECC System for ‘Sender Logical System’.
Create Partner Profile in transaction ‘WE20’ & also add this into Transaction ‘BD54’.
Also check Technical system (ECC/CRM) logical system name and add into transaction t BD54.
Steps to be performed in SAP PI System for Receiver Logical System.
Create Partner Profile.
3.3 Create Communication Channel for Sender.
Check following parameters.
3.4 Create Communication Channel for Receiver.
Change Sender radio button to receiver & also add below parameters. Save & Activate.
3.5 Create Receiver Determination.
Add communication component by F4 Help, Save & Activate.
3.6 Create Interface Determination by F4 help as shown below, Save & Activate.
3.7 Create Sender Agreement by F4 help as shown below, Save & Activate.
3.8 Create Receiver Agreement by F4 help as shown below, Save & Activate
Step (4) Test scenario.
Then, check Scenario Status in Transaction ‘SXMB_MONI’. (SAP PI)
Also, check I-Doc Status in Transaction ‘WE05’. (SAP ECC)