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

Export & Import

Former Member
0 Likes
372

Hello Gurus,

I am having an internal table in one report.

I want to use this internal table in another report.

How will I do this???

Please help me.

Regards,

Roshan Lilaram.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
348

Hi,

program 1:

EXPORT t_sflight1 TO MEMORY ID 'SFLI'.

SUBMIT pgm2 AND RETURN.

program2:

IMPORT t_sflight1 FROM MEMORY ID 'SFLI'.

LOOP AT t_sflight1 INTO fs_string1.

where in use the same internal table in both reports

Reward Points If helpful.

Regards,

priya.

3 REPLIES 3
Read only

Former Member
0 Likes
349

Hi,

program 1:

EXPORT t_sflight1 TO MEMORY ID 'SFLI'.

SUBMIT pgm2 AND RETURN.

program2:

IMPORT t_sflight1 FROM MEMORY ID 'SFLI'.

LOOP AT t_sflight1 INTO fs_string1.

where in use the same internal table in both reports

Reward Points If helpful.

Regards,

priya.

Read only

Former Member
0 Likes
348

Hi,

First prog take type 'INCLUDE'.

Second prog take a 'EXECUTABLE'.

U can easly is use same interanal table use both reports.

Thanks,

SReddy.

Read only

Former Member
0 Likes
348

Hi Roshan

well icna use the Import And Export Concept but for that u have to define an similar internal table in the called Program now when u import the internal table in called program use this

internal table to get the data .

Cheers

Snehi Chouhan