Functionality This method returns items for an advertising medium. Notes The variant (parameter VARIANT) determines the language in which thetexts in TEXTS and the currency in which the prices in PRICESare returned. If the parameter AREA is initial, all items in the advertising mediumare determined; otherwise only the items of the layout area passed on inAREA are returned. If the parameter WITH_PRICES is set ('X'), the table PRICES is filled. Prices can be determined separately with the method GetPrices. Messages are returned in the parameter RETURN. The return values andtheir meaning can be found in the parameter documentation. Description Return values 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+408" Layout area does not exist TYPE = "E" CODE = "W+409" Error during pricing TYPE = "E" CODE = "W+401" Unknown error TYPE = "E" CODE = "W+544" No authorization to read catalog TYPE = "E" CODE = "W+254" No authorization to read layout area (not set if AREA is filled) TYPE = "I" CODE = "W+415" Language key & has no ISO code TYPE = "I" CODE = "W+416" Currency key & has no ISO code TYPE = "I" CODE = "W+417" Unit of measure & has no ISO code Description Number of layout area Description For further information, please see the data elementdocumentation>.Description For further information, see the data elementdocumentation>. Value range Default
Description If set ('X'), prices for the layout area items are transferred to tablePRICES. Description This table contains the returned layout area items. It consists of the following fields:
- LAYOUT:,,,,Layout of the catalog
- AREA: Layout area
- ITEM>
- MATERIAL>
- UNIT:,,,,Unit of measure
- SORTNR>
- MATTYPE>
- PARENT>
- UNIT_ISO:,,Unit of measure in ISO format
The entries are sorted by components AREA and ITEM. If the materials are to appear as they were entered in the maintenancetransaction, the items must be sorted by SORTNR in the layout areaafter the method is called. Additional information can be obtained for materials with specialcharacteristics of the material category with additional functionmodules: For sales sets (MATTYPE='10'), function module'BAPI_MATERIAL_GETCOMPONENTS' provides all materials in the BOMtogether with the quantities of these materials in the BOM. For variants of a generic material (MATTYPE='02'), function module'BAPI_MATERIAL_GETCHARMERCHHIER' provides characteristics andcharacteristic values.Description This table contains the returned prices for the layout area items. It consists of the fields:
|