Ansicht
Dokumentation

BAPI_WRF_PPW_PRICEPLAN_CREATE -

BAPI_WRF_PPW_PRICEPLAN_CREATE -

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this method to create a price plan.

Example

Notes

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

General information about the parameters:

  • Transferring the header data is absolutely mandatory, whereby the price plan category (CATEGORY) in the header data must be filled.
  • If you set the TESTRUN parameter, the BAPI is called as a simulation, that is, only messages are returned. In that case, the system also does not return any price plan numbers.
  • Messages are returned in the RETURN parameter.

For more information about the parameters, see the given parameter documentation.

It is not possible to generate organization sets using this method. The organization sets are automatically created from the corresponding item data.

To save the price plan 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
ITEMS
I_ABORT_ON_ERROR
NO_WARNINGS
PLANTGROUPS
PLANTS
PRICE_PLAN
PROMO_HEADER
PROMO_ITEMS
RETURN
TESTRUN

Exceptions

Function Group

WRF_PPW_BAPI_PRICE_PLAN

CL_GUI_FRONTEND_SERVICES - Frontend Services   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 2771 Date: 20240523 Time: 152736     sap01-206 ( 42 ms )