SAP LC_GET_CONFIG_DATA_DBMCLI Function Module for









LC_GET_CONFIG_DATA_DBMCLI is a standard lc get config data dbmcli 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 lc get config data dbmcli FM, simply by entering the name LC_GET_CONFIG_DATA_DBMCLI into the relevant SAP transaction such as SE37 or SE38.

Function Group: SLCA
Program Name: SAPLSLCA
Main Program: SAPLSLCA
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function LC_GET_CONFIG_DATA_DBMCLI 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 'LC_GET_CONFIG_DATA_DBMCLI'"
EXPORTING
CON_NAME = "
* USE_DBMRFC = "

IMPORTING
USED_DATAPAGES = "
USED_DATADEVS = "
MAX_DATAPAGES = "Devspace size
MAX_DATADEVS = "

TABLES
CONFIGURATION = "
ACTION_PROTOCOL = "Structure for Action Log for LiveCache Administration

EXCEPTIONS
NO_PERMISSION = 1 SXPG_COMMAND_EXECUTE_ERROR = 2 DBMCLI_COMMAND_EXECUTE_ERROR = 3 LC_GET_CONFIG_DATA_ERROR = 4 EMPTY_CON_ENV = 5 DBMRFC_EXECUTE_ERROR = 6
.



IMPORTING Parameters details for LC_GET_CONFIG_DATA_DBMCLI

CON_NAME -

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

USE_DBMRFC -

Data type: SDB_CMODE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for LC_GET_CONFIG_DATA_DBMCLI

USED_DATAPAGES -

Data type: LC_SIZE
Optional: No
Call by Reference: No ( called with pass by value option)

USED_DATADEVS -

Data type: I
Optional: No
Call by Reference: No ( called with pass by value option)

MAX_DATAPAGES - Devspace size

Data type: LC_SIZE
Optional: No
Call by Reference: No ( called with pass by value option)

MAX_DATADEVS -

Data type: I
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for LC_GET_CONFIG_DATA_DBMCLI

CONFIGURATION -

Data type: LVC_CONF
Optional: No
Call by Reference: Yes

ACTION_PROTOCOL - Structure for Action Log for LiveCache Administration

Data type: LVC_APROT
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NO_PERMISSION -

Data type:
Optional: No
Call by Reference: Yes

SXPG_COMMAND_EXECUTE_ERROR -

Data type:
Optional: No
Call by Reference: Yes

DBMCLI_COMMAND_EXECUTE_ERROR -

Data type:
Optional: No
Call by Reference: Yes

LC_GET_CONFIG_DATA_ERROR - No configuration data existing

Data type:
Optional: No
Call by Reference: Yes

EMPTY_CON_ENV - No input in DBCON-CON_ENV

Data type:
Optional: No
Call by Reference: Yes

DBMRFC_EXECUTE_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for LC_GET_CONFIG_DATA_DBMCLI 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_con_name  TYPE DBCON-CON_NAME, "   
lt_configuration  TYPE STANDARD TABLE OF LVC_CONF, "   
lv_no_permission  TYPE LVC_CONF, "   
lv_used_datapages  TYPE LC_SIZE, "   
lv_use_dbmrfc  TYPE SDB_CMODE, "   
lv_used_datadevs  TYPE I, "   
lt_action_protocol  TYPE STANDARD TABLE OF LVC_APROT, "   
lv_sxpg_command_execute_error  TYPE LVC_APROT, "   
lv_max_datapages  TYPE LC_SIZE, "   
lv_dbmcli_command_execute_error  TYPE LC_SIZE, "   
lv_max_datadevs  TYPE I, "   
lv_lc_get_config_data_error  TYPE I, "   
lv_empty_con_env  TYPE I, "   
lv_dbmrfc_execute_error  TYPE I. "   

  CALL FUNCTION 'LC_GET_CONFIG_DATA_DBMCLI'  "
    EXPORTING
         CON_NAME = lv_con_name
         USE_DBMRFC = lv_use_dbmrfc
    IMPORTING
         USED_DATAPAGES = lv_used_datapages
         USED_DATADEVS = lv_used_datadevs
         MAX_DATAPAGES = lv_max_datapages
         MAX_DATADEVS = lv_max_datadevs
    TABLES
         CONFIGURATION = lt_configuration
         ACTION_PROTOCOL = lt_action_protocol
    EXCEPTIONS
        NO_PERMISSION = 1
        SXPG_COMMAND_EXECUTE_ERROR = 2
        DBMCLI_COMMAND_EXECUTE_ERROR = 3
        LC_GET_CONFIG_DATA_ERROR = 4
        EMPTY_CON_ENV = 5
        DBMRFC_EXECUTE_ERROR = 6
. " LC_GET_CONFIG_DATA_DBMCLI




ABAP code using 7.40 inline data declarations to call FM LC_GET_CONFIG_DATA_DBMCLI

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 CON_NAME FROM DBCON INTO @DATA(ld_con_name).
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!