... {p1 = dobj1 p2 = dobj2 ...}
| {p1 FROM dobj1 p2 FROM dobj2 ...}
| (ptab) ... .
1. ... p1 = dobj1 p2 = dobj2 ...
2. ... p1 FROM dobj1 p2 FROM dobj2 ...
3. ... (ptab)
A data cluster can be defined statically
by a list p1 = dobj1 p2 = dobj2 ... or p1 FROM dobj1
p2 FROM dobj2 ... and dynamically through specification of a bracketed internal table
ptab. If the data cluster is too big for the memory, an exception will be raised.
To export objects, which are referenced by reference variables, use the statement
CALL_TRANSFORMATION to serialize and export these objects if the class of these objects implements the interface IF_SERIALIZABLE_OBJECT.
... p1 = dobj1 p2 = dobj2 ...
... p1 FROM dobj1 p2 FROM dobj2 ...
In case of a static export, the content of the data object dobj is stored under the name p in the cluster. The name of a parameter p can contain 255 characters at maximum. The spellings p1 = dobj1 p2 = dobj2 ... and p1 FROM dobj1 p2 FROM dobj2 ... are synonymous. You can use all data types except reference types for the data object dobj or data types that contain reference types as components. If a data object dobj is an internal table with a header line, then not the header line is addressed, but the table body.
Outside classes and if the name does not contain addressing information such as an
instance component selector or an
offset / length specification,
you can use the short form dobj1 dobj2 ... for the static variant. In doing so, all data objects are implicitly stored under their name in the data cluster.
... (ptab)
In the dynamic case the parameter list is specified in an index table ptab with two columns. These columns can have any name and have to be of the type "character". In the first column of ptab, you have to specify the names of the parameters and in the second column the data objects. If the second column is initial, then the name of the parameter in the first column has to match the name of a data object. The data object is then stored under its name in the cluster. If the first column of ptab is initial, an uncatchable exception will be raised.
Outside of classes you can also use a single-column internal table for parameter_list
for the dynamic form. In doing so, all data objects are implicitly stored under their name in the data cluster.