SAP EXIT_SAPLRPDC_400 Function Module for HR-BAV: User Exit for Determination of Difference Amounts
EXIT_SAPLRPDC_400 is a standard exit saplrpdc 400 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for HR-BAV: User Exit for Determination of Difference Amounts 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 saplrpdc 400 FM, simply by entering the name EXIT_SAPLRPDC_400 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XAV1
Program Name: SAPLXAV1
Main Program:
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLRPDC_400 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_SAPLRPDC_400'"HR-BAV: User Exit for Determination of Difference Amounts.
EXPORTING
PERNR_EXIT = "
KEYDT_EXIT = "
I19_PROTO = "
TABLES
TEX400_COLLECT_PENS_CUT = "
TEX400_ALLAMOUNTTAB = "
TEX400_DEPENDENT = "
* TEX400_ERROR_TAB = "Transfer Table for HR Error Handling
* TEX400_DEPAMOUNTTAB = "
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.RP_01C_ADD_PERIOD_TO_DATE
RP_01C_ADD_SUB_PENSION
RP_01C_AGE_YEARS
RP_01C_AZ_MNTELUNG
RP_01C_BASE_CALCULATION
RP_01C_BASE_DATES
RP_01C_BASE_PERIOD
RP_01C_BAV_ERROR_ROUTINE
RP_01C_BEGIN_PAYMENT
RP_01C_BV_ADDITIONAL_PAYMENT
RP_01C_BV_ADDITIONAL_TIME
RP_01C_BV_CONTRIBUTION
RP_01C_BV_FIXED_ALLOWANCE
RP_01C_BV_GEHALTSUMWANDLUNG
RP_01C_BV_GUARANTEED_PAYMENT
RP_01C_BV_INCOME
RP_01C_BV_JAHRESBAUSTEIN
RP_01C_BV_SERV_PERIOD
RP_01C_BV_SERV_PERIOD_INCOME
RP_01C_CHARGE_AMOUNT
RP_01C_CHECK_COLLISION
RP_01C_COLLISION
RP_01C_CONTINUOUS_PERIODS
RP_01C_CONTRIBUTION
RP_01C_CONTRIBUTION_AVMG
RP_01C_CONTRIBUTION_CALC
RP_01C_CUT_DEPENDENT
RP_01C_DATE_CONVERSION
RP_01C_DAYS_OF_PERIOD
RP_01C_DI_DATE_OF_INCREASE
RP_01C_DZPRZ_AVERAGE
RP_01C_EA_LEGAL67
RP_01C_ENTRYDATE
RP_01C_FILL_SERVICE_YEARS
RP_01C_FULL_MONTHS_COMPUTE
RP_01C_GD_DATE_OF_RETIREMENT
RP_01C_GD_DATE_OF_SEPARATION
RP_01C_GET_DEPENDENTS
RP_01C_GET_SERVICE_YEARS
RP_01C_HK_HBL_KUERZUNG
RP_01C_HK_HBL_PERCENTAGE
RP_01C_INCREASE_DATES
RP_01C_INCREASE_DATES_SAVE
RP_01C_INITIALIZE_RPDC
RP_01C_MNTELUNG
RP_01C_NC_NET_CALCULATION
RP_01C_NON_LAPS_ENTITLEMENT
RP_01C_OVERALL_IMPUTATION
RP_01C_REPAYMENT_DEDUCTIONS
RP_01C_RI_INTEREST_STGRP
RP_01C_RI_INTEREST_STRER
RP_01C_SERV_PERIOD_CALC
RP_01C_SINGLE_IMPUTATION
RP_01C_SYEAR_DZPRZ_AVERAGE
RP_01C_SYEAR_DZPRZ_PER_YEAR
RP_01C_TIME_COMPUTE
RP_01C_TRIGGER_REPAYMENT
RP_01C_UNV_ANWARTSCHAFT
RP_01C_VALUATE_SERVICE_YEARS
RP_01C_VB_NET_CALCULATION
RP_01C_VF_STANDARDBAUSTEIN
RP_01C_WAITING_PERIOD
RP_01C_ZI_INTEREST_KAP
RP_01C_ZL_P0021_BENEFIT
IMPORTING Parameters details for EXIT_SAPLRPDC_400
PERNR_EXIT -
Data type: PERNR-PERNROptional: No
Call by Reference: No ( called with pass by value option)
KEYDT_EXIT -
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
I19_PROTO -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_SAPLRPDC_400
TEX400_COLLECT_PENS_CUT -
Data type: P01C_CPENSOptional: No
Call by Reference: No ( called with pass by value option)
TEX400_ALLAMOUNTTAB -
Data type: P01AP_ALLAMOUNTTABOptional: No
Call by Reference: No ( called with pass by value option)
TEX400_DEPENDENT -
Data type: P01C_BFAMIOptional: No
Call by Reference: No ( called with pass by value option)
TEX400_ERROR_TAB - Transfer Table for HR Error Handling
Data type: HRERROROptional: Yes
Call by Reference: Yes
TEX400_DEPAMOUNTTAB -
Data type: P01C_BDALAOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPLRPDC_400 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_exit | TYPE PERNR-PERNR, " | |||
| lt_tex400_collect_pens_cut | TYPE STANDARD TABLE OF P01C_CPENS, " | |||
| lv_keydt_exit | TYPE SY-DATUM, " | |||
| lt_tex400_allamounttab | TYPE STANDARD TABLE OF P01AP_ALLAMOUNTTAB, " | |||
| lv_i19_proto | TYPE P01AP_ALLAMOUNTTAB, " | |||
| lt_tex400_dependent | TYPE STANDARD TABLE OF P01C_BFAMI, " | |||
| lt_tex400_error_tab | TYPE STANDARD TABLE OF HRERROR, " | |||
| lt_tex400_depamounttab | TYPE STANDARD TABLE OF P01C_BDALA. " |
|   CALL FUNCTION 'EXIT_SAPLRPDC_400' "HR-BAV: User Exit for Determination of Difference Amounts |
| EXPORTING | ||
| PERNR_EXIT | = lv_pernr_exit | |
| KEYDT_EXIT | = lv_keydt_exit | |
| I19_PROTO | = lv_i19_proto | |
| TABLES | ||
| TEX400_COLLECT_PENS_CUT | = lt_tex400_collect_pens_cut | |
| TEX400_ALLAMOUNTTAB | = lt_tex400_allamounttab | |
| TEX400_DEPENDENT | = lt_tex400_dependent | |
| TEX400_ERROR_TAB | = lt_tex400_error_tab | |
| TEX400_DEPAMOUNTTAB | = lt_tex400_depamounttab | |
| . " EXIT_SAPLRPDC_400 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLRPDC_400
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_exit). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_keydt_exit). | ||||
Search for further information about these or an SAP related objects