*&---------------------------------------------------------------------*
*& Report Z_EXPORT_MEMORY
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
report z_export_memory.
data:it_lfa1 like table of lfa1 with header line,
memory_id(3) value 'shi'.
select *
into table it_lfa1
up to 10 rows
from lfa1.
export itab1 = it_lfa1 to memory id memory_id.
free:it_lfa1.
import itab1 = it_lfa1 from memory id memory_id.
write:'the_memory_id is :' ,memory_id.
skip 2.
loop at it_lfa1.
write:/ it_lfa1-lifnr,it_lfa1-name1.
endloop.
abap 内存
最新推荐文章于 2024-07-16 16:25:10 发布