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?
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.
Dig Deeper on SAP ABAP
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header. Continue Reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order. Continue Reading
An SAP user needs information on how to change the password on several SAP user accounts from a central location. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.