03-11-2009 7:52 AM
i have transported a value from a progra to another by using a memory id through export/import. however i can not import the value to a parameter.
the syntax is:
PARAMETER: var type c MEMORY ID memid01.
is this not right?
03-11-2009 7:57 AM
Hi Ian,
try below
initialization.
import gv_value = gv_value from memory id 'PARAMETER'.
move gv_value to p_var. "p_var is your paramter.
all the things should be done in INITIALIAZAION
hope it works.
Thanks!
03-11-2009 7:57 AM
Hi Ian,
try below
initialization.
import gv_value = gv_value from memory id 'PARAMETER'.
move gv_value to p_var. "p_var is your paramter.
all the things should be done in INITIALIAZAION
hope it works.
Thanks!
03-11-2009 9:00 AM
03-11-2009 7:57 AM
Please [check this|http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/frameset.htm]
03-11-2009 8:08 AM
REPORT zexport.
DATA var TYPE char20 VALUE 'HELLO'.
EXPORT para = var TO MEMORY ID 'PARA'.
REPORT zimport.
PARAMETER var(20) TYPE c.
INITIALIZATION.
IMPORT para = var FROM MEMORY ID 'PARA'.