Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing data in another program

Former Member
0 Kudos
100

Hi,

I have a program that calles an include program. I need to pass the values in this include program to the main program. Any idea about how to do this?

Thanks

Lilan

1 ACCEPTED SOLUTION

Former Member
0 Kudos
78

use EXPORT and IMPORT statement

EXPORT ITAB to memory id 'MID'.

IMPORT ITAB FROM memory id 'MID'.

2 REPLIES 2

Former Member
0 Kudos
79

use EXPORT and IMPORT statement

EXPORT ITAB to memory id 'MID'.

IMPORT ITAB FROM memory id 'MID'.

Former Member
0 Kudos
78

Hi ,

I think you can use the ABAP memory or the SAP memory for this.

ie use the SET / GET parameter commands.

Check the help in abap program for syntax.

Regards,

Sunmit