Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!



BAL_S_LOG - Application Log: Log header data   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book


Short Reference

                      $[STARTING AT col1 lin1
                     $[ENDING   AT col2 lin2$]$]
                      $[USING SELECTION-SET variant$].


1. ... STARTING AT col1 lin1 $[ENDING AT col2 lin2$]

2. ... USING SELECTION-SET variant


This statement calls the selection screen with the dynpro number specified in dynnr and starts its selection screen processing. dynnr expects a data object of the type n and the length 4.

The statement CALL SELECTION-SCREEN accesses the selection screens of the respective main program of the current program group. These selection screens work with the parameters and selection criteria of the main program and raise the selection screen processing in the main program. The main program is generally the current program, except when calling a selection screen in an externally called subroutine. An uncatchable exception is raised if the specified selection screen is not contained in the main program of the program group.

Any selection screen of the main program can be called, in particular the standard selection screen. The default setting is the display of the selection screen in the GUI window of the preceding dynpro.

System Fields

sy-subrc Meaning
0 The user selected the function Execute or Execute + Print on the selection screen.
4 The user selected Back, Exit, or Cancel on the selection screen.


  • The statement CALL SCREEN cannot be used to call selection screens, since otherwise the proper execution of the selection screen processing cannot be guaranteed.
  • If the called selection screen is displayed in a dialog box, it is advisable to use the addition AS WINDOW when specifying the selection screen.

Addition 1

... STARTING AT col1 lin1 $[ENDING AT col2 lin2$]


The addition STARTING AT creates a modal dialog box and displays the selection screen. The upper left corner of the dialog box is determined by the values in col1 and lin1 for column and line. These values refer to the GUI window with the popup level 0. The bottom right corner is either set automatically or it can be specified in col2 and lin2 after ENDING AT. col1, lin1, col2, and lin2 expect data objects of the type i. The values of col1, lin1 should be less than col2, lin2, otherwise the behavior will be undefined.

Addition 2



The addition USING SELECTION-SET fills the parameters and selection criteria of the selection screen with the values of a selection screen variant specified in variant. The values are passed to the associated data objects of the program immediately before the event AT SELECTION-SCREEN OUTPUT. variant expects a character-like data object which, when the statement is executed, contains the name of a selection screen variant of the main program stored for the selection screen in uppercase letters. If a nonexistent variant or a variant of another selection screen of the main program is specified, the addition is ignored.



Fill RESBD Structure from EBP Component Structure   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 6179 Date: 20230327 Time: 214532     sap01-206 ( 99 ms )