SAP ABAP IMG Activity HR_PBS_01_VG_SEN_B01 (BAdI: Specify Duration Long Releases from Work Acc. to Sec.14 Par.4 BeamtVG)
Hierarchy
SAP_HRCDE (Software Component) Sub component SAP_HRCDE of SAP_HR
   PY-DE-PS-VA (Application Component) Pension Administration
     P01PBSVASEN_IMG (Package) HR-VADM: Employment Periods, Pension Percentage (IMG)
IMG Activity
ID HR_PBS_01_VG_SEN_B01 BAdI: Specify Duration Long Releases from Work Acc. to Sec.14 Par.4 BeamtVG  
Transaction Code S_L4H_49001196   (empty) 
Created on 20091209    
Customizing Attributes HR_PBS_01_VG_2_2   Pension Calculation (Optional Activity / Non-Critical) 
Customizing Activity HR_PBS_01_VG_SEN_B01   BAdI: Specify Duration Long Releases from Work Acc. to Sec.14 Par.4 BeamtVG 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRPBSDE_B_VASEN_P144    

Use

For the calculation of the minimum pension according to sec. 14 para. 4 BeamtVG (the minimum pension is not reached as a result of long release phases), a comparison pension percentage (percentage) is required.

In the standard system, this is determined as long as there are releases that were taken after July 1, 1997 (according to the releases for the quotation of training and allocation periods).

If you want to make the calculation of the comparison pension percentage also depend on a minimum duration of releases, you can implement this BAdI to do so.

Requirements

Standard settings

In the standard system, the comparison pension percentage is calculated independently of a minimum duration of releases.

Activities

In the method GET_DAUER_FREISTELLUNGEN, you can use the parameter ES_DURATION to define the duration of the minimum available releases. During the further calculation, it is then checked whether at least the specified duration of releases exists. If the actual duration is less than this value, the comparison pension percentage is not calculated. When determining the minimum pension, the check as to whether the minimum pension was not reached only as a result of the releases does not take place.

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).

If required, create and activate a custom implementation.

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

Example

You only want to check the minimum pension according to sec. 14 para. 4 BeamtVG if there is at least one duration of 5 year releases.

To do this, you create a customer implementation in which the method GET_DAUER_FREISTELLUNGEN is as follows, for example:

METHOD if_ex_hrpbsde_b_vasen_p144~get_dauer_freistellungen.

ev_is_ok = abap_true.

CLEAR es_duration.
es_duration-calyy = 5. "5 Jahre

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  20091217 
SAP Release Created in