SAP EXIT_SAPLHRBEN00GENERAL_015 Function Module for Function Exit in Form CHECK_ELIG_SERVICE









EXIT_SAPLHRBEN00GENERAL_015 is a standard exit saplhrben00general 015 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Function Exit in Form CHECK_ELIG_SERVICE 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 exit saplhrben00general 015 FM, simply by entering the name EXIT_SAPLHRBEN00GENERAL_015 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLHRBEN00GENERAL_015 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 'EXIT_SAPLHRBEN00GENERAL_015'"Function Exit in Form CHECK_ELIG_SERVICE
EXPORTING
_PERNR = "Personnel Number
_BAREA = "Benefit Area
_BELIG = "Eligibility Rule Variant
_ELIGR = "Eligibility Grouping
_EDATE = "Key Date

IMPORTING
_HOURS_OK = "Required Minimum Working Time Reached?

EXCEPTIONS
STANDARD_CALCULATION = 1 CUSTOMER_ERROR = 2
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
HR_BEN_CALC_BENEFIT_COST
HR_BEN_CALC_BENEFIT_CREDIT
HR_BEN_CALC_BENEFIT_EE_CONTRIB
HR_BEN_CALC_BENEFIT_ER_CONTRIB
HR_BEN_CALC_BENEFIT_PERS_SAL
HR_BEN_CALC_BENEFIT_SALARY
HR_BEN_CALC_COVERAGE_AMOUNT
HR_BEN_CALC_CUTOFF_AGE
HR_BEN_CALC_CUTOFF_LOS
HR_BEN_CALC_CUTOFF_SAL
HR_BEN_CALC_ELIGIBILITY_DATE
HR_BEN_CALC_EOI_END_OF_GRACE
HR_BEN_CALC_LENGTH_OF_SERVICE
HR_BEN_CALC_PARTICIPATION_DATE
HR_BEN_CALC_PROCESS_DATES
HR_BEN_CALC_TERMINATION_DATE
HR_BEN_CALC_WAIT_DATE_CONTR
HR_BEN_CALC_WAIT_DATE_ELIGB
HR_BEN_CALC_WAIT_DATE_TERMI
HR_BEN_CHECK_COREQUISITES
HR_BEN_CHECK_CURRENCY_SPLIT
HR_BEN_CHECK_ELIDT_AFTER_BEGDA
HR_BEN_CHECK_EVENT_ACTIONS
HR_BEN_CHECK_HSA_ELIGIBILITY
HR_BEN_CHECK_LIMITS_EE_CONTRIB
HR_BEN_CHECK_MICRO_ELIGIBILITY
HR_BEN_CHECK_ONE_ACTION_ALLOW
HR_BEN_CHECK_PARTICIPATION
HR_BEN_CHECK_PREREQUISITES
HR_BEN_CHECK_SELECTION
HR_BEN_CHECK_SELECTION_FILLED
HR_BEN_CHECK_STAND_PLANS_EXIST
HR_BEN_CHECK_ZIP_ELIGIBILITY
HR_BEN_CONVERT_BAPIEVENT_EVENT
HR_BEN_CONVERT_BPCAT_TO_INFTY
HR_BEN_CONVERT_INFTY_TO_BPCAT
HR_BEN_CONVERT_OPERA_TO_ACTION
HR_BEN_CREATE_PLANS
HR_BEN_DELETE_PLANS
HR_BEN_FILL_STANDARD_SELECTION
HR_BEN_GET_ACTUAL_HOURS
HR_BEN_GET_COREQUISITES
HR_BEN_GET_CURRENCY
HR_BEN_GET_DATE_INTERSECTION
HR_BEN_GET_EE_BENEFIT_DATA
HR_BEN_GET_ENROLLMENT_REASONS
HR_BEN_GET_EVENT_LIST
HR_BEN_GET_GROUP_AGE
HR_BEN_GET_GROUP_LOS
HR_BEN_GET_GROUP_SAL
HR_BEN_GET_KEY_DATE
HR_BEN_GET_KEY_DATE_INTERSECT
HR_BEN_GET_LIMITS_CONTRIB
HR_BEN_GET_LIMITS_COVERAGE
HR_BEN_GET_OFFER
HR_BEN_GET_OPEN_ENROLL_PERIOD
HR_BEN_GET_PLAN_CATEGORY
HR_BEN_GET_PLAN_COST
HR_BEN_GET_PLAN_COVERAGE
HR_BEN_GET_PLAN_CREDIT
HR_BEN_GET_PLAN_EE_CONTRIB
HR_BEN_GET_PLAN_ER_CONTRIB
HR_BEN_GET_PLAN_PERIOD
HR_BEN_GET_PLAN_SALARY
HR_BEN_GET_PLAN_TYPE
HR_BEN_GET_PRE_OFFER
HR_BEN_GET_PROCESS_DATES
HR_BEN_GET_RULE_COVERAGE
HR_BEN_GET_RULE_CREDIT
HR_BEN_GET_RULE_EE_CONTRIB
HR_BEN_GET_RULE_ER_CONTRIB
HR_BEN_GET_TIME_INTERVAL
HR_BEN_MAP_SELOPT_TO_DYNSEL
HR_BEN_PREPARE_FOR_EOI
HR_BEN_READ_EE_BENEFIT_DATA
HR_BEN_READ_EE_ZIP_CODE
HR_BEN_READ_EXISTING_PLANS
HR_BEN_READ_INFOTYPES
HR_BEN_SET_RETURN_TO_WORST
HR_BEN_TEST_ADMIN_COREQ
HR_BEN_TEST_ADMIN_ELIGB
HR_BEN_TEST_ADMIN_ISCRQ
HR_BEN_TEST_ADMIN_PRREQ
HR_BEN_TEST_HSA_ISCRQ
HR_BEN_TEST_PARAM_PRETX

