Skip to Content
avatar image
Former Member

Logic : XML file into R3 system through PI

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>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 29, 2010 at 06:31 AM

    Hi,

    Go for FIle->XI->Proxy scenario.

    Thanks

    Ravi

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 29, 2010 at 06:23 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 29, 2010 at 06:46 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • >

      > 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