Skip to content

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

SELECTION-SCREEN INCLUDE PUSHBUTTON

Quick Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


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

Effect

The addition PUSHBUTTON creates a pushbutton on the current selection screen. button_text expects a name already used to create a pushbutton using the statement SELECTION-SCREEN PUSHBUTTON on a previous selection screen. The name of a text symbol cannot be specified. 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 statement SELECTION-SCREEN PUSHBUTTON. If USER-COMMAND is not specified, the function code from the original selection screen is applied.

The addition ID can only be used in a selection include for a logical database.


Note

The addition INCLUDE in this variant ensures that the global variable button_text can be used by multiple selection screens at the same time.