Application Development and Automation 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: 
Read only

using export-import

Former Member
0 Likes
323

hi all,

Please tell me how to use import and export parameters.

I have an integer value which I need to export from one include in a function group and import in another include in the same function group. How do I do it ??

thx..

paul

2 REPLIES 2
Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
301

Hi,

Use export [variable name] to memory id 'x1'.

and import [variable name] to memory id 'x1'.

Remember use the import,export parameters in the same program only....

Mean in the same abap memory...

If u use the memory id in out of context, then abap memory will get cleared..

cheers,

Simha.

Read only

Former Member
0 Likes
301

Its simple

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/content.htm

EXPORT number TO MEMORY ID 'numvalue'.

In your second program

IMPORT NUMBER FROM MEMORY id 'numvalue'.

Regards,

Ravi

note - Please mark all the helpful ansewrs