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

Import Internal Table

Former Member
0 Likes
353

Hi guys...

How can I import a internal table in a method of Badi?

For example:

I have the itab_ekpo that I export to memory in a especific program and need to import this table.

Hw can I do this in a method ?

tks

flavio

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
322

Hi,

If the table data is filled in same session and BADI is called is in same session then you use simple EXPORT TO MEMORY-ID and IMPORT TO MEMORY-ID statement.

Else if both are done in different session then use EXPORT using INDX table and IMPORT the DATABASE INDX in your BADI.

Please see the F1 documentation for the keyword help.

Regards,

SRinivas

2 REPLIES 2
Read only

Former Member
0 Likes
322

How would you do it in a FORM routine?

Read only

Former Member
0 Likes
323

Hi,

If the table data is filled in same session and BADI is called is in same session then you use simple EXPORT TO MEMORY-ID and IMPORT TO MEMORY-ID statement.

Else if both are done in different session then use EXPORT using INDX table and IMPORT the DATABASE INDX in your BADI.

Please see the F1 documentation for the keyword help.

Regards,

SRinivas