Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to export an internal table to another report while submitting ..

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,


Former Member

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'.


Rich Heilman

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question