Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  User Dialogs →  Selection Screens →  Create Selection Screens →  SELECTION-SCREEN →  SELECTION-SCREEN INCLUDE 

SELECTION-SCREEN INCLUDE PUSHBUTTON

Short Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


SELECTION-SCREEN INCLUDE PUSHBUTTON [/]pos button_text 
                                   [USER-COMMAND fcode]
                                    [MODIF ID modid]
                                    [ID id].

Effect

The PUSHBUTTON addition creates a pushbutton on the current selection screen. You must specify a name for button_text that has already been used to create a pushbutton with a SELECTION-SCREEN PUSHBUTTON statement on a previous selection screen. You cannot specify the name of a text symbol. The content of the global variable button_text that was generated for the original selection screen is used as the text for the new pushbutton.

The additions have the same meaning as in the SELECTION-SCREEN PUSHBUTTON statement. If USER-COMMAND is not specified, the function code from 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 button_text can be used by several selection screens at the same time.