Ansicht
Dokumentation

ABAPSUBMIT_INTERFACE - SUBMIT INTERFACE

ABAPSUBMIT_INTERFACE - SUBMIT INTERFACE

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

SUBMIT, selscreen_options

... $[USING SELECTION-SCREEN dynnr$]
    $[VIA SELECTION-SCREEN$]
    $[selscreen_parameters$]...

Additions

1. ... USING SELECTION-SCREEN dynnr

2. ... VIA SELECTION-SCREEN


Effect

The addition USING SELECTION-SCREEN specifies the selection screen and VIA SELECTION-SCREEN determines whether it is displayed. The additions selscreen_parameters supply values to the parameters and selection criteria, as well as the free selection of the called selection screen.

The values are passed to the selection screen between the events INITIALIZATION and AT SELECTION SCREEN OUTPUT. The following hierarchy applies to the passing of the values:

  1. First, the selection screen variant of the addition USING SELECTION-SET is passed, which sets all parameters and selection criteria to the values of the variant. The values previously set in the called program are overwritten.
  2. The values of the table of the addition WITH SELECTION-TABLE are then passed. All parameters and selection criteria specified here are overwritten accordingly.
  3. Finally, the values of the additions WITH sel value are passed. All parameters and selection criteria specified here are overwritten accordingly. If the addition WITH sel value is used more than once for the same parameter, the parameter is overwritten with the last specified value. If the addition WITH sel value is used more than once for the same selection criterion, a ranges table with the corresponding number of lines is passed.

Free selections are supplied independently of this hierarchy.

Notes

  • The options for parameter passing can be used to view a selection screen as a parameter interface of an executable program. This applies in particular to background selection screen processing and to parameters and selection criteria defined without screen elements using the addition NO-DISPLAY
  • When data is passed, any adjustments made to the screen format, such as reductions and the execution of conversion routines, should not be executed for fields for which there are no screen elements on the selection screen. This applies to all parameters and selection criteria defined with NO DISPLAY. It also applies to all lines in a ranges table with the exception of the first line.
  • The additions selscreen_parameters only take effect the first time the called program is executed. If a selection screen is displayed in the called program, the runtime framework calls the program again after it has ended, replacing the values specified in selscreen_parameters with the previous input values.

Addition 1

... USING SELECTION-SCREEN dynnr

Effect

This addition defines which selection screen is called. Here, dynnr is a data object that must contain the dynpro number of a selection screen defined in the called program when the statement SUBMIT is executed.

  • If the addition USING SELECTION-SCREEN is omitted or the dynpro number 1000 is specified, the standard selection screen is called. If no standard selection screen is defined in the called program, no selection screen is called.
  • If a dynpro number not equal to 1000 is specified in the addition USING SELECTION-SCREEN, the corresponding standalone selection screen is called. If no selection screen with this dynpro number is defined in the called program, an uncatchable exception is raised.

Addition 2

... VIA SELECTION-SCREEN

Effect

If this addition is specified, the selection screen is displayed on the screen, otherwise background selection screen processing takes place. In background selection screen processing, the selection screen events are raised without the selection screen being displayed on the screen.

Program Calls, Filling the Selection Screen






CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 6223 Date: 20240426 Time: 135311     sap01-206 ( 103 ms )