SAP StackFICOHRMMSDPMPSABAPNetWeaverTablesTcodes ☰MENU

IMPORT & EXPORT from ABAP memory

IMPORT and EXPORT statements in ABAP programming are used for Reading and writing the data objects in the data cluster of ABAP memory of the current internal session. This statement can also use with cluster database tables and shared buffer of the tables. Here we are going to look at these statements with ABAP memory.

EXPORT statement for ABAP memory

EXPORT statement is used for writing the data objects in ABAP memory from our ABAP programs. It stores the data as a cluster in memory of the current internal session.

Syntax

EXPORT <f1> [FROM <g 1>] <f 2> [FROM <g 2>] … TO MEMORY ID <key>.

IMPORT statement for ABAP memory

IMPORT statement is used for reading the data objects stored in ABAP memory from our ABAP program.

Syntax:

IMPORT <f1> [TO <g 1>] <f 2> [TO <g 2>] … FROM MEMORY ID <key>.

See the sample programs

Sample program for EXPORT

Sample program for IMPORT

Also Read : View Other ABAP Keywords & Syntax -> ABAP Transaction codes

SAP ALECRMSCMSRMSAP Solutions SAP ReferencesSAP BasicsPP ModuleWMSAP Partners
HomeContact & Privacy PolicyTwitter
All of the product names here are trademarks of their respective companies. The site sapstack.com is not affiliated with SAP AG.
©2018 sapstack.com