Ansicht
Dokumentation

HR_PBS_00_VG_INDIV_A - BAdI: Minimum Pension

HR_PBS_00_VG_INDIV_A - BAdI: Minimum Pension

TXBHW - Original Tax Base Amount in Local Currency   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

You use Business Add-In (BAdI) HRPBSDE_B_VAVG_MV to influence the percentage, the salary group and salary level, and the increase amount of the minimum pension.

Interface IF_EX_HRPBSDE_B_VAVG_MV provides four methods to do this:

  • GET_VHS_MV(calculate percentage rate for minimum pension)
    In the calculation that was used up until now, the percentage rates for the minimum pension were stored in view V_T511K(Payroll Constants) (OVMKR, OVMUN, OVMVH, OVMVP, OVVMV). You can override the desired percentage rate individually by implementing this method. The percentage rate will be transferred as changing parameter CV_VHS of type P_99_PBSCA_VHS. If export parameter EV_ANPF_OV69E equals 'X' (ABAP_TRUE), the adjustment factor § 69e BeamtVG is considered when calculating the minimum pension.
  • GET_MERKMALE_AUMV(calculate pay scale features of minimum pension)
    At the moment, the relevant salary group and salary level for calculating the position-independent minimum pension is determined using views V_T5D87 (Assignment of Public Sector Function Models) and V_T5D82(Pay Scale Information for Calculating Minimum Pensions). You can use this method to override these pay scale features.
  • GET_ERHOEHUNGSBETRAG(calculate increase amount of minimum pension)
    In the current pension calculation, the amount is pre-defined using constants OVERM(Increase Amount of Minimum Pension) and OVERO(Increase Amount of Minimum Pension East) in view V_T511P(Payroll Constants). As changing the constants would be a modification, you can use this method to override the increase amount.
  • WEITERE_LOHNARTEN_AUMV (Include Other Wage Types in Position-Indep. Minimum Pension)
    When calculating the position-independent minimum pension, you can use this method to define wage types in changing parameter CT_WEITERE_LOHNARTEN, which will be taken into consideration in the calculation, in addition to infotype 0008. This method also allows you to use changing parameter VS_P0008 to change infotype 0008, which is used for the evaluation, and, for example, to remove wage types.

If you do not activate any customer-specific implementation, the methods of fallback class CL_HRPBSDE_B_VAVG_MV will be called.

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

For information about the implementation of BAdIs in the context 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 Organizational Assignment infotype (0001) valid on the key date.

  • IS_VERSORGUNG: Pension Structure

  • IS_DIENSTRECHT_CRITERIA:,,Structure with data on public services regulation [optional parameter]

  • IV_ART_MV: Type of minimum pension (01: position-based minimum pension, 02: position-independent minimum pension, 03: minimum reduction limit (factor 1.5), 04: minimum reduction limit (factor 1.25 version up to 1998) )

  • IO_MSG_HANDLER: Instance of the message handler

  • EV_ANPF_OV69E: Export Parameter. Feature that defines whether the adjustment factor according to Sec. 69e BeamtVG applies. If it applies, this parameter must have the value 'X' (ABAP_TRUE).

  • EV_IS_OK: Export Parameter. Indicates whether the method was executed without an error. If this parameter is initial, the system terminates further processing and displays the error messages of the message handler.

  • CV_VHS: Changing parameter. Percentage rate of minimum pension.

  • GET_MERKMALE_AUMV (the parameters with the same name have the same meaning as they do in method GET_VHS_MV. Therefore, only the 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 with the same name have the same meaning as they do in method GET_VHS_MV. Therefore, only the additional parameters are described here):
  • CV_ERHOEHUNGSBETRAG: Changing parameter. Increase amount of minimum pension.

  • WEITERE_LOHNARTEN_AUMV (the parameters with the same name have the same meaning as they do in method GET_VHS_MV. Therefore, only the additional parameters are described here):
  • CT_WEITERE_LOHNARTEN: Changing parameter. Wage types that must be considered in addition to the wage types included in infotype 008 when calculating the minimum pension.

  • CS_P0008: Changing parameter. Contains infotype 0008, which is used for the evaluation and can be changed, for example, to emove wage types that are already available.

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

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.






General Material Data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 11673 Date: 20240523 Time: 192825     sap01-206 ( 165 ms )