Fonction SAP BAPI_PRICEMARKDOWNPLAN_GETLIST - List of Markdown Plans

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
LANGU BAPI1073I1-LANGU C 1 X Language Key
LANGU_ISO BAPI1073I1-LANGU_ISO C 2 X Language According to ISO 639
MAXROWS BAPI1073I1-MAXROWS I 4 X Maximum Number of Lines of Hits

Paramètre Reférence Long. Facultatif Description
DESCRIPTION_RANGE BAPI1073T8 83 X Range Table for the Descriptions of Markdown Plans
MARKDOWNPLANLIST BAPI1073T9 112 X Tables with Markdown Plan Header Data
MARKDOWNPLAN_RANGE BAPI1073T4 23 X Range Table for the Document Numbers of Markdown Plans
MARKDOWNRULE_RANGE BAPI1073T6 23 X Range Table for the Markdown Rules of Markdown Plans
MARKDOWNTYPE_RANGE BAPI1073T7 11 X Range Tables for the Markdown Types of Markdown Plans
RETURN BAPIRET2 548 X Return Parameters
VALIDFROM_RANGE BAPI1073T5 19 X Range Table for the Starting Dates of Markdown Plans

Functionality
This method provides you with a list of markdown plans that match thetransferred selection options.
You can limit the selection of markdown plans by entering the followingcriteria:

  • Document number

  • Start date

  • Markdown rule

  • Markdown type

  • Markdown plan name

  • You can limit the number of hits by using the optional
    "MAXROWS" parameter.
    As a result, you receive a list of markdown plans containing thefollowing data:
    • Document number of the markdown plan

    • Name of the markdown plan

    • Markdown type

    • Markdown rule

    • Start date
    • Notes
      Authorization object checked: S_TCODE (authorization for transactionWMF3).

      Description
      For information on the purpose of the language, see the relevant dataelement documentation:
      Language

      Default
      If a language is not entered, the system uses the logon language.

      Description
      For information on the purpose of the parameter, see the relevant dataelement documentation:
      Language in ISO code
      This parameter can only be used as an alternative to parameter'Language'. If a value is entered for both parameters, the system usesthe value in parameter 'Language'.

      Description
      The parameter "MAXROWS" limits the scope of the returned list ofmarkdown plans.
      If "MAXROWS" is not transferred, the list contains all the markdownplans that match the selection criteria.

      Description
      You use this selection parameter to limit the selection of markdownplans by name. Use the contents of variable "LANGU" or "LANGU_ISO" forthe language key.

      Description
      You use this parameter to return the header data of the selectedmarkdown plans in a table.

      Description
      You use this selection parameter to limit the selection of markdownplans by Document number of the markdown plan.

      Description
      You use this selection parameter to limit the selection of markdownplans by Allocation rule.

      Description
      You use this selection parameter to limit the selection of markdownplans by markdown type.

      Description
      Error messages for method

      Value range
      If errors occur, the following messages are issued:
      TYPE,, ID,, Number,,,, Message
      I,, W/,,141,,,,No markdown plan was found for the selection criteria
      W,, W/,,142,,,,Selection was limited to &1 of &2 hits
      I,, W/,,143,,,,Logon language <(>&<)> is used as the language ID
      W,, W/,,144,,,,Language ID & is invalid
      E,, W/,,159,,,,You are not authorized for transaction WMF3.

      Description
      You use this selection parameter to limit the selection of markdownplans by start date of markdown planning.