SAP HR_BEN_PAY_EVALUATE_EE_CONTRIB Function Module for









HR_BEN_PAY_EVALUATE_EE_CONTRIB is a standard hr ben pay evaluate ee contrib SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 ben pay evaluate ee contrib FM, simply by entering the name HR_BEN_PAY_EVALUATE_EE_CONTRIB into the relevant SAP transaction such as SE37 or SE38.

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



Function HR_BEN_PAY_EVALUATE_EE_CONTRIB 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_BEN_PAY_EVALUATE_EE_CONTRIB'"
EXPORTING
EE_BENEFIT_DATA = "
CALCMOLGA = "
PLAN_ZEINH = "
PLAN_MODEL = "
APER = "
* SW_PROT = "
BEN_SERVICES = "
H5UBA = "
BEGDA = "
PARDT = "
EE_CONTRIB = "
SALRY = "
EECON = "
CUNIT = "
CALC_CURRENCY = "

IMPORTING
PRE_TAX_CONTRIB = "
POST_TAX_CONTRIB = "
SUBRC = "

TABLES
IT = "
CRT = "
V0 = "
* PTEXT = "
ERROR_TABLE = "
.



IMPORTING Parameters details for HR_BEN_PAY_EVALUATE_EE_CONTRIB

EE_BENEFIT_DATA -

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

CALCMOLGA -

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

PLAN_ZEINH -

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

PLAN_MODEL -

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

APER -

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

SW_PROT -

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

BEN_SERVICES -

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

H5UBA -

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

BEGDA -

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

PARDT -

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

EE_CONTRIB -

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

SALRY -

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

EECON -

Data type: T74FD-EECON
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)

CALC_CURRENCY -

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

EXPORTING Parameters details for HR_BEN_PAY_EVALUATE_EE_CONTRIB

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)

SUBRC -

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

TABLES Parameters details for HR_BEN_PAY_EVALUATE_EE_CONTRIB

IT -

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

CRT -

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

V0 -

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

PTEXT -

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

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_BEN_PAY_EVALUATE_EE_CONTRIB 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:
lt_it  TYPE STANDARD TABLE OF PC207, "   
lv_ee_benefit_data  TYPE RPBENEEDAT, "   
lv_pre_tax_contrib  TYPE P0169-EEAMT, "   
lv_calcmolga  TYPE T5UB3-MOLGA, "   
lv_plan_zeinh  TYPE T549R-ZEINH, "   
lv_plan_model  TYPE T74HE-MODEL, "   
lv_aper  TYPE PC2APER, "   
lv_sw_prot  TYPE C, "   
lv_ben_services  TYPE IF_HRBEN_CE_PAYROLL_SERVICES, "   
lt_crt  TYPE STANDARD TABLE OF PC22Y, "   
lv_h5uba  TYPE T5UBA, "   
lv_post_tax_contrib  TYPE P0169-PTAMT, "   
lt_v0  TYPE STANDARD TABLE OF PC20C, "   
lv_begda  TYPE P0169-BEGDA, "   
lv_subrc  TYPE SY-SUBRC, "   
lv_pardt  TYPE P0169-PARDT, "   
lt_ptext  TYPE STANDARD TABLE OF PLOG_TEXT, "   
lv_ee_contrib  TYPE RPBEN_CONTRIBUTIONS, "   
lt_error_table  TYPE STANDARD TABLE OF RPBENERR, "   
lv_salry  TYPE PC207-BETRG, "   
lv_eecon  TYPE T74FD-EECON, "   
lv_cunit  TYPE T74FD-CUNIT, "   
lv_calc_currency  TYPE T500C-WAERS. "   

  CALL FUNCTION 'HR_BEN_PAY_EVALUATE_EE_CONTRIB'  "
    EXPORTING
         EE_BENEFIT_DATA = lv_ee_benefit_data
         CALCMOLGA = lv_calcmolga
         PLAN_ZEINH = lv_plan_zeinh
         PLAN_MODEL = lv_plan_model
         APER = lv_aper
         SW_PROT = lv_sw_prot
         BEN_SERVICES = lv_ben_services
         H5UBA = lv_h5uba
         BEGDA = lv_begda
         PARDT = lv_pardt
         EE_CONTRIB = lv_ee_contrib
         SALRY = lv_salry
         EECON = lv_eecon
         CUNIT = lv_cunit
         CALC_CURRENCY = lv_calc_currency
    IMPORTING
         PRE_TAX_CONTRIB = lv_pre_tax_contrib
         POST_TAX_CONTRIB = lv_post_tax_contrib
         SUBRC = lv_subrc
    TABLES
         IT = lt_it
         CRT = lt_crt
         V0 = lt_v0
         PTEXT = lt_ptext
         ERROR_TABLE = lt_error_table
. " HR_BEN_PAY_EVALUATE_EE_CONTRIB




ABAP code using 7.40 inline data declarations to call FM HR_BEN_PAY_EVALUATE_EE_CONTRIB

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 MOLGA FROM T5UB3 INTO @DATA(ld_calcmolga).
 
"SELECT single ZEINH FROM T549R INTO @DATA(ld_plan_zeinh).
 
"SELECT single MODEL FROM T74HE INTO @DATA(ld_plan_model).
 
 
 
 
 
 
"SELECT single PTAMT FROM P0169 INTO @DATA(ld_post_tax_contrib).
 
 
"SELECT single BEGDA FROM P0169 INTO @DATA(ld_begda).
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_subrc).
 
"SELECT single PARDT FROM P0169 INTO @DATA(ld_pardt).
 
 
 
 
"SELECT single BETRG FROM PC207 INTO @DATA(ld_salry).
 
"SELECT single EECON FROM T74FD INTO @DATA(ld_eecon).
 
"SELECT single CUNIT FROM T74FD INTO @DATA(ld_cunit).
 
"SELECT single WAERS FROM T500C INTO @DATA(ld_calc_currency).
 


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!