Skip to Content
0
Former Member
Jun 14, 2011 at 07:13 PM

xml to Idoc scenario

476 Views

Hi Gurus,

I got an interface

3rd party application<- PI<- sap

3rd party app->PI->SAP

1)PI has to perform HTTP get for every half an hour to send the request to 3rd party application and get the response in xml format into XI

2)PI has to transform the xml document to Idoc and post the idocs in SAP system.

3)If the errors occured while posting raise alerts...

Please tell me if Im wrong.

to achieve 1st objective

I m using client proxies to send the message request from sap to PI which will send the request to the 3rd party application using HTTP adapter.Outbound Interface and Inbound interface is synchronous in this case

The response is coming from 3rd party application in xml format and sent to SAP where the xml is converted to ABAP objects

to achieve 2nd objective

I developed interface to map xml document to idoc and post in sap system.

im using sender soap adapter with asynchrous interface and idoc receiver adapter.

im defining the webservice in PI and calling the webservice from SAP system in the ABAP report.

Can you please tell if there is any alternate solution for linking this 1 and 2 interface as a whole.