‎2008 Nov 28 12:19 PM
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.
‎2008 Nov 28 12:23 PM
Hi,
try this
import zabc to zabc from memory id '123'.
export zabc from zabc to memory id '123'.
‎2008 Nov 28 12:23 PM
Hi,
try this
import zabc to zabc from memory id '123'.
export zabc from zabc to memory id '123'.
‎2008 Nov 28 12:33 PM
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