SAP QSS0_FEATURE_CONTROL Function Module for QSS: manage control indicator characteristic
QSS0_FEATURE_CONTROL is a standard qss0 feature control SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for QSS: manage control indicator characteristic processing and below is the pattern details for this FM, 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 qss0 feature control FM, simply by entering the name QSS0_FEATURE_CONTROL into the relevant SAP transaction such as SE37 or SE38.
Function Group: QSS0
Program Name: SAPLQSS0
Main Program: SAPLQSS0
Appliation area: Q
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function QSS0_FEATURE_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 'QSS0_FEATURE_CONTROL'"QSS: manage control indicator characteristic.
EXPORTING
* FLG_CALL = 'X' "
* FLG_S_MESS = ' ' "Unit of measurement indicator on display
* FLG_S_AUSP = ' ' "Attribute indicator on display
* FLG_S_NOKL = ' ' "No classes recording allowed
* FLG_S_NCHG = "
* FLG_QUANTITATIV = 'X' "Indicator that control indicator for quant. charac.
* FLG_SHOW = 'X' "Display: 'X', processing: ' '
* FLG_TAB = ' ' "Maintenance of entries in proposal
QMKST_IMP = "Control line, entry
* TEXT = ' ' "Screen text
* FLG_S_ESTU = ' ' "Recording indicator on display
* FLG_S_TOLU = ' ' "Lower limit on display
* FLG_S_TOLO = ' ' "Upper limit on display
IMPORTING
QMKST_EXP = "Control line, output
EXCEPTIONS
PROC_CANCELLED = 1
IMPORTING Parameters details for QSS0_FEATURE_CONTROL
FLG_CALL -
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_S_MESS - Unit of measurement indicator on display
Data type: RQMST-FLG_S_MESSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_S_AUSP - Attribute indicator on display
Data type: RQMST-FLG_S_AUSPDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_S_NOKL - No classes recording allowed
Data type: RQMST-FLG_S_NKLSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_S_NCHG -
Data type: RQMST-FLG_S_NCHGOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_QUANTITATIV - Indicator that control indicator for quant. charac.
Data type: RQMST-QUANTITATDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_SHOW - Display: 'X', processing: ' '
Data type: RQMST-FLG_SHOWDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_TAB - Maintenance of entries in proposal
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
QMKST_IMP - Control line, entry
Data type: QMKSTOptional: No
Call by Reference: No ( called with pass by value option)
TEXT - Screen text
Data type: RQMST-TEXT1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_S_ESTU - Recording indicator on display
Data type: RQMST-FLG_S_ESTUDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_S_TOLU - Lower limit on display
Data type: RQMST-FLG_S_TOLUDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_S_TOLO - Upper limit on display
Data type: RQMST-FLG_S_TOLODefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for QSS0_FEATURE_CONTROL
QMKST_EXP - Control line, output
Data type: QMKSTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
PROC_CANCELLED - Processing canceled
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for QSS0_FEATURE_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_flg_call | TYPE STRING, " 'X' | |||
lv_qmkst_exp | TYPE QMKST, " | |||
lv_proc_cancelled | TYPE QMKST, " | |||
lv_flg_s_mess | TYPE RQMST-FLG_S_MESS, " SPACE | |||
lv_flg_s_ausp | TYPE RQMST-FLG_S_AUSP, " SPACE | |||
lv_flg_s_nokl | TYPE RQMST-FLG_S_NKLS, " SPACE | |||
lv_flg_s_nchg | TYPE RQMST-FLG_S_NCHG, " | |||
lv_flg_quantitativ | TYPE RQMST-QUANTITAT, " 'X' | |||
lv_flg_show | TYPE RQMST-FLG_SHOW, " 'X' | |||
lv_flg_tab | TYPE RQMST, " ' ' | |||
lv_qmkst_imp | TYPE QMKST, " | |||
lv_text | TYPE RQMST-TEXT1, " ' ' | |||
lv_flg_s_estu | TYPE RQMST-FLG_S_ESTU, " SPACE | |||
lv_flg_s_tolu | TYPE RQMST-FLG_S_TOLU, " SPACE | |||
lv_flg_s_tolo | TYPE RQMST-FLG_S_TOLO. " SPACE |
  CALL FUNCTION 'QSS0_FEATURE_CONTROL' "QSS: manage control indicator characteristic |
EXPORTING | ||
FLG_CALL | = lv_flg_call | |
FLG_S_MESS | = lv_flg_s_mess | |
FLG_S_AUSP | = lv_flg_s_ausp | |
FLG_S_NOKL | = lv_flg_s_nokl | |
FLG_S_NCHG | = lv_flg_s_nchg | |
FLG_QUANTITATIV | = lv_flg_quantitativ | |
FLG_SHOW | = lv_flg_show | |
FLG_TAB | = lv_flg_tab | |
QMKST_IMP | = lv_qmkst_imp | |
TEXT | = lv_text | |
FLG_S_ESTU | = lv_flg_s_estu | |
FLG_S_TOLU | = lv_flg_s_tolu | |
FLG_S_TOLO | = lv_flg_s_tolo | |
IMPORTING | ||
QMKST_EXP | = lv_qmkst_exp | |
EXCEPTIONS | ||
PROC_CANCELLED = 1 | ||
. " QSS0_FEATURE_CONTROL |
ABAP code using 7.40 inline data declarations to call FM QSS0_FEATURE_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.DATA(ld_flg_call) | = 'X'. | |||
"SELECT single FLG_S_MESS FROM RQMST INTO @DATA(ld_flg_s_mess). | ||||
DATA(ld_flg_s_mess) | = ' '. | |||
"SELECT single FLG_S_AUSP FROM RQMST INTO @DATA(ld_flg_s_ausp). | ||||
DATA(ld_flg_s_ausp) | = ' '. | |||
"SELECT single FLG_S_NKLS FROM RQMST INTO @DATA(ld_flg_s_nokl). | ||||
DATA(ld_flg_s_nokl) | = ' '. | |||
"SELECT single FLG_S_NCHG FROM RQMST INTO @DATA(ld_flg_s_nchg). | ||||
"SELECT single QUANTITAT FROM RQMST INTO @DATA(ld_flg_quantitativ). | ||||
DATA(ld_flg_quantitativ) | = 'X'. | |||
"SELECT single FLG_SHOW FROM RQMST INTO @DATA(ld_flg_show). | ||||
DATA(ld_flg_show) | = 'X'. | |||
DATA(ld_flg_tab) | = ' '. | |||
"SELECT single TEXT1 FROM RQMST INTO @DATA(ld_text). | ||||
DATA(ld_text) | = ' '. | |||
"SELECT single FLG_S_ESTU FROM RQMST INTO @DATA(ld_flg_s_estu). | ||||
DATA(ld_flg_s_estu) | = ' '. | |||
"SELECT single FLG_S_TOLU FROM RQMST INTO @DATA(ld_flg_s_tolu). | ||||
DATA(ld_flg_s_tolu) | = ' '. | |||
"SELECT single FLG_S_TOLO FROM RQMST INTO @DATA(ld_flg_s_tolo). | ||||
DATA(ld_flg_s_tolo) | = ' '. | |||
Search for further information about these or an SAP related objects