SAP EXPORT IMPORT TABLES AREA ABAP Statements

Get Example source ABAP code based on a different SAP table
  



EXPORT, IMPORT - dbtab
• EXPORT - dbtab ABAP Statement
• IMPORT - dbtab ABAP Statement

ABAP Syntax(Obsolete)TABLES dbtab.
...
EXPORT parameter_list
TO DATABASE|{SHARED MEMORY}|{SHARED BUFFER} [CLIENT cl] ID id
[COMPRESSION {ON|OFF}].
...
IMPORT parameter_list
FROM DATABASE|{SHARED MEMORY}|{SHARED BUFFER} [CLIENT cl] ID id
[conversion_options].

What does it do? If the FROM wa or TO wa addition is not specified when data is exported or imported with the database table or shared memory, the ABAP runtime environment attempts to transport the components between SRTF2 and CLUSTR of the table work area declared with TABLES dbtab. If the table work area is not found, these components are not transported.

Latest notes:In any case, table work areas cannot be used in global classes. In local classes of programs except class pools, the implicit mechanism affects table work areas of the framework program. The implicit use of table work areas is obsolete, which means that the short forms shown here should no longer be used for data transports. Instead, FROM wa and TO wa must be specified explicitly if the components between SRTF2 and CLUSTR are to be written or read.

Return to menu