10-08-2008 10:35 AM
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
10-08-2008 10:42 AM
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
10-08-2008 11:27 AM
Hi,
Actually I have internal table data in a method of the class. So can we use like you said ?
thanks,
ram