SAP LC_DBM_PARAMSPUT Function Module for
LC_DBM_PARAMSPUT is a standard lc dbm paramsput 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 dbm paramsput FM, simply by entering the name LC_DBM_PARAMSPUT into the relevant SAP transaction such as SE37 or SE38.
Function Group: SLCA
Program Name: SAPLSLCA
Main Program: SAPLSLCA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function LC_DBM_PARAMSPUT 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_DBM_PARAMSPUT'".
EXPORTING
CON_NAME = "Logical Name for a Database Connection
CHKONLY = "SAP DB: Value > 0 = Indicator for parameter check only
* USE_DBMRFC = "SAP DB: DBMRFC Call Mode
IMPORTING
SYSRC = "SAP DB: SysRC from DBM call
DBMRC = "SAP DB: Error code from DBMServer command
ERRTXT = "SAP DB: Error text from DBM command
TABLES
TANSW = "SAP DB: Response Line from DBM Command
TPARAMSPUT = "Structure for DBM_PARAMSPUT
EXCEPTIONS
UNKNOWN_CON_NAME = 1 COMMUNICATION_FAILURE = 2 SYSTEM_FAILURE = 3 NO_PERMISSION = 4 GET_DBMCONNECT_INFO_ERROR = 5
IMPORTING Parameters details for LC_DBM_PARAMSPUT
CON_NAME - Logical Name for a Database Connection
Data type: DBCON-CON_NAMEOptional: No
Call by Reference: Yes
CHKONLY - SAP DB: Value > 0 = Indicator for parameter check only
Data type: SDB_CHCKOOptional: No
Call by Reference: Yes
USE_DBMRFC - SAP DB: DBMRFC Call Mode
Data type: SDB_CMODEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for LC_DBM_PARAMSPUT
SYSRC - SAP DB: SysRC from DBM call
Data type: SDB_SYSRCOptional: No
Call by Reference: Yes
DBMRC - SAP DB: Error code from DBMServer command
Data type: SDB_DBMRCOptional: No
Call by Reference: Yes
ERRTXT - SAP DB: Error text from DBM command
Data type: SDB_ERRTXTOptional: No
Call by Reference: Yes
TABLES Parameters details for LC_DBM_PARAMSPUT
TANSW - SAP DB: Response Line from DBM Command
Data type: SDB_ANSWOptional: No
Call by Reference: No ( called with pass by value option)
TPARAMSPUT - Structure for DBM_PARAMSPUT
Data type: SDB_PPARAMOptional: No
Call by Reference: Yes
EXCEPTIONS details
UNKNOWN_CON_NAME -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
COMMUNICATION_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SYSTEM_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_PERMISSION -
Data type:Optional: No
Call by Reference: Yes
GET_DBMCONNECT_INFO_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for LC_DBM_PARAMSPUT 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_sysrc | TYPE SDB_SYSRC, " | |||
| lt_tansw | TYPE STANDARD TABLE OF SDB_ANSW, " | |||
| lv_con_name | TYPE DBCON-CON_NAME, " | |||
| lv_unknown_con_name | TYPE DBCON, " | |||
| lv_dbmrc | TYPE SDB_DBMRC, " | |||
| lv_chkonly | TYPE SDB_CHCKO, " | |||
| lt_tparamsput | TYPE STANDARD TABLE OF SDB_PPARAM, " | |||
| lv_communication_failure | TYPE SDB_PPARAM, " | |||
| lv_errtxt | TYPE SDB_ERRTXT, " | |||
| lv_use_dbmrfc | TYPE SDB_CMODE, " | |||
| lv_system_failure | TYPE SDB_CMODE, " | |||
| lv_no_permission | TYPE SDB_CMODE, " | |||
| lv_get_dbmconnect_info_error | TYPE SDB_CMODE. " |
|   CALL FUNCTION 'LC_DBM_PARAMSPUT' " |
| EXPORTING | ||
| CON_NAME | = lv_con_name | |
| CHKONLY | = lv_chkonly | |
| USE_DBMRFC | = lv_use_dbmrfc | |
| IMPORTING | ||
| SYSRC | = lv_sysrc | |
| DBMRC | = lv_dbmrc | |
| ERRTXT | = lv_errtxt | |
| TABLES | ||
| TANSW | = lt_tansw | |
| TPARAMSPUT | = lt_tparamsput | |
| EXCEPTIONS | ||
| UNKNOWN_CON_NAME = 1 | ||
| COMMUNICATION_FAILURE = 2 | ||
| SYSTEM_FAILURE = 3 | ||
| NO_PERMISSION = 4 | ||
| GET_DBMCONNECT_INFO_ERROR = 5 | ||
| . " LC_DBM_PARAMSPUT | ||
ABAP code using 7.40 inline data declarations to call FM LC_DBM_PARAMSPUT
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