Ansicht
Dokumentation

MMPUR_DBSYSOPT_TRANF - BAdI: Database-Specific Optimizations for OData Services

MMPUR_DBSYSOPT_TRANF - BAdI: Database-Specific Optimizations for OData Services

Addresses (Business Address Services)   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Purchasingcomponent (MM-PUR). You can use this BAdI to optimize the calculation of lists of specific values that are displayed in a SAP Fiori App in the Fiori Launchpad.

When you calculate a particular value, for example contract spend, you may encounter performance issues if the purchase contract has many related purchase orders. With this BAdI, you can retrieve the list of specific values with a single database call, instead of using one call per document or document item. Note that you can also create your own implementation according to your requirements.

You can use the methods under 'See also' to call up the following lists of values:

  • List of Total Net Values for Purchase Orders
  • List of Purchase Order Header Status
  • List of Values for Supplier Annual Spend
  • List of Release Amounts for Purchase Contracts
  • List of Item Target Values for Purchase Contracts
  • List of Target Values for Purchase Contracts
  • List of Release Order Ratios for Purchase Contracts
  • List of Purchase Contracts (Header Status)
  • List of Display Currencies for Purchasing Info Records
  • List of Spend for Purchasing Info Records (Current Year)
  • List of Invoice Payment Status
  • List of Due Dates for Net Payment for Supplier Invoices
  • List of Supplier Quality Score
  • List of Supplier Evaluation Score
  • List of Item Delivery Dates from Schedule Lines for Purchase Orders
  • List of Net Values for Purchase Requisitions
  • List of Account Assignments for Purchase Requisitions

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).

  • BD_ MMPUR _TRANF1_AMDP_OPT
The filter DBSYS_TYPE has 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_TYPE in class CL_DB_SYS.

The default implementation uses the ABAP Managed Database Procedures contained in the standard delivery to calculate the net value and the status of a purchase order, and the supplier annual spend value.
  • SAP Implementations
This BAdI implementation is assigned to filter value 'HDB'.
  • Fallback Implementation
Each method has a fallback implementation. This means that, if the BAdI is not implemented, the fallback implementation is used instead. The fallback implementation is an ABAP implementation where the ABAP Managed Database Procedures are not processed.

BAdI method documentation:

For information about implementing such an optimization BAdI, see Optimization BAdIs.






rdisp/max_wprun_time - Maximum work process run time   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 6281 Date: 20240523 Time: 201545     sap01-206 ( 64 ms )