ABAP Keyword Documentation → ABAP - Reference → program editing → Dynamic Program Editing → text element → READ TEXTPOOL
READ TEXTPOOL - Internal addition
Other versions: 7.31 | 7.40 | 7.54
This addition is for internal use only. It must not be used in application programs.
Addition
... STATE state
Effect
Text elements in the repository
can have the status active or inactive. The
addition STATE
determines which status is used when the text elements of
the program prog
are read. state
can have the
values "A" (for active) and "I" (for inactive).
Without the STATE
addition, "I" is used implicitly for the inactive text elements of the current user and "A" is used for all other text elements.
If the state inactive is specified for state
,
this is used for the text elements of the current user and active is used for all other text elements.
Exceptions
Non-Catchable Exceptions
-
Cause:
state
has a value other than "A" oder "I".
Runtime Error:INSERT_REPORT_ILLEGAL_STATE