SAP CHECK_DB_INST_PARMS_DB2 Function Module for
CHECK_DB_INST_PARMS_DB2 is a standard check db inst parms db2 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 check db inst parms db2 FM, simply by entering the name CHECK_DB_INST_PARMS_DB2 into the relevant SAP transaction such as SE37 or SE38.
Function Group: DBSYCHK_DB2
Program Name: SAPLDBSYCHK_DB2
Main Program: SAPLDBSYCHK_DB2
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CHECK_DB_INST_PARMS_DB2 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 'CHECK_DB_INST_PARMS_DB2'".
IMPORTING
GLOBAL_CHECK_INFO = "
P_SUBRC = "Return Value, Return Value After ABAP Statements
CHANGING
* CHECKDATE = "
* CHECKTIME = "
TABLES
* ERROR_MESSAGES = "
EXCEPTIONS
AUTH_FAILURE = 1 MONITOR_TRACE_NOT_STARTED = 2 INTERNAL_ERROR = 3 COMMUNICATION_ERROR = 4
EXPORTING Parameters details for CHECK_DB_INST_PARMS_DB2
GLOBAL_CHECK_INFO -
Data type: DBSYCHKDB2Optional: No
Call by Reference: No ( called with pass by value option)
P_SUBRC - Return Value, Return Value After ABAP Statements
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for CHECK_DB_INST_PARMS_DB2
CHECKDATE -
Data type: SY-DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
CHECKTIME -
Data type: SY-UZEITOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CHECK_DB_INST_PARMS_DB2
ERROR_MESSAGES -
Data type: DBMSGDB2Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
AUTH_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MONITOR_TRACE_NOT_STARTED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
COMMUNICATION_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CHECK_DB_INST_PARMS_DB2 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_checkdate | TYPE SY-DATUM, " | |||
| lv_auth_failure | TYPE SY, " | |||
| lt_error_messages | TYPE STANDARD TABLE OF DBMSGDB2, " | |||
| lv_global_check_info | TYPE DBSYCHKDB2, " | |||
| lv_p_subrc | TYPE SY-SUBRC, " | |||
| lv_checktime | TYPE SY-UZEIT, " | |||
| lv_monitor_trace_not_started | TYPE SY, " | |||
| lv_internal_error | TYPE SY, " | |||
| lv_communication_error | TYPE SY. " |
|   CALL FUNCTION 'CHECK_DB_INST_PARMS_DB2' " |
| IMPORTING | ||
| GLOBAL_CHECK_INFO | = lv_global_check_info | |
| P_SUBRC | = lv_p_subrc | |
| CHANGING | ||
| CHECKDATE | = lv_checkdate | |
| CHECKTIME | = lv_checktime | |
| TABLES | ||
| ERROR_MESSAGES | = lt_error_messages | |
| EXCEPTIONS | ||
| AUTH_FAILURE = 1 | ||
| MONITOR_TRACE_NOT_STARTED = 2 | ||
| INTERNAL_ERROR = 3 | ||
| COMMUNICATION_ERROR = 4 | ||
| . " CHECK_DB_INST_PARMS_DB2 | ||
ABAP code using 7.40 inline data declarations to call FM CHECK_DB_INST_PARMS_DB2
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 DATUM FROM SY INTO @DATA(ld_checkdate). | ||||
| "SELECT single SUBRC FROM SY INTO @DATA(ld_p_subrc). | ||||
| "SELECT single UZEIT FROM SY INTO @DATA(ld_checktime). | ||||
Search for further information about these or an SAP related objects