SAP HR_CLM_CHECK_DEPDTS Function Module for Check validity of selected dependents









HR_CLM_CHECK_DEPDTS is a standard hr clm check depdts SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check validity of selected dependents 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 hr clm check depdts FM, simply by entering the name HR_CLM_CHECK_DEPDTS into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRCLM00ENROLLMENT
Program Name: SAPLHRCLM00ENROLLMENT
Main Program: SAPLHRCLM00ENROLLMENT
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HR_CLM_CHECK_DEPDTS 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 'HR_CLM_CHECK_DEPDTS'"Check validity of selected dependents
EXPORTING
PERNR = "
BAREA = "
BPLAN = "
LEVL1 = "
DATUM = "
DEL_BPLAN = "

IMPORTING
CONSISTENCY_STATUS = "
SUBRC = "

TABLES
DEP_SELEC = "
CONSISTENCY_ERRORS = "
ERROR_TABLE = "
.



IMPORTING Parameters details for HR_CLM_CHECK_DEPDTS

PERNR -

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

BAREA -

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

BPLAN -

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

LEVL1 -

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

DATUM -

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

DEL_BPLAN -

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

EXPORTING Parameters details for HR_CLM_CHECK_DEPDTS

CONSISTENCY_STATUS -

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

SUBRC -

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

TABLES Parameters details for HR_CLM_CHECK_DEPDTS

DEP_SELEC -

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

CONSISTENCY_ERRORS -

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

ERROR_TABLE -

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

Copy and paste ABAP code example for HR_CLM_CHECK_DEPDTS 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_pernr  TYPE PSKEY-PERNR, "   
lt_dep_selec  TYPE STANDARD TABLE OF RPBENSDP, "   
lv_consistency_status  TYPE RPBENRPT01-CONSI, "   
lv_barea  TYPE T5UB3-BAREA, "   
lv_subrc  TYPE SY-SUBRC, "   
lt_consistency_errors  TYPE STANDARD TABLE OF RPBENERR, "   
lv_bplan  TYPE T5UBA-BPLAN, "   
lt_error_table  TYPE STANDARD TABLE OF RPBENERR, "   
lv_levl1  TYPE T74FL-LEVL1, "   
lv_datum  TYPE SY-DATUM, "   
lv_del_bplan  TYPE RPBENACTIO-DEL_BPLAN. "   

  CALL FUNCTION 'HR_CLM_CHECK_DEPDTS'  "Check validity of selected dependents
    EXPORTING
         PERNR = lv_pernr
         BAREA = lv_barea
         BPLAN = lv_bplan
         LEVL1 = lv_levl1
         DATUM = lv_datum
         DEL_BPLAN = lv_del_bplan
    IMPORTING
         CONSISTENCY_STATUS = lv_consistency_status
         SUBRC = lv_subrc
    TABLES
         DEP_SELEC = lt_dep_selec
         CONSISTENCY_ERRORS = lt_consistency_errors
         ERROR_TABLE = lt_error_table
. " HR_CLM_CHECK_DEPDTS




ABAP code using 7.40 inline data declarations to call FM HR_CLM_CHECK_DEPDTS

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 PERNR FROM PSKEY INTO @DATA(ld_pernr).
 
 
"SELECT single CONSI FROM RPBENRPT01 INTO @DATA(ld_consistency_status).
 
"SELECT single BAREA FROM T5UB3 INTO @DATA(ld_barea).
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_subrc).
 
 
"SELECT single BPLAN FROM T5UBA INTO @DATA(ld_bplan).
 
 
"SELECT single LEVL1 FROM T74FL INTO @DATA(ld_levl1).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_datum).
 
"SELECT single DEL_BPLAN FROM RPBENACTIO INTO @DATA(ld_del_bplan).
 


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!