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
Here you can find examples and sample programs related to ABAP Report Programs, ALV Grid/List Programs, BDC, HR ABAP, Function Modules, BAPIs, BADIs, Smartforms, SapScripts, etc.
Google Search - Blog...........
Showing posts with label export l_char l_num to memory id 'TEST'. Show all posts
Showing posts with label export l_char l_num to memory id 'TEST'. Show all posts
Subscribe to:
Posts (Atom)