ABAP Keyword Documentation → ABAP - Reference → Processing External Data → Data Clusters
EXPORT
Other versions: 7.31 | 7.40 | 7.54
Syntax
EXPORT parameter_list TO
medium [COMPRESSION {ON|OFF}].
Addition
Effect
This statement saves a data
cluster defined using parameter_list
in a memory medium 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 memory medium using the
statement IMPORT
and deleted using DELETE FROM
.
All data objects are archived according to the current
byte 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.
Addition
... COMPRESSION {ON|OFF}
Effect
This addition specifies whether or not the data in the data cluster is compressed. By default, compression
is deactivated for all memory media 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.
Note
When a data cluster is imported using IMPORT
, the system automatically recognizes whether or not the data is compressed.