Ansicht
Dokumentation

HR_PBS_01_VG_INFTEXT - BAdI: Print Additional Information in RGVH Calculation Assessment

HR_PBS_01_VG_INFTEXT - BAdI: Print Additional Information in RGVH Calculation Assessment

ROGBILLS - Synchronize billing plans   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Customers have very different needs and requirements regarding how employment periods are displayed in notifications/attachments in pension administration.

Using the HRPBSDEVASEN_LOGINFT BAdI, customers can tailor 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 of course also possible to make further customer enhancements using additional program routines that are called in the smart forms or authorization classes (the data retrieval classes assigned using table V_T7PBSNO2B).

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

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 Retrieval of Additional Employment Period Information.

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, you can find additional information about the structure of the employment table in section General Information on Structure of Employment Period Table.






General Data in Customer Master   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 4363 Date: 20240523 Time: 215549     sap01-206 ( 69 ms )