ABAP Keyword Documentation → ABAP - Reference → Processing External Data → Data cluster
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 area medium
.
You can use the COMPRESSION
addition to specify whether the data is stored
in the cluster in compressed form. You can retrieve a data cluster from the storage area using the
IMPORT
statement and delete a data cluster 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 areas apart from
medium database tables. If compression is required, it must be switched on using ON
.
When storing in a database table, compression is switched on by default and is only switched off if you specify OFF
.
Note
When a data cluster is imported using IMPORT
, the system automatically recognizes whether or not the data is compressed.