Calling a report into another report
I want to call report2(ALV) containg output table ITAB into report 1. How to write SUBMIT statement for this and how to bring ITAB into report1 from report2.Please help.
Nareshkumar Patel replied
For this requirement you have to export your internal table into memory id for temporary storage.
Use following code:
from report 2 :
EXPORT ITAB TO MEMORY ID 'XYZ'.
now in report 1 you need this ITAB so write the follwing code.
IMPORT ITAB FROM MEMORY ID 'XYZ'.
"XYZ' - you can give any name for memory id.
Condition: in both the reports the ITAB should be of same type.