This statement is for internal use only.
Incompatible changes or further developments may occur at any time without warning or notice.
DELETE TEXTPOOL prog LANGUAGE lg.
... STATE state
All
text elements in the program, whose name is in the field prog
are deleted from the library in the specified language lg.
If you use the value '*' for lg, the text elements of all languages are deleted.
Delete all text elements of the program PROGNAME in the language "English":
DATA: PROGRAM LIKE SY-REPID VALUE 'PROGNAME'.
DELETE TEXTPOOL PROGRAM LANGUAGE 'E'.
... STATE state
This addition is only intended for internal use. SAP may make incompatible changes at any time and without warning!
The STATE addition specifies whether the active or inactive
version of the text pool should be deleted. state may
take the values
A (active) or I
(inactive). Inactive text elements are visible only to the user currently editing them. All other users work with the active version.
In the ABAP Workbench, you can specify a set of objects
in editing for each user. These objects are inactive until the user activates them. If you omit the
STATE addition, the system assumes that you mean inactive for these objects, and active for all others.
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 TEXTPOOL
statement without the STATE addition always delete active report programs.
Non-Catchable Exceptions
INSERT TEXTPOOL, READ TEXTPOOL