This statement is for internal use only.
Incompatible changes or further developments may occur at any time without warning or notice.
DELETE REPORT prog.
... STATE state
Deletes some components (source code, attributes, text elements and generated version) of the program
specified in the field prog.
The Return Code is set as follows:
This statement deletes neither the variants nor the documentation.
Normally, you should use the function module RS_DELETE_PROGRAM to delete a program.
... STATE state
You can save programs in the library either as 'active' or as 'inactive'. This addition determines the
state of the program affected when you delete the program prog.
state may have the values A
(active) or I (inactive). Inactive programs are only visible to the person currently editing them. All other users work with the active version.
The ABAP Workbench allows you to define a set of programs
being worked on by each user. These programs are saved as 'inactive' until they are activated. If you
omit the STATE addition, the system assumes that this set of programs is 'inactive' and that all other programs have the state 'active'.
Since this set is only available at short notice within the transactions in the ABAP development environment,
you can be sure that all other programs that use the DELETE REPORT
statement without the STATE addition always delete active report programs.
Non-Catchable Exceptions