Ansicht
Dokumentation

BAPI_WRF_PPW_PRICEPLAN_CHANGE -

BAPI_WRF_PPW_PRICEPLAN_CHANGE -

ROGBILLS - Synchronize billing plans   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Using this method, you can change the data of a price plan that has the status In Processing or Resubmission.

You can make the following changes:

  • Change header data
  • Change promotion header (relevant only for promotion price plans)
  • Delete, add or change plant groups (relevant only for promotion price plans)
  • Delete, add or change plants for plant groups (relevant only for promotion price plans)
  • Delete or add organization sets or change organization set header data (not relevant for markdown price plans)
  • Delete or add items to organization sets (not relevant for markdown price plans)
  • Delete or add items for price plan, or change item data
  • Change promotion item data (relevant only for promotion price plans)

Example

Notes

The system checks the authorization for authorization object S_TCODE for the transaction WRF_PPW01.

If you set the TESTRUN parameter, the BAPI is called as a simulation, that is, only messages are returned, but the price plan itself remains unchanged.

Messages are returned in the RETURN parameter.

The following changes are not possible using this method:

  • Status changes
  • The addition of related markdown proposals
  • Deletion of alternative prices

To save the changes to the database after calling this BAPI in update mode (TESTRUN initial), you must perform a commit work, which you can trigger, for example, using BapiService.TransactionCommit.

Further information

Information about combining the BAPIs for processing price plans.





Parameters

HEADER
HEADER_X
ITEMS
ITEMS_X
ORGSET_HEADS
ORGSET_HEADS_X
ORGSET_ITEMS
ORGSET_ITEMS_X
PLANTGROUPS
PLANTGROUPS_X
PLANTS
PLANTS_X
PRICEPLAN
PROMO_HEADER
PROMO_HEADER_X
PROMO_ITEMS
PROMO_ITEMS_X
RETURN
TESTRUN

Exceptions

Function Group

WRF_PPW_BAPI_PRICE_PLAN

General Material Data   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 4576 Date: 20240523 Time: 172258     sap01-206 ( 43 ms )