Ansicht
Dokumentation

SOS_PURCH_PRICE_001 - BAdI: Perform own Purchase Pricing within Supply Network (new Lanes Model)

SOS_PURCH_PRICE_001 - BAdI: Perform own Purchase Pricing within Supply Network (new Lanes Model)

General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

You can create your own, modification-free implementation of this Business Add-In (BAdI) to carry out user-defined price calculations within the supply network interface.

All data for the standard pricing function for internal lanes is collected in the internal table CT_IMT_DOCUMENTS. Additional lane data can be found in the internal table IT_LANES. The corresponding records can be found by comparing CT_IMT_DOCUMENTS-GUID with LT_LANES-IBZQID.

Records in CT_IMT_DOCUMENTS for which a user-defined price determination has taken place or for which a standard pricing should not be performed (if standard pricing is activated) must be deleted from CT_IMT_DOCUMENTS. For all records remaining in CT_IMT_DOCUMENTS, the system performs a standard price determination (if standard pricing is activated) after the BAdI is called.

Data from the user-defined purchasing price determination is stored in the export parameter ET_EXT_PRICES.

The following fields are mandatory:

  • GUID (Value from CT_IMT_DOCUMENTS_GUID)
  • DATEFROM (Valid From date)
  • DATETO (Valid To date)
  • FIX_PRICE (Price per unit)
  • CURRENCY (Currency)

This BAdI is only called if either the standard pricing function or no pricing is selected in the the New Lanes Modelscreen area of the Customizing activity Maintain Basic Settings for Data Transfer and if the new lanes model is activated.

For more information about the standard settings (filters, single or multiple uses), see the Enh.

Spot Element Definitions tab in the BAdI Builder (transaction SE18).

Implementing BAdIs

Import parameters:

  • IS_SEND_OPTION: Customizing settings for data transfer to SAP F&R
  • IT_LANES: Determined lanes data

Changing parameter:

  • CT_IMT_DOCUMENTS: Input structure for the standard pricing function

Export parameter:

  • ET_EXT_PRICES: Output structure for the standard pricing function






ABAP Short Reference   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 2545 Date: 20240523 Time: 172005     sap01-206 ( 34 ms )