The ultimate site for SAP XI certification and tutorial resources. Submit tutorials/scenarios and get assured gifts!!! For more info click here...

best sap tutorials

scenario - Idoc flat file to idoc xml

Submitted by : Rajesh

This tutorial will guide you how to convert the IDOC-Flat File data to IDOC-XML data.

Steps to be done in the SLD.

  1. Create a Technical system of type Web AS ABAP for sending Business system.

        1

  1. Associate a business system for the Technical System created above with appropriate logical system name.

Note the logical system name should associate with the SYSID (SAPPORT) +MANDAT of the IDoc control record.
        
2

  1. Similarly create one more technical system for receiving end of type Web AS ABAP.(required in case target is also R/3).

 

  1. Associate a business system for the technical system created above.

Steps to be done in PI SAP Console

  1.   Create a RFC destination of type 3 for the sender R/3 system.(SM59)

 

3

  1. Create a port for the sender R/3 system with RFC destination created above.(idx1)

 

4

  1.  The above two steps are necessary as we need the IDoc metadata of sender R/3 for further processing’s.

 

  1.  Repeat the steps 6 and 7 for the destination also in case if target is also R/3.

      Note: In case if you are receiving the Flat File and you don’t have the R/3 details of   
Sender for loading metadata then you needs to create the port with name as SNDPOR
and client as MANDAT of receiving IDoc control record, and you can
associate any RFC Destination for loading metadata provided the target message type
exists on particular R/3 System.

 

  1. Create a port of type file using we21 with all necessary parameters.

 

5

 

Directory parameter defines from where we need to pick up the IDOC-FLATFILE and Outbound File is the filename which is going to be converted.

  1. Create a product and software component version in the SLD.

 

Cool !!!View other tutorials!________________________Submit a tutorial