Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  program editing →  Dynamic Program Editing →  Source Code →  READ REPORT 

READ REPORT - 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

Programs in the repository can be in an active or inactive state. The addition STATE determines which state is taken into account when reading the program prog. State can have the values "A" (for active) and "I" (for inactive). Without the STATE addition, "I" is implicitly used for all inactive programs of the current user, and "A" is implicitly used for all other programs.

If the state inactive is specified for state, this is assumed for the programs of the current user and the state active is used for all other programs.

Exceptions


Non-Catchable Exceptions

  • Cause: state has a value other than "A" or "I".
    Runtime Error: INSERT_REPORT_ILLEGAL_STATE