Google Search - Blog...........

Export And Import Data From Memory.

REPORT ztest.


start-of-selection.

perform export_data .

perform import_data.

*&---------------------------------------------------------------------*
*& Form export_data
*----------------------------------------------------------------------*
form export_data .

data: l_char type char10,
l_num type i.

l_num = 110.
l_char = 'test'.

export l_char l_num to memory id 'TEST'.

endform. " export_data
*&---------------------------------------------------------------------*
*& Form import_data
*----------------------------------------------------------------------*
form import_data .

data: l_char type char10,
l_num type i.

import l_char l_num from memory id 'TEST'.

write:/ l_char, l_num.

endform. " import_data

No comments:

Post a Comment