SAP SCREEN_SEQUENCE_CONTROL Function Module for
SCREEN_SEQUENCE_CONTROL is a standard screen sequence control SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for screen sequence control FM, simply by entering the name SCREEN_SEQUENCE_CONTROL into the relevant SAP transaction such as SE37 or SE38.
Function Group: V00F
Program Name: SAPLV00F
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SCREEN_SEQUENCE_CONTROL pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'SCREEN_SEQUENCE_CONTROL'".
EXPORTING
FUNKTION = "Entered function code
KOPFGRUPPE = "Grouping parameter for processing
POSITIONSGRUPPE = "Grouping parameter for processing
PROGRAMM = "Calling program
* TYP = ' ' "
IMPORTING
AKTYP = "Transaction type of the following
LEAVE = "Set LEAVE after returning from fun
PANEL = "
DYNPROBAUSTEIN1 = "
DYNPROBAUSTEIN2 = "
CUA_PARA1 = "Transfer parameter 1 for CUA heade
CUA_PARA2 = "Transfer parameter 2 for CUA heade
CUA_PARA3 = "Transfer parameter 3 for CUA heade
CUA_PARA4 = "Transfer parameter 4 for CUA heade
CUA_STATUS = "CUA status to specify action bar
CUA_TITEL = "Name of CUA header line
DUNKEL = "Next processing step runs in the b
FOLGEFUNKTION = "Default for function code
IMPORTING Parameters details for SCREEN_SEQUENCE_CONTROL
FUNKTION - Entered function code
Data type: T185F-FCODEOptional: No
Call by Reference: No ( called with pass by value option)
KOPFGRUPPE - Grouping parameter for processing
Data type: T185-KOPGROptional: No
Call by Reference: No ( called with pass by value option)
POSITIONSGRUPPE - Grouping parameter for processing
Data type: T185-POSGROptional: No
Call by Reference: No ( called with pass by value option)
PROGRAMM - Calling program
Data type: T185F-AGIDVOptional: No
Call by Reference: No ( called with pass by value option)
TYP -
Data type: T185F-TRTYPDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SCREEN_SEQUENCE_CONTROL
AKTYP - Transaction type of the following
Data type: T185F-AKTYPOptional: No
Call by Reference: No ( called with pass by value option)
LEAVE - Set LEAVE after returning from fun
Data type: T185-RUFENOptional: No
Call by Reference: No ( called with pass by value option)
PANEL -
Data type: T185V-PANELOptional: No
Call by Reference: No ( called with pass by value option)
DYNPROBAUSTEIN1 -
Data type: T185V-DYBS1Optional: No
Call by Reference: No ( called with pass by value option)
DYNPROBAUSTEIN2 -
Data type: T185V-DYBS2Optional: No
Call by Reference: No ( called with pass by value option)
CUA_PARA1 - Transfer parameter 1 for CUA heade
Data type: T185V-PARA1Optional: No
Call by Reference: No ( called with pass by value option)
CUA_PARA2 - Transfer parameter 2 for CUA heade
Data type: T185V-PARA2Optional: No
Call by Reference: No ( called with pass by value option)
CUA_PARA3 - Transfer parameter 3 for CUA heade
Data type: T185V-PARA3Optional: No
Call by Reference: No ( called with pass by value option)
CUA_PARA4 - Transfer parameter 4 for CUA heade
Data type: T185V-PARA4Optional: No
Call by Reference: No ( called with pass by value option)
CUA_STATUS - CUA status to specify action bar
Data type: T185V-STATUSOptional: No
Call by Reference: No ( called with pass by value option)
CUA_TITEL - Name of CUA header line
Data type: T185V-CTITELOptional: No
Call by Reference: No ( called with pass by value option)
DUNKEL - Next processing step runs in the b
Data type: T185-DUNKELOptional: No
Call by Reference: No ( called with pass by value option)
FOLGEFUNKTION - Default for function code
Data type: T185F-FCODEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SCREEN_SEQUENCE_CONTROL Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_aktyp | TYPE T185F-AKTYP, " | |||
| lv_funktion | TYPE T185F-FCODE, " | |||
| lv_leave | TYPE T185-RUFEN, " | |||
| lv_panel | TYPE T185V-PANEL, " | |||
| lv_dynprobaustein1 | TYPE T185V-DYBS1, " | |||
| lv_dynprobaustein2 | TYPE T185V-DYBS2, " | |||
| lv_cua_para1 | TYPE T185V-PARA1, " | |||
| lv_kopfgruppe | TYPE T185-KOPGR, " | |||
| lv_cua_para2 | TYPE T185V-PARA2, " | |||
| lv_positionsgruppe | TYPE T185-POSGR, " | |||
| lv_programm | TYPE T185F-AGIDV, " | |||
| lv_cua_para3 | TYPE T185V-PARA3, " | |||
| lv_typ | TYPE T185F-TRTYP, " SPACE | |||
| lv_cua_para4 | TYPE T185V-PARA4, " | |||
| lv_cua_status | TYPE T185V-STATUS, " | |||
| lv_cua_titel | TYPE T185V-CTITEL, " | |||
| lv_dunkel | TYPE T185-DUNKEL, " | |||
| lv_folgefunktion | TYPE T185F-FCODE. " |
|   CALL FUNCTION 'SCREEN_SEQUENCE_CONTROL' " |
| EXPORTING | ||
| FUNKTION | = lv_funktion | |
| KOPFGRUPPE | = lv_kopfgruppe | |
| POSITIONSGRUPPE | = lv_positionsgruppe | |
| PROGRAMM | = lv_programm | |
| TYP | = lv_typ | |
| IMPORTING | ||
| AKTYP | = lv_aktyp | |
| LEAVE | = lv_leave | |
| PANEL | = lv_panel | |
| DYNPROBAUSTEIN1 | = lv_dynprobaustein1 | |
| DYNPROBAUSTEIN2 | = lv_dynprobaustein2 | |
| CUA_PARA1 | = lv_cua_para1 | |
| CUA_PARA2 | = lv_cua_para2 | |
| CUA_PARA3 | = lv_cua_para3 | |
| CUA_PARA4 | = lv_cua_para4 | |
| CUA_STATUS | = lv_cua_status | |
| CUA_TITEL | = lv_cua_titel | |
| DUNKEL | = lv_dunkel | |
| FOLGEFUNKTION | = lv_folgefunktion | |
| . " SCREEN_SEQUENCE_CONTROL | ||
ABAP code using 7.40 inline data declarations to call FM SCREEN_SEQUENCE_CONTROL
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single AKTYP FROM T185F INTO @DATA(ld_aktyp). | ||||
| "SELECT single FCODE FROM T185F INTO @DATA(ld_funktion). | ||||
| "SELECT single RUFEN FROM T185 INTO @DATA(ld_leave). | ||||
| "SELECT single PANEL FROM T185V INTO @DATA(ld_panel). | ||||
| "SELECT single DYBS1 FROM T185V INTO @DATA(ld_dynprobaustein1). | ||||
| "SELECT single DYBS2 FROM T185V INTO @DATA(ld_dynprobaustein2). | ||||
| "SELECT single PARA1 FROM T185V INTO @DATA(ld_cua_para1). | ||||
| "SELECT single KOPGR FROM T185 INTO @DATA(ld_kopfgruppe). | ||||
| "SELECT single PARA2 FROM T185V INTO @DATA(ld_cua_para2). | ||||
| "SELECT single POSGR FROM T185 INTO @DATA(ld_positionsgruppe). | ||||
| "SELECT single AGIDV FROM T185F INTO @DATA(ld_programm). | ||||
| "SELECT single PARA3 FROM T185V INTO @DATA(ld_cua_para3). | ||||
| "SELECT single TRTYP FROM T185F INTO @DATA(ld_typ). | ||||
| DATA(ld_typ) | = ' '. | |||
| "SELECT single PARA4 FROM T185V INTO @DATA(ld_cua_para4). | ||||
| "SELECT single STATUS FROM T185V INTO @DATA(ld_cua_status). | ||||
| "SELECT single CTITEL FROM T185V INTO @DATA(ld_cua_titel). | ||||
| "SELECT single DUNKEL FROM T185 INTO @DATA(ld_dunkel). | ||||
| "SELECT single FCODE FROM T185F INTO @DATA(ld_folgefunktion). | ||||
Search for further information about these or an SAP related objects