SAP EXIT_SAPLHRBEN00GENERAL_028 Function Module for Function exit within function HR_BEN_CALC_BENEFIT_EE_CONTRIB









EXIT_SAPLHRBEN00GENERAL_028 is a standard exit saplhrben00general 028 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 within function HR_BEN_CALC_BENEFIT_EE_CONTRIB 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 028 FM, simply by entering the name EXIT_SAPLHRBEN00GENERAL_028 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_028 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_028'"Function exit within function HR_BEN_CALC_BENEFIT_EE_CONTRIB
EXPORTING
_EE_BENEFIT_DATA = "
_PTAMT = "
_PTUNT = "
_PSTTX = "
_EECRL = "
_EECRN = "
* _IS_BONUS = ' ' "
_BPLAN = "
_DATUM = "
_SALRY = "
_CUNIT = "
_EEPCT = "
_EEAMT = "
_EEUNT = "
_PTPCT = "

IMPORTING
_PRE_TAX_CONTRIB = "
_POST_TAX_CONTRIB = "

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_028

_EE_BENEFIT_DATA -

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

_PTAMT -

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

_PTUNT -

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

_PSTTX -

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

_EECRL -

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

_EECRN -

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

_IS_BONUS -

Data type: C
Default: ' '
Optional: Yes
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)

_DATUM -

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

_SALRY -

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

_CUNIT -

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

_EEPCT -

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

_EEAMT -

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

_EEUNT -

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

_PTPCT -

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

EXPORTING Parameters details for EXIT_SAPLHRBEN00GENERAL_028

_PRE_TAX_CONTRIB -

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

_POST_TAX_CONTRIB -

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

EXCEPTIONS details

STANDARD_CALCULATION -

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

CUSTOMER_ERROR -

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

Copy and paste ABAP code example for EXIT_SAPLHRBEN00GENERAL_028 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__ee_benefit_data  TYPE RPBENEEDAT, "   
lv__pre_tax_contrib  TYPE P0169-EEAMT, "   
lv_standard_calculation  TYPE P0169, "   
lv__ptamt  TYPE P0379-PTAMT, "   
lv__ptunt  TYPE P0379-PTUNT, "   
lv__psttx  TYPE P0379-PSTTX, "   
lv__eecrl  TYPE T74FH-EECRL, "   
lv__eecrn  TYPE T74FH-EECRN, "   
lv__is_bonus  TYPE C, "   ' '
lv__bplan  TYPE T5UBA-BPLAN, "   
lv_customer_error  TYPE T5UBA, "   
lv__post_tax_contrib  TYPE P0169-PTAMT, "   
lv__datum  TYPE SY-DATUM, "   
lv__salry  TYPE P0008-ANSAL, "   
lv__cunit  TYPE T74FD-CUNIT, "   
lv__eepct  TYPE P0379-EEPCT, "   
lv__eeamt  TYPE P0379-EEAMT, "   
lv__eeunt  TYPE P0379-EEUNT, "   
lv__ptpct  TYPE P0379-PTPCT. "   

  CALL FUNCTION 'EXIT_SAPLHRBEN00GENERAL_028'  "Function exit within function HR_BEN_CALC_BENEFIT_EE_CONTRIB
    EXPORTING
         _EE_BENEFIT_DATA = lv__ee_benefit_data
         _PTAMT = lv__ptamt
         _PTUNT = lv__ptunt
         _PSTTX = lv__psttx
         _EECRL = lv__eecrl
         _EECRN = lv__eecrn
         _IS_BONUS = lv__is_bonus
         _BPLAN = lv__bplan
         _DATUM = lv__datum
         _SALRY = lv__salry
         _CUNIT = lv__cunit
         _EEPCT = lv__eepct
         _EEAMT = lv__eeamt
         _EEUNT = lv__eeunt
         _PTPCT = lv__ptpct
    IMPORTING
         _PRE_TAX_CONTRIB = lv__pre_tax_contrib
         _POST_TAX_CONTRIB = lv__post_tax_contrib
    EXCEPTIONS
        STANDARD_CALCULATION = 1
        CUSTOMER_ERROR = 2
. " EXIT_SAPLHRBEN00GENERAL_028




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLHRBEN00GENERAL_028

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 EEAMT FROM P0169 INTO @DATA(ld__pre_tax_contrib).
 
 
"SELECT single PTAMT FROM P0379 INTO @DATA(ld__ptamt).
 
"SELECT single PTUNT FROM P0379 INTO @DATA(ld__ptunt).
 
"SELECT single PSTTX FROM P0379 INTO @DATA(ld__psttx).
 
"SELECT single EECRL FROM T74FH INTO @DATA(ld__eecrl).
 
"SELECT single EECRN FROM T74FH INTO @DATA(ld__eecrn).
 
DATA(ld__is_bonus) = ' '.
 
"SELECT single BPLAN FROM T5UBA INTO @DATA(ld__bplan).
 
 
"SELECT single PTAMT FROM P0169 INTO @DATA(ld__post_tax_contrib).
 
"SELECT single DATUM FROM SY INTO @DATA(ld__datum).
 
"SELECT single ANSAL FROM P0008 INTO @DATA(ld__salry).
 
"SELECT single CUNIT FROM T74FD INTO @DATA(ld__cunit).
 
"SELECT single EEPCT FROM P0379 INTO @DATA(ld__eepct).
 
"SELECT single EEAMT FROM P0379 INTO @DATA(ld__eeamt).
 
"SELECT single EEUNT FROM P0379 INTO @DATA(ld__eeunt).
 
"SELECT single PTPCT FROM P0379 INTO @DATA(ld__ptpct).
 


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!