Hierarchy

⤷

⤷

IMG Activity
ID | HR_PBS_00_VG_INDIV_8 | BAdI: Inclusion of Reductions Sec.14 Para.3 for Sec.14 Para.4 BeamtVG |
Transaction Code | S_L4H_49001317 | (empty) |
Created on | 20100324 | |
Customizing Attributes | HR_PBS_01_VG_2_2 | Pension Calculation (Optional Activity / Non-Critical) |
Customizing Activity | HR_PBS_00_VG_INDIV_8 | BAdI: Inclusion of Reductions Acc. to Sec.14 Para.3 for Sec.14 Para.4 |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | HRPBSDE_B_VAVG_VB_1 |
Use
This BAdI enables the inclusion of the reductions according to Section 14 Paragraph 3 BeamtVG within the comparison calculation for the pension according to Section 14 Paragraph 4 BeamtVG.
Requirements
Standard settings
Activities
In the CHECK_ANW_14_3_BEIM_14_4 method, you can set the parameter EV_RESULT to ABAP_TRUE depending on the personnel data from infotype 0001 (importing parameter IS_P0001) and the structure with all pension data (importing parameter IS_VERSORGUNG). In this way, the reductions according to Section 14 Paragraph 3 are taken into account for the comparison calculation in accordance with Section 14 Paragraph 4 BeamtVG.
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
Create a custom implementation in which the CHECK_ANW_14_3_BEIM_14_4 method looks like the following, for example, if you want to include the reductions according to Section 14 Paragraph 3 only for the Rhineland Palatinate (06) pay scale area.
METHOD if_ex_hrpbsde_b_vavg_vb_1~check_anw_14_3_beim_14_4.
* local data
DATA: l_dummy type string,
ls_msg type symsg.
* init
ev_is_ok = abap_true.
* main
IF is_versorgung-tarif-trfgb = '06'. " Rhineland Palatinate
ev_result = abap_true.
ELSE.
ev_result = abap_false.
ENDIF.
* message handling
IF ev_is_ok = abap_false.
MESSAGE e271(hrpbsdevavg) WITH 'HRPBSDE_B_VAVG_VB_1'
INTO l_dummy.
MOVE-CORRESPONDING sy TO ls_msg.
CALL METHOD io_msg_handler->add_message
EXPORTING
i_pernr = iv_pernr
i_msg = ls_msg
i_level = '1'.
ENDIF.
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 | 20100324 |
SAP Release Created in |