Ansicht
Dokumentation
PS_RESB_GR_OPT - BAdI: Optimization for GR and PO for Reservations
ROGBILLS - Synchronize billing plans General Material DataThis documentation is copyright by SAP AG.
This Business Add-In (BAdI) is used for various Project Systems (PS-ST, PS-IS) components. You can use this BAdI to apply new database techniques for improving the performance in transactions CJ20N and CN41N.
You can use the corresponding BAdI method PS_GET_RESB_GR_DETAILS to read the overall quantity of goods received at the material component level. The method also returns the latest Goods Receipt date and the unit of measure of all Purchase Orders for a material component. This is done for all material components for a given list of networks.
Performance improvements from using new database techniques are expected to arise from:
- Faster data selection by state-of-the-art databases
- Aggregation of data on database level instead of ABAP server level
- Reduced volume of data transferred from the database to the ABAP server
Note that possible performance improvements depend on the available techniques in the chosen database.
For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).
BAdI Definition
BADI_PS_RESB_GR_DBSYS_OPT
The filter DBSYS_TYPEhas been defined for this BAdI. When an instance of the BAdI is created, this filter is applied with the value of the static attribute DBSYS_TYPEin class CL_DB_SYS.
BAdI Implementations
The available SAP BAdI implementations read and aggregate data. The BAdI implementation BADI_PS_RESB_GR_DBSYS_OPT_IMPL is assigned to filter value #HDB# for the SAP HANA database. The BAdI implementation BADI_PS_RESB_GR_ANYDB_IMPL is assigned to the relevant filter values for the following databases:
- IBM DB2 for i (filter value: DB400)
- IBM DB2 for Linux, UNIX, and Windows (filter value: DB6)
- IBM DB2 for z/OS (filter value: DB2)
- Microsoft SQL Server database (filter value: MSSQL)
- Oracle database (filter value: ORACLE)
- SAP Sybase ASE (filter value: SYBASE)
For more information about the optimization and possible restrictions, see SAP Note 1829603.
BAdI method documentation:
For information about implementing such an optimization BAdI, see Optimization BAdIs
.
BAL Application Log Documentation ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 3065 Date: 20240607 Time: 010912 sap01-206 ( 49 ms )