SAP ABAP IMG Activity HR_PBS_01_VG_INFTEXT (BAdI: Print Additional Information in RGVH Calculation Assessment)
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_INFTEXT BAdI: Print Additional Information in RGVH Calculation Assessment  
Transaction Code S_L7D_24001504   (empty) 
Created on 20080115    
Customizing Attributes HR_PBS_01_VG_INFTXT1   BAdI: Print Infotype Texts in RGVH Calculation Assessment 
Customizing Activity HR_PBS_01_VG_INFTEX2   BAdI: Print Infotype Texts in RGVH Calculation Assessment 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRPBSDEVASEN_LOGINFT    

Use

Customers have different needs and requirements regarding the display of employment periods in notifications/attachments in pension administration.

Using the HRPBSDEVASEN_LOGINFT BAdI, customers can adjust and enhance the display of employment periods in attachments for the assessment of pension rates (attachments A, B, and C).

The following adjustments can be made using this BAdI:

  • Output of additional information for employment periods

    In addition to the output of employment period texts and legal regulations, it is also possible to output the additional information (reason, infotype texts, approval date, actual time period, relevant time) specified by information type 0552 (employment periods), in the notification. To do so, you must implement the GET_FACTORY method.

  • Suppress output of employment periods that are not taken into account

    In the attachments for assessing pension rates, additional texts (such as actual time period, relevant time, infotype texts) are also output for time periods that are not relevant, meaning that they do not contribute to the calculation result.

    To suppress the output of this additional information, implement the DELETE_UNCOUNTABLE_PERIODS method.

    As long as the output of additional employment period information (see above) is not activated, it is not necessary to implement this method (in this case, no additional information is output).

  • Gaps between employment periods

    If there are gaps between employment periods, they are represented in the notification by a double line.

    If you do not want the double lines to be output, use the DELETE_EMPTY_DETAIL method.

  • Postprocessing/changing employment periods

    If changes other to those listed above need to be made regarding the output of employment period tables, the entire employment period table can be postprocessed and/or changed using the CHANGE_PERIODS method.

It is also possible to make further customer enhancements using additional program routines that are called in the smart forms or statement classes (the data retrieval classes assigned using table V_T7PBSNO2B).

Requirements

Standard settings

The HRPBSDEVASEN_LOGINFT BAdI is not activated in the SAP standard system.

Activities

Implement the BAdI by copying the SAP example implementation.

This implementation activates the above mentioned additional output of infotype texts, approval date and reason, actual time period, and relevant time. In the GET_FACTORY method, an SAP standard class is referenced that contains the logic for retrieving the additional information. For more information about the technical structure, see the section Providing Additional Information for Employment Periods.

If required, you can also set the return parameter of the methods DELETE_UNCOUNTABLE_PERIODS or DELETE_EMPTY_DETAIL:

  • Suppress output of employment periods that are not taken into account

    METHOD if_ex_hrpbsdevasen_loginft~delete_uncountable_periods.

    r_delete_uncountable_periods = 'X'.

    ENDMETHOD.

  • Gaps between employment periods

    METHOD if_ex_hrpbsdevasen_loginft~delete_empty_detail.

    r_delete_empty_detail = 'X'.

    ENDMETHOD.

Normally, it is not necessary to implement the CHANGE_PERIODS method. If required, section General Information on Structure of Employment Period Table contains additional information about the structure of the employment period table.

Example

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