Skip to Content
author's profile photo Former Member
Former Member

RFC comparing Purchase Order from server D10 and compare the PO E10 server

Hi Gurus,

I want to fetch data of Purchase order from D10 system client 058 and compare whether the same Purchaser order is also present in E10 system clilent 078.

Please send me the sample code how to retrieve the code from different servers using RFC. I am new to RFC, please guide me same code.

Regards,

Prasad

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Jan 30, 2008 4:24 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 03:45 PM

    Hi,

    I think you need to be clear of what an RFC means and what it does. RFC means it is remote enabled. It cannot talk to anotehr system directly..

    U need to go with interfacse that is either IDOCs or LSMW.

    U can use RFC FMs or BAPIs for teh same.

    Regarsd,

    theja.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 30, 2008 at 11:26 PM

    Hello Arza

    You can use BAPI BAPI_PO_GETDETAIL to retrieve the PO data from the two (remote)systems.

    During an important migration project I had to compare whether the PO data were the same on the old and new SAP system.

    For this purpose I used the BAPI to retrieve the PO data, initialized all data of which I new they would differ between the old and the new system (e.g. time stamps, date, time).

    Next I defined a complex structure which contained all PO data that I wanted to compare.

    Each PO gave one record which I collected into an itab.

    Finally I transformed the itab data into a single XML file for the data from the old and the new system. Then I took an XML editor (e.g. Oxygen) and made a diff analysis of the two XML files which showed me every difference.

    This way I was able to compare thousands of PO's within a few hours.

    Regards

    Uwe

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.