Fonction SAP BAPI_PROMO_GETSITEPLANNING1 - Detailed Data for the Plants Involved in a Promotion

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ANNOUNCED_ONLY BAPI1068I1-CHECK_BOX C 1 X Only Items with Successful Announcement
LANGU BAPI1068I1-LANGU C 1 X Language
LANGU_ISO BAPI1068I1-LANGUP_ISO C 2 X Language in ISO Code
PROMOTION BAPI1068I1-PROMOTION C 10 Promotion Number

Paramètre Reférence Long. Facultatif Description
PROMOTIONDATA BAPI1068E1 338 Promotion Header Data
PROMOTIONDATA_NEW BAPI1068E1_NEW 388 X Promotion interface structure: Header data
PROMOTIONITEMSDATA BAPI1068T2 719 Promotion Item Data
RETURN BAPIRET2 548 Error Messages
SITES BAPI1068T6 14 Table for the Plants

Functionality
This method is used to determine the detailed data of a promotion.

Notes
You can use parameter SITES to limit the material/plant items tospecific plants.
If you do not use parameter SITES to restrict the data, all items areselected.
If you select parameter ANNOUNCED_ONLY, items are only selected if anannouncement has already been made.
The following authorization objects are checked:
1) Aouuncement status is checked

  • S_TCODE: Authorization for transaction WAK11

  • W_AUFTRMB: Authorization for the customer number of the plant with
  • activity 03 (Display)
    2) Announcement status is not checked
    • S_TCODE: Authorization for transaction WAK3

    • Messages are returned in parameter RETURN. The parameter documentationfor this lists the return values and their meanings.

      Description
      You use this parameter to limit the selection of items.
      If this parameter is used, only items for which an announcement hasalready been carried out are displayed.

      Description
      For information on the significance of the parameters, see the relevantdata element documentation:
      Language

      Default
      If a language is not enetered, the log-on language is used.

      Description
      For information on the significance of the parameter, see the relevantdata element documentation:
      Language in ISO code
      This parameter can only be used as an alternative to the Languageparameter. If both parameters contain a value, the value in parameterLanguage is adopted.

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

      Description
      With this parameter, the promotion header data from one or more plantsis returned in a table.
      For information on the significance of the fields in the table, see therelevant data element documentation:
      Promotion number
      Processing status
      Subsequent processing status
      Latest reply date
      Start of purchasing period
      End of purchasing period
      Start of listing period
      End of listing period
      Start of order period
      End of order period
      Start of delivery period
      End of delivery period
      Start of sales to consumer
      End of sales to consumer
      Goods receipt of promotional merchandise in the plant
      Reason for promotion block
      Promotion blocked since
      Promotion announcement category
      Language

      Description
      With this parameter, the promotion header data of one or more plantsare returned in a table.
      For information on the significance of the fields in the table, see therelevant data element documentation:
      Customer number of the plant
      Description of the plant
      Material number
      Description of the material
      Material number of the generic material
      Material group
      Promotion item number
      Promotion theme
      Minimum order quantity
      Planned sales quantity
      Planned allocation quantity
      Requested quantity of the store
      Allocation unit
      Sales unit
      Planned sales price (gross)
      Planned sales price (net)
      Currency
      Sales price unit
      Standard sales price
      Purchase price (gross)
      Purchase price (net)
      Purchase price currency
      Purchase price currency in ISO code
      Price unit of purchase price
      Order price unit
      Order price unit in ISO code
      Return type
      Start of order period
      End of order period
      Start of delivery period
      Item blocked since of delivery period
      Order date with vendor
      Number of the allocation table
      Item number of the allocation table
      Reason for promotion item block
      Description of the reason for the block
      Item blocked since
      Indicator for price point adjustment
      Language
      Language in ISO code
      Indicator that reply is allowed

      Description
      Error messages for the method

      Range
      If errors occur, the following messages are issued:
      TYPE ID Number Message
      E WU 555 Enter customer or plant
      E WU 577 Plant & does not exist
      E WU 554 Customer & does not exist
      E WU 001 Promotion & does not exist
      E WU 202 Internal error during authorization check
      E WU 669 You do not have authorization for customer &
      E WU 670 You do not have authorization for this transaction

      Description
      You use this parameter to restrict the plants for which promotion datais to be determined.
      Either the plant number or the customer number of a plant can betransferred.
      For information on the significance of the parameter, see the relevantdata element documentation:
      Plant number
      Customer number of the plant