Administration d'entreprise > Implémentation de Windchill ESI > Implementing Windchill ESI in an SAP Environment > SAP API Structures > Query Part Cost Details
  
Query Part Cost Details
The following section describes the part details query for part cost information API.
BAPI_MATERIAL_GET_DETAIL
This API is used to get material cost data from SAP and needs to be called for each material being queried for from each plant. This API does not process multiple materials in multiple organizations with one API invocation. The following table provides additional information about this API:
Windchill Attribute Name
API Structure
API Field
API Field Description
Value If Default Used
Source
Transform
PartNumber
N/A
MATERIAL
Material Number
N/A
Windchill
N/A
TargetID
N/A
PLANT
Distribution Target ID
Windchill
N/A
TargetID
N/A
VALUATIONAREA
Distribution Target ID
PLANT
Windchill
N/A
N/A
N/A
VALUEATIONTYPE
N/A
N/A
N/A
N/A
BAPI_MATERIAL_AVAILABILITY
This API is used to get material stock data from SAP and needs to be called for each material being queried for from each plant. This API does not process multiple materials in multiple organizations with one API invocation. The following table provides additional information about this API:
Windchill Attribute Name
API Structure
API Field
API Field Description
Value If Default Used
Source
Transform
PartNumber
N/A
MATERIAL
Material Number
N/A
Windchill
N/A
TargetID
N/A
PLANT
Distribution Target ID
N/A
Windchill
N/A
N/A
N/A
STGE_LOC
0001
N/A
N/A
N/A
N/A
UNIT
Material Unit of Measure
N/A
TIBCO
N/A