‎2009 Nov 18 5:07 AM
Hi,
I wish to export an internal table to a memory id and retrieve it later. The internal table has two columns and would not contain more than 99 rows at any time. I tried using EXPORT but i'm not sure how to manipulate it.
Kindly help me.
Thanks.
‎2009 Nov 18 5:11 AM
Hi Do the following for Exporting table to memory.
EXPORT IT to MEMORY ID ' ANY NAME '.
later on in another report
IMPORT IT from MEMORY ID ' ANY NAME'.
Here
IT - Internal table which should be same type in both the programs.
ANY NAME - Should be same in both the programs.
‎2009 Nov 18 5:11 AM
Hi Do the following for Exporting table to memory.
EXPORT IT to MEMORY ID ' ANY NAME '.
later on in another report
IMPORT IT from MEMORY ID ' ANY NAME'.
Here
IT - Internal table which should be same type in both the programs.
ANY NAME - Should be same in both the programs.
‎2009 Nov 18 5:15 AM
Hi,
Do you know how to export using SET PARAMETER / GET PARAMETER since EXPORT gives a slin check error. Could we use SET PARAMETER / GET PARAMETER to export an internal table?
Thanks.
‎2009 Nov 18 5:20 AM
get and set parameters are used for single values onlu not suitable for internal table data...
Imp. pt. with IMPORT and EXPORT this is LUW specific, i.e. the Import and export need to be done before the LUW is closed.
‎2009 Nov 18 5:21 AM
rep1
EXPORT t_vbkpf TO MEMORY ID MEM1.
rep2.
IMPORT t_vbkpf = t_vbkpf FROM MEMORY ID MEM1.
FREE MEMORY ID MEM1.
the name , structure of internal table ,memory id name must be same.
For more details see f1 help.