Incompatible changes or further developments may occur at any time without warning or notice.
... STATE state
Deletes some components (source code, attributes, text elements
and generated version) of the program specified in the field
This statement deletes neither the variants nor the
Normally, you should use the function module RS_DELETE_PROGRAM to delete a program.
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'.
The value of state is not A or I.