sapdev logo background
sapdev logo sapdev logo
Comments

ABAP EXPORT IMPORT OBSOLETE Statement syntax, information and example SAP source code



Return to Statement index



EXPORT, IMPORT - Short Form of Parameter List
ABAP Syntax(Obsolete) EXPORT dobj1 dobj2 ... TO medium [COMPRESSION {ON|OFF}].

IMPORT dobj1 dobj2 ... FROM medium [
conversion_options ].

What does it do? If the short form used in the parameter lists of the EXPORT or IMPORT statements is

dobj1 dobj2 ...

instead of

p1 = dobj1 p2 = dobj2 ...

or

p1 FROM|TO dobj1 p2 FROM|TO dobj2

the name of the specified data object is implicitly used when the pararameters in the cluster are stored and searched for.
This short form is possible only outside of classes and also only when the name does not address an instance component selector or offset/length declaration , for example.
The short form is error-prone since the current names are used as IDs for the data stored. When clusters are imported in another context, the names of the exporting context must be known and identically declared.
Latest notes: For the dynamic declaration of the parameter list in an internal table ptab , the short form outside of classes is still supported through specification of a one-column table. This is as obsolete as the static short form.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




EXPORT_IMPORT_MEM_ID_OBSOLETE
EXPORT_IMPORT_TABLES_AREA




comments powered by Disqus