SAP ABAP IMG Activity HR_PBS_00_VG_INDIV_A (BAdI: Minimum Pension)
Hierarchy
SAP_HRCDE (Software Component) Sub component SAP_HRCDE of SAP_HR
   PY-DE-PS-VA (Application Component) Pension Administration
     P01PBSVAVG_IMG (Package) HR PAdm: Public Sector Pensions Act (IMG)
IMG Activity
ID HR_PBS_00_VG_INDIV_A BAdI: Minimum Pension  
Transaction Code S_L4H_49001451   (empty) 
Created on 20100702    
Customizing Attributes HR_PBS_01_VG_2_2   Pension Calculation (Optional Activity / Non-Critical) 
Customizing Activity HR_PBS_00_VG_INDIV_A   BAdI: Minimum Pension 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRPBSDE_B_VAVG_MV    

Use

The Business Add-In (BAdI) HRPBSDE_B_VAVG_MV enables influencing of the percentage, salary group and salary level, and the increase amount of the minimum pension.

For this, the interface IF_EX_HRPBSDE_B_VAVG_MV provides three methods:

GET_VHS_MV (Determine Percentage of Minimum Pension)
In the previous calculation, the percentages of the minimum pension are defined in constants of the view V_T511K (payroll constants) (OVMKR, OVMUN, OVMVH, OVMVP, OVVMV). By implementing these methods, you can override the required percentage individually. The percentage is transferred as changing parameter CV_VHS of type P_99_PBSCA_VHS. If the export parameter EV_ANPF_OV69E is set to 'X' (ABAP_TRUE), the adjustment factor section 69e BeamtVG is considered when calculating the minimum pension.

  • GET_MERKMALE_AUMV (Determine Pay Scale Features of Minimum Pension)
    Currently, the relevant salary group and salary level for calculating the office-independent minimum pension is determined using the views V_T5D87 (Assignment of Public Sector Function Models) and V_T5D82 (Pay Scale Information for Calculation of Minimum Pension). You can use this method to override these pay scale features.
  • GET_ERHOEHUNGSBETRAG (Determine Increase Amount of Minimum Pension)
    In the current pension calculation, the amount is specified using the constants OVERM (Increase Amount Minimum Pension) and OVERO (Increase Amount Minimum Pension East) in the view V_T511P (Payroll Constants). Since changing the constants would be a modification, you can use this method to override the increase amount.

Requirements

Standard settings

If no customer-specific implementation is activated, the methods of the fallback class CL_HRPBSDE_B_VAVG_MV are called.

Activities

If required, create your own implementation of the BAdI to influence the relevant values such as percentage, pay scale features, or increase amount.

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

The methods contain the following parameters:

  • GET_VHS_MV:
    • IV_PERNR: Personnel number
    • IV_DATE: Key date
    • IS_P0001: The infotype Organizational Assignment (0001) valid on the key date
    • IS_VERSORGUNG: Pension structure
    • IV_ART_MV: Type of minimum pension (01: office-dependent minimum pension, 02: office-independent minimum pension, 03: minimum reduction limit (factor 1.5), 04: minimum reduction limit (factor 1.25 version until 1998) )
    • IO_MSG_HANDLER: Instance of the message handler
    • EV_ANPF_OV69E: Export parameter. Feature that determines whether the adjustment factor according to BeamtVG section 69e is to be used. If it is to be used, this parameter must have the value 'X' (ABAP_TRUE).
    • EV_IS_OK: Export parameter. Indicator as to whether the method was performed without errors. If this parameter is initial, further processing is terminated and the error messages of the message handler are issued.
    • CV_VHS: Changing parameter. Percentage of the minimum pension.

  • GET_MERKMALE_AUMV (the parameters of the same name have the same meaning as for the method GET_VHS_MV, therefore only additional parameters are described here):
    • CS_TARIF_AUMV: Changing parameter. The pay scale structure for the pay scale features of the minimum pension.

  • GET_ERHOEHUNGSBETRAG (the parameters of the same name have the same meaning as for the method GET_VHS_MV, therefore only additional parameters are described here):
    • CV_ERHOEHUNGSBETRAG: Changing parameter. Increase amount of the minimum pension.

If you create a customer-specific implementation, note that you must set the parameter EV_IS_OK to the value 'X' (ABAP_TRUE). Otherwise, the system assumes there is an error and aborts the processing.
You can transfer error notifications that occur during customer-specific processing to the calling routine by calling the method IF_HRPBS00_MESSAGE_HANDLER~ADD_MESSAGE. In this case, you must set the parameter EV_IS_OK to the value SPACE (ABAP_FALSE).

Example

For example, to set the increase amount for DNeuG (Federal), you could use the following code:

METHOD if_ex_hrpbsde_b_vavg_mv~get_erhoehungsbetrag.
* Increase amount
DATA: lv_result TYPE abap_bool,
ls_t500p TYPE t500p,
lv_dummy TYPE string,
ls_msg TYPE symsg.

ev_is_ok = abap_true.

* Determine MOLGA
ls_t500p = cl_hr_t500p=>read( is_p0001-werks ).

IF ls_t500p IS INITIAL.
MESSAGE e400(hrpbsdevavg)
WITH 'T500P' is_p0001-werks
INTO lv_dummy.
MOVE-CORRESPONDING sy TO ls_msg.
io_msg_handler->add_message(
i_pernr = iv_pernr
i_msg = ls_msg
i_level = space
).
ev_is_ok = abap_false.
ENDIF.

lv_result = cl_hrdepbsvavg_dienstrecht=>dneug_bund(
iv_molga = ls_t500p-molga
iv_trfar = is_versorgung-tarif-trfar
iv_trfgb = is_versorgung-tarif-trfgb
).

* Federation
CHECK lv_result EQ abap_true.

cv_erhoehungsbetrag = '30.68'.

ENDMETHOD.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20100702 
SAP Release Created in