Ansicht
Dokumentation

DMF_BADI_PUR_PRICE - BAdI: Enable Delivery Price Extraction

DMF_BADI_PUR_PRICE - BAdI: Enable Delivery Price Extraction

ABAP Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Logistics Basic Data (LO-MD) component in Logistics Merchandise Lifecycle Optimization. You use this BAdI to control delivery price extraction. When implemented, this BAdI controls the logic of delivery price extraction in both product location replication and sales price replication. There is no standard or default logic which can be provided for delivery price calculation and has to be implemented on a custom basis.

If this BAdI is not implemented, no delivery prices are extracted.

In the delta run replication for price changes, information from WINDentries for document category 85 are used to determine what price changes were made and at what level, but do not provide complete information about the levels of pricing maintained for the article. WINDwill hold purchase price changes made for condition type PB00 at Materialand Material Site level. This is only an indicator of purchasing side price changes.

The BAdI uses the following methods:

  • FILTER_PURCHASE_ORGS with changing parameter CT_PURCHASE_ORG of type DMF_T_PURCHASE_ORG. With this method the relevant purchase orgs can be filtered so that only the right purchase price changes are handled during change mode.
  • SET_PUR_PRICE_PROD_LOC_SINGLE with the following:
  • Importing parameter IT_SALES_COND_TYPES of type DMF_T_SALESCOND_TYPE which passes the condition types

  • Changing parameter CS_SALES_PRICES of type DMF_S_PRICE_INFO which needs to be enhanced with the delivery price info.

  • Changing parameter CT_MESSAGES of type BAL_T_MSG which will hold the list of messages to be send to the log.

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

Example implementation is provided in class CL_EX_BADI_PUR_PRICE_DETERMINE with commented code. The example is just a reference and not a recommendation.






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

Length: 3316 Date: 20240606 Time: 052000     sap01-206 ( 60 ms )