04-05-2006 2:19 PM
Hi ,
I have 2 reports ZR1 and ZR2 . Both contains an Internal table with same structure IT_DATA. After the output of ZR1 comes,I am submitting ZR2 at a click event. The requirement is to pass the data from IT_DATA from ZR1 to IT_DATA of ZR2 while submitting ZR2.
Hope that the requirement is clear.
Thanks & regards,
Shankar
04-05-2006 2:22 PM
04-05-2006 2:22 PM
Hi
You have to use IMPORT/EXPORT statament
REPORT ZREPORT1.
DATA: ITAB LIKE .....
EXPORT ITAB TO MEMORY ID 'ZZZ'.
SUBMIT ZREPORT2.
REPORT ZREPORT2.
DATA ITAB LIKE
INITIALIZATION.
IMPORT ITAB FROM MEMORY ID 'ZZZ'.
Max
Message was edited by: max bianchi
04-05-2006 2:22 PM
04-05-2006 2:25 PM
Hi,
It can be done with the help of Import/Export parameters.
rgds
Rakesh
04-05-2006 2:29 PM
Hello,
IN ZR1,
EXPORT itab = itab to memory id 'ZTEST'.
SUBMIT ZR2.
IN ZR2,
IMPORT itab = itab from memory id 'ZTEST'.
Regards,
Naimesh