Generating ABAP reports using data from two different systems

Generating ABAP reports using data from two different systems

We have two different systems running on two different machines due to our two different product businesses. Now we need to run an ABAP report on one of the systems, but the results must contain data from both systems. Have this been done, if so, how? What should we do?


    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Write a function module on one of your instances to get the data. Make sure that it is RFC enabled in the attributes screen. Copy the function module over to the the other instance.

Use SM39 to define your instances to each other as RFC destinations.

Write your report on one instance. Call the function module as normal to get the data for that machine. Then call the function module again, but with the addition DESTINATION dest, where dest is the RFC destination of your other machine. You now have the data from both systems.


This was first published in June 2002