In this scenario we have a file in XML Message Type format as sender that will be converted in a MATMAS.MATMAS05 IDoc as receiver in ECC.
In setup activity are involved several environments: SAP ECC, SAP PI Configuration and Repository, Netweaver Administrator (NWA) and System Landscape Directory (SLD).
Setup ECC side
Here we enable the COMPANY_A partner to receive a MATMAS IDoc.
[BD64] Distribution Model
[WE20] Partner Profile
Setup SAP PI Configuration side
Here we define the channels enabling the protocols to read from a file and to write and send an IDoc to ECC. Furthermore we define the routing from the sender to the receiver and the transformation from the file structure format to the IDoc one.
Communication Channel sender
|Communication Channel name||File_to_Idoc_Sender_00_A|
Communication Channel receiver
We can set up the ECC references by a destination instead of inside to the channel.
Setup Netweaver Administration side
Defining a destination allow you to ping the destination before to define the communication channel.
Setup Repository side
Control Record mapping
|IDoc type: according on Partner profile|
|Message type: according on Partner Profile|
|Sender SAP Port: according on rule: “SAP”+System ID|
|Sender Partner type: Logical System, according on Partner Profile|
|Receiver SAP Port: according on rule: “SAP”+System ID|
|Receiver Partner type: Logical System|
|Receiver Partner: ECC System ID|
Coupling Business System – Logical System