How to export an internal table to another report while submitting ..
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,
Rich Heilman replied
You can do this using the EXPORT and IMPORT statements.
In your first program, before submitting the second program, export it to memory.
export it_data = it_data to memory id 'ZTESTRICH'.
In you submitted program, import it.
import it_data = it_data from memory id 'ZTESTRICH'.