cancel
Showing results for 
Search instead for 
Did you mean: 

Logic : XML file into R3 system through PI

Former Member
0 Kudos

Hi Experts,

I have XML file ( below) from 3rd party and through PI want to update in R/3 system.

Which scenarios suits accordingly ? If I fo for File to Idoc , below fields are not in one Idoc.

Please suggest ?

<RECORD>

<INVOICE_NO> 001 </INVOICE_NO>

<ITEM_NO> FGK098</ITEM_NO>

<QUANTITY>1000</QUANTITY>

<UNIT_PRICE>00010</UNIT_PRICE>

<TOTAL_AMOUNT>1000000</TOTAL_AMOUNT>

<DATE>20101218</DATE>

<CST>4</CST>

<VAT>7</VAT>

<ADDVAT>7</ADDVAT>

<SURCHARGE>9</SURCHARGE>

<SERVICE_TAX>4</SERVICE_TAX>

<EDU_TAX>12</EDU_TAX>

<HIGHEDU_TAX>13</HIGHEDU_TAX>

</RECORD>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Go for FIle->XI->Proxy scenario.

Thanks

Ravi

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Sender: File adapter

Target: Server proxy

Scenario is File --> ABAP Server Proxy.

Since you are going to handle huge volume of data, Proxy might be better choice than idoc.

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi,

first you have talk with third party people how they are going to provide data , like if they are going to place data in to FTP then use File adapter in sender side to pick up the data, else you have to talk with them to get know they will support web service calls or any other way, it is purely depening on third party people.

second, when you want to update data in to R/3 , you or functional team have to identify which IDoc/bapi can hold these values,if you identify any IDoc then go with receive side IDoc adapter else if any BAPI found go with RFC.

if you are going to handle huge data then go with ABAP inbound Proxy.

better to talk witn your SAP PI Architect he will help you to go with good design.

Regards,

Raj

Former Member
0 Kudos

Thanks Raj,

3rd party is providing me XML which I can read easily through File Sender

Adapter. And Shown input data can be huge i.e multiple times.

If I go for BAPI/Idoc, It is not holding all input fields.

Thanks.

rajasekhar_reddy14
Active Contributor
0 Kudos

>

> 3rd party is providing me XML which I can read easily through File Sender

> Adapter. And Shown input data can be huge i.e multiple times.

>

if they are going to place file in FTP as a XML file go with File adapter.

> If I go for BAPI/Idoc, It is not holding all input fields.

>

You have to find IDoc/BAPI, better to talk with functional Team or ABAPer they help you.

as you mentioned huge data then go with ABAP proxy, you required help from ABAPer.

Regards,

Raj