Enterprise Administration > Implementing Windchill ESI > Implementing Windchill ESI in an SAP Environment > SAP API Structures > Query Part Cost Details > BAPI_MATERIAL_GET_DETAIL
  
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