ABAP Keyword Documentation → ABAP - Reference → User Dialogs → Selection Screens → Create Selection Screens → SELECTION-SCREEN → SELECTION-SCREEN INCLUDE
SELECTION-SCREEN INCLUDE COMMENT
Other versions: 7.31 | 7.40 | 7.54
Syntax
SELECTION-SCREEN INCLUDE COMMENT [/]pos text
[FOR FIELD sel]
[MODIF ID modid]
[ID id].
Effect
The COMMENT addition creates an output field on the current
selection screen.
You must specify a name for text that has already been used in a previous
selection screen to create an output field with a
SELECTION-SCREEN COMMENT statement. You cannot specify the name of a
text symbol. The new output field represents the content of the global text variables already generated for the original selection screen.
The additions have the same meaning as in the SELECTION-SCREEN COMMENT statement.
If FOR FIELD is not specified, the assignment of the original selection screen is copied.
The ID addition can only be used in a selection include for a
logical database.
Note
The INCLUDE addition in this variant ensures that the global variable text can be used by several selection screens at the same time.