Fonction SAP BAPI_PROMO_GETDETAIL - Detailed Data for a Promotion

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
LANGU BAPI1068I1-LANGU C 1 X Language Key
LANGU_ISO BAPI1068I1-LANGUP_ISO C 2 X Language According to ISO 639
PROMOTION BAPI1068I1-PROMOTION C 10 Promotion

Paramètre Reférence Type Long. Description
PROMOTION_HEADER BAPI1068E3 u 772 Promotion Header Data
PROMOTION_HEADER_NEW BAPI1068E3_NEW u 944 Structure: Promotion Header Data (GetDetail-BAPI)

Paramètre Reférence Long. Facultatif Description
DISCOUNTS BAPI1068T30 185 X Promotion Discounts
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
ITEMS BAPI1068T19 1273 X Item Data
MATERIAL_RANGE BAPI1068T5 39 X Range Table for Material
MATL_GROUP_RANGE BAPI1068T4 21 X Range Table for Material Groups
PLANTGROUPS BAPI1068T21 195 X Plant Groups
PLANTS BAPI1068T25 32 X Table Parameter: Plants (Changeable)
RETURN BAPIRET2 548 X Return Parameter(s)
TEXTS BAPI1068T29 43 X Promotion Descriptions
THEMES BAPI1068T20 24 X Promotion Themes
THEME_RANGE BAPI1068T18 11 X Range Table for Promotion Themes

Functionality
You use this method to determine the detailed data of a promotion.
Data is issued on

  • Promotion header

  • Promotion items (materials)

  • Promotion themes

  • Plant groups
  • Notes
    You can limit the number of promotion items that are issued by enteringselection criteria for

    • Material numbers

    • Promotion themes

    • Material group

    • Authorization for authorization object S_TCODE for transaction WAK3 ischecked.
      Messages are returned in parameter RETURN. The return values and theirmeanings can be found in the relevant parameter documentation.

      Description
      The header data of the promotion is returned with this parameter.

      Description
      The language key indicates the language in which the descriptions areto be displayed.

      Default
      If no language is entered, the system uses the logon language.

      Description
      The language key indicates the language in which the descriptions areto be displayed.
      This parameter can only be used as an alternative to parameter'Language'. If a value is entered for both parameters, the system usesthe value entered in parameter 'Language'.

      Description
      For information on this parameter, see the documentation on dataelement Promotion.

      Description
      You use this parameter to return the item data of a promotion as atable.

      Description
      You use this selection parameter to limit the selection of promotionitems by material number.

      Description
      You use this selection parameter to limit the selection of promotionitems by material group.

      Description
      The plant groups of a promotion are returned in a table with thisparameter.

      Description
      This parameter contains error messages for the method.

      Value range
      If errors occur, the following messages are issued:
      TYPE,,ID,,Number,,Message
      E,,WU,,670,,You are not authorized for this
      ,, ,, ,,transaction
      I,,WU,,357,,Language code not found. Logon
      ,, ,, ,,language & used
      E,,WU,,476,,Promotion & does not exist

      Description
      The themes of a promotion are returned as a table with this parameter.

      Description
      You use this selection parameter to limit the selection of promotionitems by promotion theme.