Hierarchy

⤷

⤷

IMG Activity
ID | MMPUR_DBSYSOPT_TRANF | BAdI: Database-Specific Optimizations for Data Services |
Transaction Code | S_E17_83000032 | (empty) |
Created on | 20130921 | |
Customizing Attributes | MMPUR_DBSYSOPT_TRANF | BAdI: Database-Specific Optimizations for Data Services |
Customizing Activity | MMPUR_DBSYSOPT_TRANF | BAdI: Database-Specific Optimizations for Data Services |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | MMPUR_DBSYSOPT_TRANF |
Use
This Business Add-In (BAdI) is used in the Purchasing component (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 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 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
Standard settings
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
- BD_ MMPUR _TRANF1_DBSYS_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.
This default implementation uses the stored procedures contained in the standard delivery to calculate the net value and the status of a purchase order.
- SAP Implementations
This BAdI implementation is assigned to filter value 'HDB'.
See also
BAdI method documentation:
- GET_PO_TOTAL_NET_VALUE
- GET_PO_HEADER_STATUS
- GET_SUPPLIER_ANNUAL_SPEND
- GET_CONTRACT_RELEASE_AMOUNT
- GET_CONTRACT_ITM_TARGET_VALUE
- GET_CONTRACT_RELEASE_RATE
- GET_CONTRACT_HEADER_STATUS
- GET_INFORECORD_DISPL_CURR
- GET_INFORECORD_SPEND
- GET_INVOICE_PAY_STATUS
- GET_SUPL_QUAL_SCORE
- GET_SUPL_EVAL_SCORE
- GET_PO_ITEM_DELIV_DATE
- GET_PREQ_TOTAL_NET_VALUE
- GET_PREQ_ACCOUNT_ASS_DESC
For information about implementing such an optimization BAdI, see Optimization BAdIs.
Example
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | MMPUR_DBSYSOPT_TRANF | 0 | HLA0009512 | Purchasing |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20130921 |
SAP Release Created in | 617 |