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: 

Import and Export in 4.6b

Former Member
0 Kudos

Hi All,

I have a syntax regarding Import and Export statements which are not working in 4.6b. Below is the statement.

IMPORT ID = (Internal Table) FROM DATA BUFFER ( String Variable ).

EXPORT ID = (Internal Table) TO DATA BUFFER ( String Variable ).

What can we have alternate to above statements ?

Actually I need to transfer or export some internal table content to String and Import the same data from string.

I am looking perticularly about buffer only. If not that what can we have alternate to that ?

Thanks,

Ram

2 REPLIES 2

Former Member
0 Kudos

Hi

You can try to use Field symbols also, for example

you need to code in the target program.

field-symbols <fs_itab> type standard table.

assign '(PROGRAMNAME)ITAB[]' TO <FS_ITAB>.

example, i did this in user exit

assign '(SAPMV50A)XLIPS[]' to <FS_ITAB>.

if <FS_ITAB> is assigned.

code will continue

make sure program name is in capital letters.

Regards

Madhan

0 Kudos

Hi,

Actually I have internal table data in a method of the class. So can we use like you said ?

thanks,

ram