Ansicht
Dokumentation

BAPI_PRICEMARKDOWNPLAN_CH_R_PL - Process Markdown Plan (Rough-Cut Planning)

BAPI_PRICEMARKDOWNPLAN_CH_R_PL - Process Markdown Plan (Rough-Cut Planning)

Vendor Master (General Section)   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to process an existing markdown plan.

The method allows you to process data at header, item, plant and price-list level (rough-cut planning). It is not possible to process price phases.

The document number of the markdown plan for processing and tables containing the old data (determined with method "PriceMarkdownPlan.GetDetail") and new (changed) data is transferred to the method.

The system first checks whether the data that was transferred as "old" is the same as that on the database. If it is not, processing is cancelled and a message is returned. Only if the data is consistent is the old and new data compared and the markdown plan is updated with the new data.

Processing options

  • At header level:
    Changes to name, start date and number of periods.
  • At item level:
    Changes to start date of first price phase, markdown rule, final price, price point indicator, planned initial stock, and planned sales quantity.
    Adding and deleting of items.
  • At plant level:
    Adding and deleting of plants.
  • At price-list level:
    Adding and deleting of price lists.

Example

Notes

The header data must always be transferred in full.

To keep the transferred dataset as small as possible, not all old and new data has to be transferred at item, phase, plant or price-list level. It is sufficient to transfer the data that needs to be changed. The method then returns a warning. However, note that processing of the markdown plan is then not necessarily based on the current data on the database.

Checked authorization objects:

S_TCODE (authorization for transaction "WMF2").

  • W_MARKDOWN ("Adding or Creating" or "Changing")

No Commit Work is triggered in this method. As a result, after the method is called, BAPI "BAPI_TRANSACTION_COMMIT" must be called to trigger the update.

Further information





Parameters

ITEMS
ITEMS_NEW
LANGU
LANGU_ISO
MARKDOWNPLANHEADER
MARKDOWNPLANHEADER_NEW
PHASES
PLANTS
PLANTS_NEW
PRICELISTS
PRICELISTS_NEW
PRICEMARKDOWNPLAN
RETURN
TESTRUN

Exceptions

Function Group

BAPIS1073

General Data in Customer Master   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 3762 Date: 20240523 Time: 154553     sap01-206 ( 48 ms )