Fonction SAP BAPI_MATERIAL_GETCHARMERCHHIER - Supply Characteristics of Retail Material for Material Group Hierarchy

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
LANGUAGE BAPIMATALL-LANGU C 1 X Language for characteristics and characteristic values
LANGUAGE_ISO BAPIMATALL-LANGU_ISO C 2 X Language for characteristics and characteristic values in ISO code
MATERIAL BAPIMATDET-MATERIAL C 18 Material No.
MATERIAL_EVG BAPIMGVMATNR u 82 X

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Return Parameter

Paramètre Reférence Long. Facultatif Description
CHARACTERISTICS BAPIMATCHA 121 X

Functionality
This method provides the characteristics with value assignment for aretail material. Only the special class type for the material grouphierarchy is considered.

Notes
If none of the language parameters LANGUAGE or LANGUAGE_ISO have beentransferred, the descriptions of the characteristics and of thecharacteristic values are displayed in the logon language.

Description
INCLUDE MATRETURN OBJECT DOKU ID TX

Value range
Type,,ID,,Number,,Explanation
S,,,,,,Data could be read successfully
E,,M3,,262,,No material number was transferred
E,,M3,,305,,The material does not exist
E,,M3,,522,,An incorrect language indicator was transferred
E,,TL,,080,,An incorrect ISO language indicator was
,,,,,,transferred
E,,MH,,080,,No characteristics could be determined for the
,,,,,,generic material
E,,MH,,084,,The material is not classified for the material
,,,,,,group
E,,MH,,087,,No values could be determined for a
,,,,,,variant-creating characteristic
E,,MH,,211,,The material has no characteristics
The field MESSAGE contains the message text for the respectivecombination of ID and Number if they contain entries.

Description
The descriptions of the characteristics and characteristic values areoutput in the language specified.
Alternatively, the parameter LANGUAGE_ISO can also be supplied.

Description
The descriptions of the characteristics and characteristic values areoutput in the language specified. The language key is expected in theISO code.
Alternatively, the parameter LANGUAGE can also be supplied.

Description
INCLUDE MATNUMMER OBJECT DOKU ID TX

Description
Parameter for the long material number
This parameter can be used to transfer long material numbers that cancontain a maximum of 40 characters.
To use this parameter, you must activate the switch for the LAMA (longmaterial number) business function in the system.
The LAMA business function is available as part of the business functionset for DIMP.

Value range
None

Default
None

Description
The characteristics and characteristic value assignments together withthe relevant descriptions are returned in this table.
INCLUDE DE_DOKU OBJECT DOKU ID TX LANGUAGE EN

Value range
If the field RELEVANCY contains the value X, the correspondingcharacteristic is a variant-creating characteristic (otherwise).