Önceki Sayfa

SAP ABAP Programming, Functional and Basis Component Reference Books

Passing data from one ABAP program to another

1. You have to define an internal table ITAB in program AAA.

2. In the program AAA you export your ITAB to the memory.
EXPORT ITAB TO MEMORY ID 'TD' (ID is the name of memory, you don't need to create it ).

3. In program BBB you have to declare The same table (same table's name and same fields).

4. In BBB you can import ITAB :
IMPORT ITAB FROM MEMORY ID 'TD'

5. Now you can export it to AAA after modifications.
EXPORT ITAB TO MEMORY ID 'TD'

6. In AAA :
IMPORT ITAB FROM MEMORY ID 'TD'

This solution is independant to SUBMIT.

Copyright © 2010. KM Group. All Rights Reserved.