SAP CCMSBI_GET_CURRENT_SETTINGS Function Module for
CCMSBI_GET_CURRENT_SETTINGS is a standard ccmsbi get current settings 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 ccmsbi get current settings FM, simply by entering the name CCMSBI_GET_CURRENT_SETTINGS into the relevant SAP transaction such as SE37 or SE38.
Function Group: SCCMSBI_STAT_EXTRACTORS
Program Name: SAPLSCCMSBI_STAT_EXTRACTORS
Main Program: SAPLSCCMSBI_STAT_EXTRACTORS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CCMSBI_GET_CURRENT_SETTINGS 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 'CCMSBI_GET_CURRENT_SETTINGS'".
IMPORTING
QUEUETAB = "
FLAG_TABLERECS = "
FLAG_RFCTIMEINT = "
FLAG_SPOOLPRINT = "
FLAG_SPOOLACTIV = "
FLAG_DATABASE = "
FLAG_DBPROCED = "
FLAG_ADMMSG = "
FLAG_HTTPRECS = "
FLAG_HTPCLIRECS = "
FLAG_HTPCLDRECS = "
FLAG_MAINRECS_ONLY = "
FLAG_HTPSRVRECS = "
FLAG_HTPSRDRECS = "
FLAG_SMTPCLI = "
FLAG_SMTPCLIDEST = "
FLAG_SMTPSRV = "
FLAG_SMTPSRVDEST = "
FLAG_VMC = "
QUEUETAB_ASR = "
QUEUETAB_DSR = "
FLAG_MAINREC = "
FLAG_CLIENTINFO = "
FLAG_BATCHSTEP = "
FLAG_RFCCLIENT = "
FLAG_RFCSERVER = "
FLAG_RFCCLIDEST = "
FLAG_RFCSRVDEST = "
EXPORTING Parameters details for CCMSBI_GET_CURRENT_SETTINGS
QUEUETAB -
Data type: CCMSBI_R3STAT_EXTR_WSET_TABOptional: No
Call by Reference: Yes
FLAG_TABLERECS -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_RFCTIMEINT -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_SPOOLPRINT -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_SPOOLACTIV -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_DATABASE -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_DBPROCED -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_ADMMSG -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_HTTPRECS -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_HTPCLIRECS -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_HTPCLDRECS -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_MAINRECS_ONLY -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_HTPSRVRECS -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_HTPSRDRECS -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_SMTPCLI -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_SMTPCLIDEST -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_SMTPSRV -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_SMTPSRVDEST -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_VMC -
Data type: CHAR1Optional: No
Call by Reference: Yes
QUEUETAB_ASR -
Data type: CCMSBI_ASR_EXTR_WSET_TABOptional: No
Call by Reference: Yes
QUEUETAB_DSR -
Data type: CCMSBI_DSR_EXTR_WSET_TABOptional: No
Call by Reference: Yes
FLAG_MAINREC -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_CLIENTINFO -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_BATCHSTEP -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_RFCCLIENT -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_RFCSERVER -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_RFCCLIDEST -
Data type: CHAR1Optional: No
Call by Reference: Yes
FLAG_RFCSRVDEST -
Data type: CHAR1Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CCMSBI_GET_CURRENT_SETTINGS 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_queuetab | TYPE CCMSBI_R3STAT_EXTR_WSET_TAB, " | |||
| lv_flag_tablerecs | TYPE CHAR1, " | |||
| lv_flag_rfctimeint | TYPE CHAR1, " | |||
| lv_flag_spoolprint | TYPE CHAR1, " | |||
| lv_flag_spoolactiv | TYPE CHAR1, " | |||
| lv_flag_database | TYPE CHAR1, " | |||
| lv_flag_dbproced | TYPE CHAR1, " | |||
| lv_flag_admmsg | TYPE CHAR1, " | |||
| lv_flag_httprecs | TYPE CHAR1, " | |||
| lv_flag_htpclirecs | TYPE CHAR1, " | |||
| lv_flag_htpcldrecs | TYPE CHAR1, " | |||
| lv_flag_mainrecs_only | TYPE CHAR1, " | |||
| lv_flag_htpsrvrecs | TYPE CHAR1, " | |||
| lv_flag_htpsrdrecs | TYPE CHAR1, " | |||
| lv_flag_smtpcli | TYPE CHAR1, " | |||
| lv_flag_smtpclidest | TYPE CHAR1, " | |||
| lv_flag_smtpsrv | TYPE CHAR1, " | |||
| lv_flag_smtpsrvdest | TYPE CHAR1, " | |||
| lv_flag_vmc | TYPE CHAR1, " | |||
| lv_queuetab_asr | TYPE CCMSBI_ASR_EXTR_WSET_TAB, " | |||
| lv_queuetab_dsr | TYPE CCMSBI_DSR_EXTR_WSET_TAB, " | |||
| lv_flag_mainrec | TYPE CHAR1, " | |||
| lv_flag_clientinfo | TYPE CHAR1, " | |||
| lv_flag_batchstep | TYPE CHAR1, " | |||
| lv_flag_rfcclient | TYPE CHAR1, " | |||
| lv_flag_rfcserver | TYPE CHAR1, " | |||
| lv_flag_rfcclidest | TYPE CHAR1, " | |||
| lv_flag_rfcsrvdest | TYPE CHAR1. " |
|   CALL FUNCTION 'CCMSBI_GET_CURRENT_SETTINGS' " |
| IMPORTING | ||
| QUEUETAB | = lv_queuetab | |
| FLAG_TABLERECS | = lv_flag_tablerecs | |
| FLAG_RFCTIMEINT | = lv_flag_rfctimeint | |
| FLAG_SPOOLPRINT | = lv_flag_spoolprint | |
| FLAG_SPOOLACTIV | = lv_flag_spoolactiv | |
| FLAG_DATABASE | = lv_flag_database | |
| FLAG_DBPROCED | = lv_flag_dbproced | |
| FLAG_ADMMSG | = lv_flag_admmsg | |
| FLAG_HTTPRECS | = lv_flag_httprecs | |
| FLAG_HTPCLIRECS | = lv_flag_htpclirecs | |
| FLAG_HTPCLDRECS | = lv_flag_htpcldrecs | |
| FLAG_MAINRECS_ONLY | = lv_flag_mainrecs_only | |
| FLAG_HTPSRVRECS | = lv_flag_htpsrvrecs | |
| FLAG_HTPSRDRECS | = lv_flag_htpsrdrecs | |
| FLAG_SMTPCLI | = lv_flag_smtpcli | |
| FLAG_SMTPCLIDEST | = lv_flag_smtpclidest | |
| FLAG_SMTPSRV | = lv_flag_smtpsrv | |
| FLAG_SMTPSRVDEST | = lv_flag_smtpsrvdest | |
| FLAG_VMC | = lv_flag_vmc | |
| QUEUETAB_ASR | = lv_queuetab_asr | |
| QUEUETAB_DSR | = lv_queuetab_dsr | |
| FLAG_MAINREC | = lv_flag_mainrec | |
| FLAG_CLIENTINFO | = lv_flag_clientinfo | |
| FLAG_BATCHSTEP | = lv_flag_batchstep | |
| FLAG_RFCCLIENT | = lv_flag_rfcclient | |
| FLAG_RFCSERVER | = lv_flag_rfcserver | |
| FLAG_RFCCLIDEST | = lv_flag_rfcclidest | |
| FLAG_RFCSRVDEST | = lv_flag_rfcsrvdest | |
| . " CCMSBI_GET_CURRENT_SETTINGS | ||
ABAP code using 7.40 inline data declarations to call FM CCMSBI_GET_CURRENT_SETTINGS
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.Search for further information about these or an SAP related objects