‎2006 Jul 13 12:32 PM
Hi all,
IMPORT AFRUD_TAB FROM MEMORY ID 'ZCVS_AFRUD_CONF' .
FREE MEMORY ID 'ZCVS_AFRUD_CONF' .
I found from the above ID, table control screen in imported to the current pgm duting execution.
How to find the Memory-Id from where its picking?
‎2006 Jul 13 12:33 PM
‎2006 Jul 13 12:42 PM
Hi Ravi,
You can use this programs to search 'ZCVS_AFRUD_CONF' where being used in another program (export).
RSRSCAN1
RPR_ABAP_SOURCE_SCAN
RKCTSEAR
Hope this will help.
Regards,
Ferry Lianto
‎2006 Jul 13 12:43 PM
Hai Ravi
Check the following Code
Program 1
report zImport_0001.
data: itab type table of string with header line.
field-symbols: <fs> type table.
itab = 'This is the line 1'. append itab.
itab = 'This is the line 2'. append itab.
assign itab[] to <fs>.
export <fs> to memory id 'ZRICHTEST'.
submit zrich_0002 and return.
Program 2
REPORT zImport_0002 .
data: itab type table of string with header line.
field-symbols: <fs> type table.
data: wa type string.
assign itab[] to <fs>.
import <fs> from memory id 'ZRICHTEST'.
loop at <fs> into wa.
write:/ wa.
endloop.
Regards
Sreeni