ABAPDELETE_TEXTPOOL - DELETE TEXTPOOL
BAL Application Log Documentation BAL Application Log DocumentationThis documentation is copyright by SAP AG.
DELETE TEXTPOOL
This statement is for internal use only.
It must not be used in application programs.
Syntax
DELETE TEXTPOOL prog LANGUAGE lg.
Addition:
Effect
All textelements 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'.
Addition
... STATE state
Effect
The STATE addition specifies whether the "active" or "inactive" version of the text pool shouldbe deleted. state can have the value "A" (for active) or "I" (for inactive). "Inactive"text elements are visible only to the user currently editing them. All other users work with the "active" version of the text elements.
In the ABAP development environment, you can specify a set of objects (for example, text elements) inediting for each user. These objects are saved as inactive until the user activates them. If you omit the STATE addition, this set of objects is saved as inactive, while all other objects are saved as active.
Since this set is only temporarily available within thetransactionsin 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.
Exceptions
Non-Catchable Exceptions
- Cause: state has a value other than "A" or "I".
Runtime Error: INSERT_REPORT_ILLEGAL_STATE
CPI1466 during Backup Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 2805 Date: 20120522 Time: 050406 triton ( 56 ms )






