Get Example source ABAP code based on a different SAP table
Standard SAP Help for EXPORT
EXPORT
Short Reference • EXPORT cluster ABAP Statement • TO EXPORT cluster
ABAP Syntax EXPORT parameter_list TO medium [COMPRESSION {ON|OFF}].
ABAP Addition ... COMPRESSION {ON|OFF}
What does it do? This statement saves a data cluster defined using parameter_list in a memory area medium. The addition COMPRESSION can be used to specify whether the data is stored in the cluster in compressed form. A data cluster can be retrieved from the storage area using the statement IMPORT and deleted using DELETE FROM.
All data objects are archived according to the currentbyte order (endian) and character-like data objects according to the character format of the current text environment. The ID of the data cluster indicates which byte order and character format have been used during the export. When the data cluster is imported using the IMPORT statement, this ID is evaluated and the data is converted to the current byte order and character format.
Latest notes:See also Classes for Data Clusters . • COMPRESSION ON EXPORT cluster • COMPRESSION OFF EXPORT cluster
ABAP Addition
What does it do? This addition specifies whether or not the data in the data cluster is compressed. By default, compression is deactivated for all memory areas apart from medium database tables. If compression is required, it must be switched on using ON. If stored in a database table, compression is switched on by default and is only switched off if OFF is specified.
Latest notes:When a data cluster is imported usingIMPORT, the system automatically recognizes whether or not the data is compressed.