Ansicht
Dokumentation

BAPI_PROMO_CHANGE - Change Promotion

BAPI_PROMO_CHANGE - Change Promotion

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this method to change the detailed data of a promotion.

The following changes can be made:

  • Header data (change)
  • Promotion items (delete, add, change)
  • Promotion themes (delete, add)
  • Plant groups (delete, add, change)

Example

Notes

Before you call this method, you must import promotion data using the method "GetDetail". The imported data must be returned in a comparison parameter (e.g. PROMOTION_HEADER). The data of the comparison parameter is compared with the database and an error message is issued if discrepancies occur.

The data to be changed is entered in a change parameter (e.g. PROMOTION_HEADER_NEW).

Entries can be deleted and added as follows:

  • Delete:
The entry to be deleted is not included in the change parameter
  • Add:
The new entry is added to the change parameter

Promotion items that are not to be changed can be omitted from the comparison and change parameters.

Authorization for authorization object S_TCODE for transaction WAK2 is checked.

Messages are returned in parameter RETURN.

Further information





Parameters

DISCOUNTS
DISCOUNTS_NEW
EXTENSIONIN
ITEMS
ITEMS_NEW
LANGU
LANGU_ISO
PLANTGROUPS
PLANTGROUPS_NEW
PLANTS
PLANTS_NEW
PROMOTION
PROMOTION_HEADER
PROMOTION_HEADER_NEW
PROMO_REF
PROMO_REF_NEW
READ_BUFFER
RETURN
SOA_SERVICE
TESTRUN
TEXTS
TEXTS_NEW
THEMES
THEMES_NEW

Exceptions

Function Group

BAPIS1068

BAL_S_LOG - Application Log: Log header data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 3100 Date: 20240523 Time: 181412     sap01-206 ( 36 ms )