cancel
Showing results for 
Search instead for 
Did you mean: 

suggest best approach for requirement

Former Member
0 Kudos

Hi Experts,

One client is providing below format of data from 3rd party application where each record is keep on changing.

And want this in to SAP - BAPI or RFC

Please suggest best approach ?

<?xml version="1.0"?>
<DATA>
<RECORD>
<InvoiceNumber>GA1081</InvoiceNumber>
<InvoiceDate>2012-03-21</InvoiceDate>
<InvoiceValue>2345</InvoiceValue>
</RECORD>
<DETAILS>
    <Emp_ID>000167</Emp_ID>
<Emp_Code>PG01012</Emp_Code
  <Wage_Type>204</Wage_Type>
<Begin_Date>20120310</Begin_Date>
<End_Date>20120328</End_Date>
</DETAILS>
<Address>
<AddressLine1>India,P.O.BOX 253</AddressLine1>
  <CityName>KHARTOUM</CityName>
  <CountryCode>SD</CountryCode>
  <CountryName>SUDAN</CountryName>
</Address>
</DATA>

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Dear Anshul,

                  You can create webservice using SOAP adapter on the sender side and provide WSDL to the third party. On the receiver side you can use RFC to save the information in SAP.  Since you are using RFC, this requirement seems synchronous.  So basically you will create SOAP to RFC synchronous scenario. Whenever the record change happens then the third party sends the information of record via webservice and so PI mediate that message to ECC via RFC adapter.

The scenario is simple to create. Sender side create as usual data types, message types and service outbound interface. Similary use the RFC to construct target structure. After that, configure Integration Directory objects. Then create WSDL and share it to the third party system to use your webservice that is hosted via SOAP sender.

Please refer this link for soap sender adapter

http://www.riyaz.net/sap/xipi-a-guide-to-using-sap-xi-soap-adapter/113/

refer this link for the RFC receiver adapter

http://www.riyaz.net/sap/understanding-the-rfc-adapter/42/

Hope answered your question.

Answers (0)