sapdev logo background
sapdev logo sapdev logo
Comments

SAP SELECTION SCREEN OVERVIEW documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

Selection Screens - Overview

Selection Screens as Dynpros
Selection screens are special dynpros that can be defined in executable programs, function groups and module pools. Selection screens are defined in the global declaration section of the mentioned ABAP programs with the statements SELECT-OPTIONS ,
SELECTION-SCREEN and PARAMETERS without using the Screen Painter. The screens of selection screens can contain a subset of the screen elements of general dynpros.
Selection screens lie in the same namespace as the dynpros of the program. Additionally, dynpro number 1000 is reserved for a standard selection screen. Apart from the standard selection screen, standalone selection screens can also be defined. Standalone selection screens can only be defined in function groups and module pools.
When an ABAP program is activated, the components of the program selection screen, i.e. screens with screen elements and dynpro flow logic , are generated automatically.

Note
The generated dynpros cannot be edited directly, which also means that certain predefined settings cannot be disabled. For example, input fields are always templates in which certain characters ( "!" , "=" , "_" ) have special
functions .

Selection Screen Tasks
Selection screens essentially have two tasks:
  • They enable users to input parameters (single values) and selection criteria (interval selections in tabular form).

  • they represent the executable interface programs, whose input fields can be supplied by the calling program with SUBMIT

  • .

    GUI Status of Selection Screens
    The ABAP runtime environment sets a default GUI status and a default title for a selection screen. There is no guarantee that the statement SET PF-STATUS works at PBO for the selection screen. To define a separate GUI status for a selection screen or to deactivate the functions of the screen generated, one of the function modules RS_SET_SELSCREEN_STATUS or RS_EXTERNAL_SELSCREEN_STATUS can be used (in exceptional cases).
    The default title in the title bar of selection screens is the title of the program defined in the program attributes . This title can be overwritten as follows:
  • With the addition TITLE in the case of selection screens defined using SELECTION-SCREEN BEGIN OF SCREEN .

  • With the statement SET TITLEBAR at PBO in the case of standard selection screens.


  • Selection Screen Events
    No dialog modules for selection screens can be defined in the ABAP program. Instead, the runtime environment triggers specific events during PBO and PAI processing of the dynpro, which can be handled in corresponding event blocks during selection screen processing .

    Selection Screens and Logical Databases
    A standard selection screen can also be defined in a logical database . If an executable program is associated with a logical database, its standard selection screen is composed of the logical database and its own database.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




    SELECTION_SCREEN_GLOSRY
    SELECTION_SCREEN_VERS_GLOSRY




    comments powered by Disqus