SAP HR_PL_PY_GROSSDOWN_INIT Function Module for Fill grossdown tables
HR_PL_PY_GROSSDOWN_INIT is a standard hr pl py grossdown init SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Fill grossdown tables 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 hr pl py grossdown init FM, simply by entering the name HR_PL_PY_GROSSDOWN_INIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRPAYPLEVAL
Program Name: SAPLHRPAYPLEVAL
Main Program: SAPLHRPAYPLEVAL
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_PL_PY_GROSSDOWN_INIT 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_PL_PY_GROSSDOWN_INIT'"Fill grossdown tables.
EXPORTING
GRO_PERNR = "Personal number
GRO_CLUSTER_ID = "PCL2 cluster id
TABLES
* GET_GD_ZUS = "ZUS grossdown table
* GET_GD_PIT = "TAX grossdown table
* GET_GD_ZDR = "ZDR grossdown table
EXCEPTIONS
NO_RESULTS = 1 EVP_NOT_PERPARED = 2
IMPORTING Parameters details for HR_PL_PY_GROSSDOWN_INIT
GRO_PERNR - Personal number
Data type: PERNR-PERNROptional: No
Call by Reference: No ( called with pass by value option)
GRO_CLUSTER_ID - PCL2 cluster id
Data type: PCL2-RELIDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for HR_PL_PY_GROSSDOWN_INIT
GET_GD_ZUS - ZUS grossdown table
Data type: PPLPY_GD_ZUS_TOptional: Yes
Call by Reference: No ( called with pass by value option)
GET_GD_PIT - TAX grossdown table
Data type: PPLPY_GD_PIT_TOptional: Yes
Call by Reference: No ( called with pass by value option)
GET_GD_ZDR - ZDR grossdown table
Data type: PPLPY_GD_ZDR_TOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_RESULTS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EVP_NOT_PERPARED - call HR_PL_PY_EVL first
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HR_PL_PY_GROSSDOWN_INIT 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_gro_pernr | TYPE PERNR-PERNR, " | |||
| lt_get_gd_zus | TYPE STANDARD TABLE OF PPLPY_GD_ZUS_T, " | |||
| lv_no_results | TYPE PPLPY_GD_ZUS_T, " | |||
| lt_get_gd_pit | TYPE STANDARD TABLE OF PPLPY_GD_PIT_T, " | |||
| lv_gro_cluster_id | TYPE PCL2-RELID, " | |||
| lv_evp_not_perpared | TYPE PCL2, " | |||
| lt_get_gd_zdr | TYPE STANDARD TABLE OF PPLPY_GD_ZDR_T. " |
|   CALL FUNCTION 'HR_PL_PY_GROSSDOWN_INIT' "Fill grossdown tables |
| EXPORTING | ||
| GRO_PERNR | = lv_gro_pernr | |
| GRO_CLUSTER_ID | = lv_gro_cluster_id | |
| TABLES | ||
| GET_GD_ZUS | = lt_get_gd_zus | |
| GET_GD_PIT | = lt_get_gd_pit | |
| GET_GD_ZDR | = lt_get_gd_zdr | |
| EXCEPTIONS | ||
| NO_RESULTS = 1 | ||
| EVP_NOT_PERPARED = 2 | ||
| . " HR_PL_PY_GROSSDOWN_INIT | ||
ABAP code using 7.40 inline data declarations to call FM HR_PL_PY_GROSSDOWN_INIT
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_gro_pernr). | ||||
| "SELECT single RELID FROM PCL2 INTO @DATA(ld_gro_cluster_id). | ||||
Search for further information about these or an SAP related objects