Ansicht
Dokumentation

OHAUA_STATR_010 - BAdI: Define Data Post-Processing for Report 1-PV

OHAUA_STATR_010 - BAdI: Define Data Post-Processing for Report 1-PV

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

Business Add-In (BAdI) Data post-processing for report 1-PV (HRPAYUA_B_1PV_POSTPROC) is part of enhancement spot HRPAYUA_1PV. It defines the final post-processing of Statistical Form 1-PV report data that previously has been acquired by the report engine. You can use it to adjust the content stored for monthly forms (HRPADUA_1PV_MONTH) and quarterly forms (HRPADUA_1PV_QUARTE).

This BAdI defines the business logic used to complete the report data preparation and sets up specific calculations for certain fields of already processed results. This post-processing affects only XML and PDF content prepared by the report and does not affect the ALV data you can see in the Report Log.

The BAdI implements interface IF_HRPAYUA_1PV_POSTPROC with the following method:

  • PROCESS – Main method that implements post-processing of the generated monthly and quarterly data.

The BAdI is filter dependent and uses filter field PERIOD to differentiate between versions of post-processing rules. It assumes a filter value in format YYYYMM, where YYYY – is a year in 4-digit format and MM – is a month in 2-digit format.

The standard implementation consists of:

  1. Implementation Class
    The default implementation affects several fields with sums. It assumes that values of those fields are in X1 or X2 data format (according to Determine Output Format of Forms). Otherwise the BAdI is not able to perform correct post-processing of those fields. For the list of affected fields, check the code of the BAdI implementation.
  2. Fallback Class
    The fallback class is used to run an implementation class when no other BAdI implementation is defined. This class returns the same data as it receives as input (no post-processing is done).

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






BAL_S_LOG - Application Log: Log header data   General Material Data  
This documentation is copyright by SAP AG.

Length: 2450 Date: 20240523 Time: 180459     sap01-206 ( 47 ms )