SAP Function Modules

HRXSS_IN_CL_EMP_DEPENDENT SAP Function module - Selects Dependents Data







HRXSS_IN_CL_EMP_DEPENDENT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name HRXSS_IN_CL_EMP_DEPENDENT into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: HRPBSINNEWCLAIMS
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM HRXSS_IN_CL_EMP_DEPENDENT - HRXSS IN CL EMP DEPENDENT





CALL FUNCTION 'HRXSS_IN_CL_EMP_DEPENDENT' "Selects Dependents Data
  EXPORTING
    ifd_pernr =                 " persno        Structure for all request data RFC Content
    ifd_tdate = SY-DATUM        " sy-datum      Current Date of Application Server
    ifd_retyp =                 " pin_reimb_typ  Reimbursement Type
    ifd_rqtyp =                 " pin_req_typ   Request Type
*   ifd_scmcd =                 " pin_ltc_scheme_code  LTC Scheme Code
*   ifd_rqopr =                 " pin_rqopr     Request Operation for Request Customizing RFC
*   ifd_endda = SY-DATUM        " sy-datum      End date of the 0021 record, as we need to pick dependents for whole block in L
  IMPORTING
    etb_errtb =                 " bapiret2_tab  Return Parameter
  CHANGING
    ctb_depdt =                 " hressindep_data  Dependent Information.
    .  "  HRXSS_IN_CL_EMP_DEPENDENT

ABAP code example for Function Module HRXSS_IN_CL_EMP_DEPENDENT





The ABAP code below is a full code listing to execute function module HRXSS_IN_CL_EMP_DEPENDENT including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_etb_errtb  TYPE BAPIRET2_TAB .

DATA(ld_ctb_depdt) = 'Check type of data required'.
DATA(ld_ifd_pernr) = 'Check type of data required'.
DATA(ld_ifd_tdate) = '20210129'.
DATA(ld_ifd_retyp) = '20210129'.
DATA(ld_ifd_rqtyp) = '20210129'.
DATA(ld_ifd_scmcd) = '20210129'.
DATA(ld_ifd_rqopr) = '20210129'.
DATA(ld_ifd_endda) = '20210129'. . CALL FUNCTION 'HRXSS_IN_CL_EMP_DEPENDENT' EXPORTING ifd_pernr = ld_ifd_pernr ifd_tdate = ld_ifd_tdate ifd_retyp = ld_ifd_retyp ifd_rqtyp = ld_ifd_rqtyp * ifd_scmcd = ld_ifd_scmcd * ifd_rqopr = ld_ifd_rqopr * ifd_endda = ld_ifd_endda IMPORTING etb_errtb = ld_etb_errtb CHANGING ctb_depdt = ld_ctb_depdt . " HRXSS_IN_CL_EMP_DEPENDENT
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_ctb_depdt  TYPE HRESSINDEP_DATA ,
ld_etb_errtb  TYPE BAPIRET2_TAB ,
ld_ifd_pernr  TYPE PERSNO ,
ld_ifd_tdate  TYPE SY-DATUM ,
ld_ifd_retyp  TYPE PIN_REIMB_TYP ,
ld_ifd_rqtyp  TYPE PIN_REQ_TYP ,
ld_ifd_scmcd  TYPE PIN_LTC_SCHEME_CODE ,
ld_ifd_rqopr  TYPE PIN_RQOPR ,
ld_ifd_endda  TYPE SY-DATUM .

ld_ctb_depdt = '20210129'.
ld_ifd_pernr = '20210129'.
ld_ifd_tdate = '20210129'.
ld_ifd_retyp = '20210129'.
ld_ifd_rqtyp = '20210129'.
ld_ifd_scmcd = '20210129'.
ld_ifd_rqopr = '20210129'.
ld_ifd_endda = '20210129'.

SAP Documentation for FM HRXSS_IN_CL_EMP_DEPENDENT


This function module displays all the relevant data of the user's dependents. ...See here for full SAP fm documentation








Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name HRXSS_IN_CL_EMP_DEPENDENT or its description.