SAP HRAE_PBS_GET_ELIGIBLE_LIST Function Module for Eligibility: Get All Salary Compoents The EE Is Eligible for
HRAE_PBS_GET_ELIGIBLE_LIST is a standard hrae pbs get eligible list SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Eligibility: Get All Salary Compoents The EE Is Eligible for 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 hrae pbs get eligible list FM, simply by entering the name HRAE_PBS_GET_ELIGIBLE_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRPAYAREPBS03
Program Name: SAPLHRPAYAREPBS03
Main Program: SAPLHRPAYAREPBS03
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HRAE_PBS_GET_ELIGIBLE_LIST 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 'HRAE_PBS_GET_ELIGIBLE_LIST'"Eligibility: Get All Salary Compoents The EE Is Eligible for.
EXPORTING
PERNR = "
EFF_DATE = "Date
EMP_INFO = "HR-CM: Employee Data for Compensation Administration
IMPORTING
COMP_AREA = "Compensation area
COMP_GROUP = "Compensation group
TABLES
ELIG_TAB = "Salary packaging Salary component information table
EXCEPTIONS
NO_SAL_COMP = 1
IMPORTING Parameters details for HRAE_PBS_GET_ELIGIBLE_LIST
PERNR -
Data type: PERNR-PERNROptional: No
Call by Reference: No ( called with pass by value option)
EFF_DATE - Date
Data type: DATUMOptional: No
Call by Reference: No ( called with pass by value option)
EMP_INFO - HR-CM: Employee Data for Compensation Administration
Data type: PAEP_EMPINFOOptional: No
Call by Reference: Yes
EXPORTING Parameters details for HRAE_PBS_GET_ELIGIBLE_LIST
COMP_AREA - Compensation area
Data type: T71C3-CAREAOptional: No
Call by Reference: Yes
COMP_GROUP - Compensation group
Data type: T71C1-CMPGROptional: No
Call by Reference: Yes
TABLES Parameters details for HRAE_PBS_GET_ELIGIBLE_LIST
ELIG_TAB - Salary packaging Salary component information table
Data type: PAEP_COMPONENT_INFOOptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_SAL_COMP -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HRAE_PBS_GET_ELIGIBLE_LIST 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 PERNR-PERNR, " | |||
| lt_elig_tab | TYPE STANDARD TABLE OF PAEP_COMPONENT_INFO, " | |||
| lv_comp_area | TYPE T71C3-CAREA, " | |||
| lv_no_sal_comp | TYPE T71C3, " | |||
| lv_eff_date | TYPE DATUM, " | |||
| lv_comp_group | TYPE T71C1-CMPGR, " | |||
| lv_emp_info | TYPE PAEP_EMPINFO. " |
|   CALL FUNCTION 'HRAE_PBS_GET_ELIGIBLE_LIST' "Eligibility: Get All Salary Compoents The EE Is Eligible for |
| EXPORTING | ||
| PERNR | = lv_pernr | |
| EFF_DATE | = lv_eff_date | |
| EMP_INFO | = lv_emp_info | |
| IMPORTING | ||
| COMP_AREA | = lv_comp_area | |
| COMP_GROUP | = lv_comp_group | |
| TABLES | ||
| ELIG_TAB | = lt_elig_tab | |
| EXCEPTIONS | ||
| NO_SAL_COMP = 1 | ||
| . " HRAE_PBS_GET_ELIGIBLE_LIST | ||
ABAP code using 7.40 inline data declarations to call FM HRAE_PBS_GET_ELIGIBLE_LIST
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 PERNR INTO @DATA(ld_pernr). | ||||
| "SELECT single CAREA FROM T71C3 INTO @DATA(ld_comp_area). | ||||
| "SELECT single CMPGR FROM T71C1 INTO @DATA(ld_comp_group). | ||||
Search for further information about these or an SAP related objects