ABAP Keyword Documentation → ABAP - Reference → program editing → Dynamic Program Editing → Screen → Internal Statements for Editing Dynpros
DELETE DYNPRO
Other versions: 7.31 | 7.40 | 7.54
This statement is for internal use only. It must not be used in application programs.
Syntax
DELETE DYNPRO f.
Effect
The screen that has the name specified in field f is deleted.
System Fields
| sy-subrc | Meaning |
|---|---|
| 0 | The screen was deleted. |
| 4 | The screen does not exist. |
The content of f consists of the 40 character program name and the four character screen number.
Example
DATA DYNPRONAME(44) VALUE 'SAPTEST'.
DYNPRONAME+40 = '0100'.
DELETE DYNPRO DYNPRONAME.