SAP HR_PSF_IV_REDUCE_AMOUNT Function Module for
HR_PSF_IV_REDUCE_AMOUNT is a standard hr psf iv reduce amount 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 psf iv reduce amount FM, simply by entering the name HR_PSF_IV_REDUCE_AMOUNT into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRFPBS4
Program Name: SAPLHRFPBS4
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_PSF_IV_REDUCE_AMOUNT 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_PSF_IV_REDUCE_AMOUNT'".
EXPORTING
P_MOLGA = "
P_PERNR = "
P_BEGDA = "
P_TCLAS = "
P_LGART = "
CHANGING
EXP_RESULT_AMOUNT = "
EXP_ENDDA = "
EXCEPTIONS
IT0007_NOT_FOUND = 1 IT0001_NOT_FOUND = 2
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLHRFPBS4AV0_001 Exit for HRFPBS4AV0: Start Date rounding
EXIT_SAPLHRFPBS4AV0_002 Exit for HRFPBS4AV0: Promotion Date Rounding
EXIT_SAPLHRFPBS4AV0_003 Exit: Generation of seniority in the first scale of a grade
IMPORTING Parameters details for HR_PSF_IV_REDUCE_AMOUNT
P_MOLGA -
Data type: T001P-MOLGAOptional: No
Call by Reference: Yes
P_PERNR -
Data type: PRELP-PERNROptional: No
Call by Reference: Yes
P_BEGDA -
Data type: PRELP-BEGDAOptional: No
Call by Reference: Yes
P_TCLAS -
Data type: PSPAR-TCLASOptional: No
Call by Reference: Yes
P_LGART -
Data type: T511-LGARTOptional: No
Call by Reference: Yes
CHANGING Parameters details for HR_PSF_IV_REDUCE_AMOUNT
EXP_RESULT_AMOUNT -
Data type: PTBINDBW-BETRGOptional: No
Call by Reference: Yes
EXP_ENDDA -
Data type: PRELP-ENDDAOptional: No
Call by Reference: Yes
EXCEPTIONS details
IT0007_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
IT0001_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for HR_PSF_IV_REDUCE_AMOUNT 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_p_molga | TYPE T001P-MOLGA, " | |||
| lv_it0007_not_found | TYPE T001P, " | |||
| lv_exp_result_amount | TYPE PTBINDBW-BETRG, " | |||
| lv_p_pernr | TYPE PRELP-PERNR, " | |||
| lv_exp_endda | TYPE PRELP-ENDDA, " | |||
| lv_it0001_not_found | TYPE PRELP, " | |||
| lv_p_begda | TYPE PRELP-BEGDA, " | |||
| lv_p_tclas | TYPE PSPAR-TCLAS, " | |||
| lv_p_lgart | TYPE T511-LGART. " |
|   CALL FUNCTION 'HR_PSF_IV_REDUCE_AMOUNT' " |
| EXPORTING | ||
| P_MOLGA | = lv_p_molga | |
| P_PERNR | = lv_p_pernr | |
| P_BEGDA | = lv_p_begda | |
| P_TCLAS | = lv_p_tclas | |
| P_LGART | = lv_p_lgart | |
| CHANGING | ||
| EXP_RESULT_AMOUNT | = lv_exp_result_amount | |
| EXP_ENDDA | = lv_exp_endda | |
| EXCEPTIONS | ||
| IT0007_NOT_FOUND = 1 | ||
| IT0001_NOT_FOUND = 2 | ||
| . " HR_PSF_IV_REDUCE_AMOUNT | ||
ABAP code using 7.40 inline data declarations to call FM HR_PSF_IV_REDUCE_AMOUNT
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 MOLGA FROM T001P INTO @DATA(ld_p_molga). | ||||
| "SELECT single BETRG FROM PTBINDBW INTO @DATA(ld_exp_result_amount). | ||||
| "SELECT single PERNR FROM PRELP INTO @DATA(ld_p_pernr). | ||||
| "SELECT single ENDDA FROM PRELP INTO @DATA(ld_exp_endda). | ||||
| "SELECT single BEGDA FROM PRELP INTO @DATA(ld_p_begda). | ||||
| "SELECT single TCLAS FROM PSPAR INTO @DATA(ld_p_tclas). | ||||
| "SELECT single LGART FROM T511 INTO @DATA(ld_p_lgart). | ||||
Search for further information about these or an SAP related objects