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

problem in export and import

Former Member
0 Likes
436

Hi friends,

I have a requirement .

i have value in the field callled ZTAX-ADDC

ZTAX is the table name and ADDC is the fieldname.

Now i need to pass that value to memory id. and later in onother program i need to import that value.

can any one tell me how should i do it using EXPORT and IMPORT.

Regards,

Priyanka.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
416

Hi,

try this

import zabc to zabc from memory id '123'.

export zabc from zabc to memory id '123'.

2 REPLIES 2
Read only

Former Member
0 Likes
417

Hi,

try this

import zabc to zabc from memory id '123'.

export zabc from zabc to memory id '123'.

Read only

Former Member
0 Likes
416

Hi priyanka jain,

Please have a look at below sample code...

Program A :

SELECT-OPTIONS: S_BELNR FOR BKPF-BELNR.

EXPORT S_BELNR TO MEMORY ID 'ZXC9'.

Program B :

DATA: BEGIN OF S_BELNR OCCURS 10.

INCLUDE STRUCTURE STRUC1.

DATA: LOW LIKE BKPF-BELNR,

HIGH LIKE BKPF-BELNR.

DATA: END OF S_BELNR.

IMPORT S_BELNR FROM MEMORY ID 'ZXC9'.

For EXPORT: http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/export01.htm

For IMPORT: http://www.geocities.com/siliconvalley/campus/6345/import01.htm

Hope it will solve your problem..

Thanks & Regards

ilesh 24x7