Fonction SAP BAPI_PROMO_CONFIRMREQUEST - Send Reply for Plant's Required Quantities

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
PLANT BAPI1068I1-PLANT C 4 X Plant number of the Store
PLANT_CUSTOMER BAPI1068I1-PLANT_CUSTOMER C 10 X Customer Number of the Store
PROMOTION BAPI1068I1-PROMOTION C 10 Promotion Number

Paramètre Reférence Long. Facultatif Description
ITEMSREQQUANTITY BAPI1068E2 13 Items with Required Quantities
ITEMSREQQUANTITYX BAPI1068E2_OLD 13 Comparative Parameters (Values Prior to Change)
RETURN BAPIRET2 548 Error Messages

Functionality
This method is used to update the quantity requested by a plant in thepromotion.

Notes
The entry of parameter PLANT or PLANT-CUSTOMER is obligatory
Method GETSITEPLANNING1 can be used first to determine the item datafor the promotion in the plant.
The following authorization objects are checked:

  • S_TCODE: Authorization for transaction WAK10

  • W_AUFT_RMB: Authorization for the customer number of the plant with
  • activity 31 (confirmation)
    Messages are returned in parameter RETURN. In this parameterdocumentation you will find the return values and their meaning.

    Description
    For information on the meaning of the plant number, please see therelevant data element documentation:
    Plant number

    Description
    For information on the meaning of the customer number of the plant,please see the relevant data element documentation:
    Customer number of the plant

    Description
    For information on the meaning of the promotion number, please see therelevant data element documentation:
    Promotion number

    Description
    Table of requested quantities of promotion items as they are to beupdated in the promotion.

    Description
    Table of requested quantites for promotion items prior to the change asdetermined by method GETSITEPLANNING. These values must be transferredtoo, to ensure that no changes are made in the meantime by anotheruser.

    Description
    Error messages for the method

    Value range
    In the case of errors, the following messages are issued:
    TYPE ID Number Message
    E WU 555 Enter customer or plant
    E WU 554 Customer & does not exist
    E WU 577 Plant & does not exist
    E WU 669 You have no authorization for customer &
    E WU 670 You do not have authorization for this transaction
    E WU 001 Promotion & does not exist
    E WU 648 No store item could be determined
    E WU 018 Promotion & is currently being processed by user &
    E WU 019 Promotion & cannot be blocked because of a system
    error
    E WU 563 The comparison parameters for item & are missing
    E WU 236 Material &1 &2 is blocked
    E WU 560 Reply is not possible for material &1
    (announcement status = &2)
    E WU 561 Data for item & has changed
    E WU 627 Changes not possible to alloc. qty as the alloc.
    has already been generated
    E WU 562 Error during determination of next status for item
    E WU 564 No changes were made