SAP HRESS_CLMS_ELIGIBILITY_XX Function Module for Model function module to obtain claim eligibility for an employee









HRESS_CLMS_ELIGIBILITY_XX is a standard hress clms eligibility xx SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Model function module to obtain claim eligibility for an employee 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 hress clms eligibility xx FM, simply by entering the name HRESS_CLMS_ELIGIBILITY_XX into the relevant SAP transaction such as SE37 or SE38.

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



Function HRESS_CLMS_ELIGIBILITY_XX 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 'HRESS_CLMS_ELIGIBILITY_XX'"Model function module to obtain claim eligibility for an employee
EXPORTING
IFD_MOLGA = "Country Grouping
IFD_PERNR = "Personnel Number
* IFD_RETYP = "Reimbursement Type
* IFD_KDATE = SY-DATUM "Current Date of Application Server
* IFD_EDATE = SY-DATUM "Current Date of Application Server

CHANGING
CTB_RETEL = "Reimbursement type Eligible Balance Data
CTB_ERRTB = "Error Messages
.



IMPORTING Parameters details for HRESS_CLMS_ELIGIBILITY_XX

IFD_MOLGA - Country Grouping

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

IFD_PERNR - Personnel Number

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

IFD_RETYP - Reimbursement Type

Data type: PIN_REIMB_TYP
Optional: Yes
Call by Reference: Yes

IFD_KDATE - Current Date of Application Server

Data type: SY-DATUM
Default: SY-DATUM
Optional: No
Call by Reference: Yes

IFD_EDATE - Current Date of Application Server

Data type: SY-DATUM
Default: SY-DATUM
Optional: No
Call by Reference: Yes

CHANGING Parameters details for HRESS_CLMS_ELIGIBILITY_XX

CTB_RETEL - Reimbursement type Eligible Balance Data

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

CTB_ERRTB - Error Messages

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

Copy and paste ABAP code example for HRESS_CLMS_ELIGIBILITY_XX 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_ctb_retel  TYPE HRESS_T_CLMS_RETEL, "   
lv_ifd_molga  TYPE MOLGA, "   
lv_ctb_errtb  TYPE BAPIRET2_TAB, "   
lv_ifd_pernr  TYPE P_PERNR, "   
lv_ifd_retyp  TYPE PIN_REIMB_TYP, "   
lv_ifd_kdate  TYPE SY-DATUM, "   SY-DATUM
lv_ifd_edate  TYPE SY-DATUM. "   SY-DATUM

  CALL FUNCTION 'HRESS_CLMS_ELIGIBILITY_XX'  "Model function module to obtain claim eligibility for an employee
    EXPORTING
         IFD_MOLGA = lv_ifd_molga
         IFD_PERNR = lv_ifd_pernr
         IFD_RETYP = lv_ifd_retyp
         IFD_KDATE = lv_ifd_kdate
         IFD_EDATE = lv_ifd_edate
    CHANGING
         CTB_RETEL = lv_ctb_retel
         CTB_ERRTB = lv_ctb_errtb
. " HRESS_CLMS_ELIGIBILITY_XX




ABAP code using 7.40 inline data declarations to call FM HRESS_CLMS_ELIGIBILITY_XX

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_ifd_kdate).
DATA(ld_ifd_kdate) = SY-DATUM.
 
"SELECT single DATUM FROM SY INTO @DATA(ld_ifd_edate).
DATA(ld_ifd_edate) = SY-DATUM.
 


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!