SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Obsolete Language Elements → Obsolete Processing of External Data → Obsolete Access to Data Clusters →
IMPORT - obs_id
Obsolete Syntax
... MAJOR-ID id1 [MINOR-ID id2] ... .
Effect
Outside of classes, you can replace the ID addition in the IMPORT FROM DATABASE statement with these additions when importing database tables. When you specify id1 and id2, the same rules apply as for id.
The data cluster with
an ID in which the first part matches the value of id1 is imported. If
MINOR-ID id2 is also specified, the data cluster with an ID in which the second part (in the
positions after the number of characters specified in id1) is larger or equal
to the value of id2 is imported. The search ends once the first matching ID is found.
Notes
Example
If a data cluster was exported with the ID "Sausage", this record is found if "Sau" is specified as MAJOR-ID. It is also found if you additionally specify "ab" as MINOR-ID, but is not found if you specify "yz" as MINOR-ID.