IMPORTING Parameters details for EXIT_SAPLHRBEN00GENERAL_015

_PERNR - Personnel Number

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

_BAREA - Benefit Area

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

_BELIG - Eligibility Rule Variant

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

_ELIGR - Eligibility Grouping

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

_EDATE - Key Date

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

EXPORTING Parameters details for EXIT_SAPLHRBEN00GENERAL_015

_HOURS_OK - Required Minimum Working Time Reached?

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

EXCEPTIONS details

STANDARD_CALCULATION - Check Minimum Working Time Using Standard Procedure

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

CUSTOMER_ERROR - Error When Checking Minimum Working Time

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

Copy and paste ABAP code example for EXIT_SAPLHRBEN00GENERAL_015 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, "   
lv__hours_ok  TYPE PSKEY, "   
lv_standard_calculation  TYPE PSKEY, "   
lv__barea  TYPE T5UB3-BAREA, "   
lv_customer_error  TYPE T5UB3, "   
lv__belig  TYPE T5UDV-BELIG, "   
lv__eligr  TYPE T5UB4-ELIGR, "   
lv__edate  TYPE SY-DATUM. "   

  CALL FUNCTION 'EXIT_SAPLHRBEN00GENERAL_015'  "Function Exit in Form CHECK_ELIG_SERVICE
    EXPORTING
         _PERNR = lv__pernr
         _BAREA = lv__barea
         _BELIG = lv__belig
         _ELIGR = lv__eligr
         _EDATE = lv__edate
    IMPORTING
         _HOURS_OK = lv__hours_ok
    EXCEPTIONS
        STANDARD_CALCULATION = 1
        CUSTOMER_ERROR = 2
. " EXIT_SAPLHRBEN00GENERAL_015




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLHRBEN00GENERAL_015

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 BAREA FROM T5UB3 INTO @DATA(ld__barea).
 
 
"SELECT single BELIG FROM T5UDV INTO @DATA(ld__belig).
 
"SELECT single ELIGR FROM T5UB4 INTO @DATA(ld__eligr).
 
"SELECT single DATUM FROM SY INTO @DATA(ld__edate).
 


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!