Fonction SAP BAPI_ADV_MED_GET_PRICES - Read Product Catalog Item Prices

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CATALOG BAPIADMID-PRODCAT C 10 Product Catalog
VARIANT BAPIADMVID-VARIANT C 3 Variant

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Return Value

Paramètre Reférence Long. Facultatif Description
MATERIALS BAPIADMM 116 Materials
PRICES BAPIADMMP 137 Prices

Functionality
This method supplies prices for items in a product catalog.

Notes
The variant (parameter = VARIANT) defines the currency in which theprices in PRICES are returned.
The system does not check whether the products transferred in MATERIALSare actually contained in the CATALOG product catalog. This enables theproduct catalog pricing logic to be used for materials that do norappear in the catalog transferred..
Messages are returned in the RETURN parameter. The documentation forthis parameter contains the return codes and their meanings.

Description
Return code for errors

Value range
TYPE = "E" CODE = "W+402" Product catalog does not exist
TYPE = "E" CODE = "W+403" Variant does not exist
TYPE = "E" CODE = "W+404" Layout does not exist
TYPE = "E" CODE = "W+409" Error in price determination
TYPE = "E" CODE = "W+401" Unidentified error
TYPE = "E" CODE = "W+418" ISO code & is not assigned to unit of
measure
TYPE = "E" CODE = "W+544" No authorization to read catalog
TYPE = "I" CODE = "W+416" Currency key & has no ISO dode
TYPE = "I" CODE = "W+417" Unit of measure & has no ISO code

Description
For further information, please see the data elementdocumentation.

Description
For further information, please see the data elementdocumentation.

Description
This table contains materials with units of measure for which pricesare to be determined.
The material/unit of measure combination must not necessarily becontained in the catalog. If it is not, the pricing logic of theCATALOG catalog is used nonetheless.
The table consists of the following fields:

  • PRODCAT (this field does not have to be filled)

  • MATERIAL

  • UNIT: Unit of measure

  • UNIT_ISO: Unit of measure in ISO format

  • If UNIT_ISO is blank, the unit of measure from UNIT is used.

    Description
    This table contains the prices returned for the materials selected.
    It consists of the fields:

    • ADVMED

    • MATERIAL

    • UNIT: Unit of measure

    • CURRNCY: Currency of the price transferred in CONDVAL

    • CONDVAL: Price

    • PRICE_NOT_FOUND

    • CURRNCY_ISO: Currency (ISO format) of the price transferred in CONDVAL

    • UNIT_ISO: Unit of measure in ISO format

    • The records are sorted by MATERIAL, UNIT and CURRNCY.

403714Dialog boxes for goods recips./unload. point in online store