DELETE REPORT

DELETE - Delete a program


Incompatible changes or further developments may occur at any time without warning or notice.

Addition:

... STATE state

Effect

Deletes some components (source code, attributes, text elements and generated version) of the program specified in the field prog.

Note

This statement deletes neither the variants nor the documentation.
Normally, you should use the function module RS_DELETE_PROGRAM to delete a program.

Effect

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'.

INSERT_REPORT_ILLEGAL_STATE:

The value of state is not A or I.

Related

INSERT REPORT