Fonction SAP BAPI_MATERIAL_GET_DETAIL - Determine Details for a Material

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
MATERIAL BAPIMATDET-MATERIAL C 18 Material No.
MATERIAL_EVG BAPIMGVMATNR u 82 X
PLANT BAPIMATALL-PLANT C 4 X Plant
VALUATIONAREA BAPIMATALL-VAL_AREA C 4 X Valuation area
VALUATIONTYPE BAPIMATALL-VAL_TYPE C 10 X Valuation type

Paramètre Reférence Type Long. Description
MATERIALPLANTDATA BAPIMATDOC u 6 Plant data
MATERIALVALUATIONDATA BAPIMATDOBEW u 36 Valuation area data
MATERIAL_GENERAL_DATA BAPIMATDOA u 414 General material data
RETURN BAPIRETURN u 452 Return Parameter

Functionality
This method provides a selection of client-specific, plant-specific,and valuation-area-specific or valuation-type-specific detail data fora given material.
The material number is a required parameter. If only the materialnumber is transferred, the method provides only client-specific detaildata for the material.
Plant-specific detail data can optionally be output for the material ifthe method has been provided with a plant (PLANT). The output ofvaluation-area-specific or valuation-type-specific detail data for thematerial requires a valuation area (VALUATIONAREA) to be specified.

Notes
For the data to be read successfully, you must be authorized to displaymaterial master data.
Messages are returned in the parameter RETURN. For the return valuesand their meanings, see the documentation for this parameter.

Description
This structure is used to return the plant-specific data for a materialto the calling program.
INCLUDE DE_DOKU OBJECT DOKU ID TX LANGUAGE EN

Description
This structure is used to return the valuation-area-specific orvaluation-type-specific data for a material to the calling program.
INCLUDE DE_DOKU OBJECT DOKU ID TX LANGUAGE EN

Description
This structure is used to return material data valid at client level tothe calling program.
INCLUDE DE_DOKU OBJECT DOKU ID TX LANGUAGE EN

Description
INCLUDE MATRETURN OBJECT DOKU ID TX

Value range
Type,,ID,,Explanation
S,,,,Material could be read successfully
E,,M3262,,Material could not be read (no material number
,,,,was transferred)
E,,M3305,,The material does not exist
E,,M3853,,No authorization to display the material
E,,MM302,,No authorization to display material master data
,,,,at client level
E,,M3849,,No authorization for the authorization group of
,,,,the material
E,,M3852,,No authorization for this material group
E,,M3851,,No authorization for this material type
E,,MM357,,The currency code for the valuation area is
,,,,missing
The field Message contains the message text for the respectivecode if a code exists.

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
For information on the meaning of the plant, see the correspondingentry in the glossary:
Plant

Description
For information on the meaning of the valuation area, see thecorresponding data element documentation:
Valuation area

Description
For information on the meaning of the valuation type, see thecorresponding data element documentation:
Valuation type

522960mySAP PLM Business Packages - error analysis
569062BAPI_MATERIAL_GET_DETAIL does not return any short text