Application Development 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: 

EXPORT

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

0 Kudos

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.

kesavadas_thekkillath
Active Contributor
0 Kudos

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.