DELETE TEXTPOOL

DELETE - Delete text elements


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

Addition:

... STATE state

Effect

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.

Example

Delete all text elements of the program PROGNAME in the language "English":

DATA: PROGRAM LIKE SY-REPID VALUE 'PROGNAME'. 
 
DELETE TEXTPOOL PROGRAM LANGUAGE 'E'.

Note

This addition is only intended for internal use. SAP may make incompatible changes at any time and without warning!

Effect

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.

INSERT_REPORT_ILLEGAL_STATE: state has a value other than A or I.

Related

INSERT TEXTPOOL, READ TEXTPOOL