scenario - Idoc flat file to idoc xml - Part II
Submitted by : Rajesh
Steps to be done in the Integration Repository
- Import the Software component created in the SLD.
- Create a namespace for the scenario.
- Create a Message Mapping for the source and target Messages.
- Activate all the changes done in the Integration Repository.
- Create a business service/import the business system created in SLD for sender and receiver in the Integration Directory. This is needed for transferring the file to the SAP PI NFS Location.(If the file is already in the NFS Location we can ignore this)

- Create Receiver Determination, Interface determination and sender, receiver agreement for transferring the file to the NFS location of SAP PI.
(Ignore the steps 15 and 16 if the file is already placed in the NFS Location of PI)
- Create a Scenario object in the Integration Directory.

- Assign the Business systems created in steps 1 and 3 to the scenario object created above in Integration Directory.

- Create a receiver determination between sender system and receiver system
Sender: Business system 1 (created in step 1)
Message Interface: IDoc Name
Namespace: IDoc Namespace
Assign the business system 2 created in step 3.
- Create an interface determination for the same.
Sender: Business system 1 (created in step 1)
Message Interface: IDoc Name
Namespace: IDoc Namespace
Receiver: Business system 2 (created in step 3)
- Create a receiver agreement .(Note sender agreement is not needed as IDoc –xml date will be sent to pipeline)
- Activate all the objects in the Integration Directory.
Executing the scenario.
- Once the file is available in the NFS Location of PI, We can convert the same into IDoc-XML by executing the below report. (se38)

We need to pass the file path and file port as input parameters for the report to execute successfully.

- Once it gets executed successfully then we can see an entry in the sxmb_moni.
- We need to schedule the report from the custom report by passing the required variants.
This is required only in case of PI 7.0 environment, but in PI 7.1 Ehp1 we have module
By name IDOCFlatToXmlConvertor which does these conversions, so no need to take all this pain from PI 7.1 Ehp1.
Reference
http://help.sap.com/saphelp_nwpi711/helpdata/en/74/a45bc07e2043fb9b63295229178903/frameset.htm
Cool !!!View other tutorials!________________________Submit a tutorial

>>