Ansicht
Dokumentation

BAPI_PROMO_CREATE - Create a Promotion

BAPI_PROMO_CREATE - Create a Promotion

BAL_S_LOG - Application Log: Log header data   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this method to create a promotion.

Promotions that were planned in another SAP system or a non-SAP system can be created in the system using this method.

In the SAP information system, for example, you can define an exception that selects the articles and sites for a promotion. You can assign this exception to a workflow task, which calls the method to create the promotion. As of Release 4.6, workflow task 'PROMO_CREATE' is provided for this.

In addition to header data for the promotion, you can create article data, themes and site groups. You cannot use this method to create promotion assortment modules and assign these to site groups. Also, you cannot carry out subsequent processing steps such as price activation or allocation table generation with this method.

You can perform a test run for the method, which means that no data is saved to the database.

Example

Notes

The authorization for authorization object S_TCODE for transaction WAK1 is checked.

The promotion type assigned to the promotion must be created in Customizing for the promotion.

The method performs all the necessary consistency checks, and returns all messages as a return table. The return values and their meanings can be found in the parameter documentation.

The key fields used by the method are described in the parameters.

Further information





Parameters

DISCOUNTS
EXTENSIONIN
ITEMS
PLANTGROUPS
PLANTS
PROMOTION
PROMOTION_HEADER
PROMO_REF
RETURN
SOA_SERVICE
TEXTS
THEMES

Exceptions

Function Group

BAPIS1068

CL_GUI_FRONTEND_SERVICES - Frontend Services   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 2518 Date: 20240523 Time: 180043     sap01-206 ( 38 ms )