SAP SCREEN_SEQUENCE_CONTROL_INIT Function Module for









SCREEN_SEQUENCE_CONTROL_INIT is a standard screen sequence control init 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 init FM, simply by entering the name SCREEN_SEQUENCE_CONTROL_INIT 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_INIT 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_INIT'"
EXPORTING
BILD = "Four-digit name of current screen
BILDGRUPPE = "Two-digit identifier of current sc
FUNKTION = "Entered function code
KOPFGRUPPE = "Grouping parameter for processing
POSITIONSGRUPPE = "Grouping parameter for processing
PROGRAMM = "Calling program
TYP = "Transaction type of calling progra

IMPORTING
AKTYP = "Transaction type of the following
LEAVE = "Set LEAVE after returning from fun
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 for specifying action b
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_INIT

BILD - Four-digit name of current screen

Data type: T185-PANEL
Optional: No
Call by Reference: No ( called with pass by value option)

BILDGRUPPE - Two-digit identifier of current sc

Data type: T185-BLDGR
Optional: No
Call by Reference: No ( called with pass by value option)

FUNKTION - Entered function code

Data type: T185F-FCODE
Optional: No
Call by Reference: No ( called with pass by value option)

KOPFGRUPPE - Grouping parameter for processing

Data type: T185-KOPGR
Optional: No
Call by Reference: No ( called with pass by value option)

POSITIONSGRUPPE - Grouping parameter for processing

Data type: T185-POSGR
Optional: No
Call by Reference: No ( called with pass by value option)

PROGRAMM - Calling program

Data type: T185F-AGIDV
Optional: No
Call by Reference: No ( called with pass by value option)

TYP - Transaction type of calling progra

Data type: T185F-TRTYP
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for SCREEN_SEQUENCE_CONTROL_INIT

AKTYP - Transaction type of the following

Data type: T185F-AKTYP
Optional: No
Call by Reference: No ( called with pass by value option)

LEAVE - Set LEAVE after returning from fun

Data type: T185-RUFEN
Optional: No
Call by Reference: No ( called with pass by value option)

DYNPROBAUSTEIN1 -

Data type: T185V-DYBS1
Optional: No
Call by Reference: No ( called with pass by value option)

DYNPROBAUSTEIN2 -

Data type: T185V-DYBS2
Optional: No
Call by Reference: No ( called with pass by value option)

CUA_PARA1 - Transfer parameter 1 for CUA heade

Data type: T185V-PARA1
Optional: No
Call by Reference: No ( called with pass by value option)

CUA_PARA2 - Transfer parameter 2 for CUA heade

Data type: T185V-PARA2
Optional: No
Call by Reference: No ( called with pass by value option)

CUA_PARA3 - Transfer parameter 3 for CUA heade

Data type: T185V-PARA3
Optional: No
Call by Reference: No ( called with pass by value option)

CUA_PARA4 - Transfer parameter 4 for CUA heade

Data type: T185V-PARA4
Optional: No
Call by Reference: No ( called with pass by value option)

CUA_STATUS - CUA status for specifying action b

Data type: T185V-STATUS
Optional: No
Call by Reference: No ( called with pass by value option)

CUA_TITEL - Name of CUA header line

Data type: T185V-CTITEL
Optional: No
Call by Reference: No ( called with pass by value option)

DUNKEL - Next processing step runs in the b

Data type: T185-DUNKEL
Optional: No
Call by Reference: No ( called with pass by value option)

FOLGEFUNKTION - Default for function code

Data type: T185F-FCODE
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for SCREEN_SEQUENCE_CONTROL_INIT 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_bild  TYPE T185-PANEL, "   
lv_aktyp  TYPE T185F-AKTYP, "   
lv_leave  TYPE T185-RUFEN, "   
lv_dynprobaustein1  TYPE T185V-DYBS1, "   
lv_dynprobaustein2  TYPE T185V-DYBS2, "   
lv_cua_para1  TYPE T185V-PARA1, "   
lv_bildgruppe  TYPE T185-BLDGR, "   
lv_funktion  TYPE T185F-FCODE, "   
lv_cua_para2  TYPE T185V-PARA2, "   
lv_cua_para3  TYPE T185V-PARA3, "   
lv_kopfgruppe  TYPE T185-KOPGR, "   
lv_cua_para4  TYPE T185V-PARA4, "   
lv_positionsgruppe  TYPE T185-POSGR, "   
lv_programm  TYPE T185F-AGIDV, "   
lv_cua_status  TYPE T185V-STATUS, "   
lv_typ  TYPE T185F-TRTYP, "   
lv_cua_titel  TYPE T185V-CTITEL, "   
lv_dunkel  TYPE T185-DUNKEL, "   
lv_folgefunktion  TYPE T185F-FCODE. "   

  CALL FUNCTION 'SCREEN_SEQUENCE_CONTROL_INIT'  "
    EXPORTING
         BILD = lv_bild
         BILDGRUPPE = lv_bildgruppe
         FUNKTION = lv_funktion
         KOPFGRUPPE = lv_kopfgruppe
         POSITIONSGRUPPE = lv_positionsgruppe
         PROGRAMM = lv_programm
         TYP = lv_typ
    IMPORTING
         AKTYP = lv_aktyp
         LEAVE = lv_leave
         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_INIT




ABAP code using 7.40 inline data declarations to call FM SCREEN_SEQUENCE_CONTROL_INIT

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 PANEL FROM T185 INTO @DATA(ld_bild).
 
"SELECT single AKTYP FROM T185F INTO @DATA(ld_aktyp).
 
"SELECT single RUFEN FROM T185 INTO @DATA(ld_leave).
 
"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 BLDGR FROM T185 INTO @DATA(ld_bildgruppe).
 
"SELECT single FCODE FROM T185F INTO @DATA(ld_funktion).
 
"SELECT single PARA2 FROM T185V INTO @DATA(ld_cua_para2).
 
"SELECT single PARA3 FROM T185V INTO @DATA(ld_cua_para3).
 
"SELECT single KOPGR FROM T185 INTO @DATA(ld_kopfgruppe).
 
"SELECT single PARA4 FROM T185V INTO @DATA(ld_cua_para4).
 
"SELECT single POSGR FROM T185 INTO @DATA(ld_positionsgruppe).
 
"SELECT single AGIDV FROM T185F INTO @DATA(ld_programm).
 
"SELECT single STATUS FROM T185V INTO @DATA(ld_cua_status).
 
"SELECT single TRTYP FROM T185F INTO @DATA(ld_typ).
 
"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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!