INCLUDE
ARTICLE
CHECK SELECT-OPTIONS Not Allowed
The construct SELECT-OPTIONS in the statement CHECK is not
allowed in ABAP Objects.
In ABAP Objects, the following syntax causes an error message:
CHECK SELECT-OPTIONS.
Correct syntax:
CHECK f IN seltab.
Reason:
This form of the statement CHECK is intended only for use during
the event GET during execution of executable programs with
logical databases . The statement
checks whether the content of the work area, which was filled by the
logical database for the current GET event, meets the conditions
in all the selection tables that are
connected with the current node in the logical database. The name of the
node is taken statically from the next highest GET statement in
the ABAP program. Thus the statement does not make sense outside of an
GET event block. However, the previous event concept of the
ABAP runtime environment , that is,
the previous way of processing logical databases, is not supported by
ABAP Objects.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved