Enterprise Administration > Implementing Windchill ESI > Implementing Windchill ESI in an SAP Environment > SAP API Structures > Create BOM / Group BOM > CSAP_MAT_BOM_CREATE
  
CSAP_MAT_BOM_CREATE
This API is invoked to create BOMs in SAP. The following table provides details on this API:
Windchill Attribute Name
API Structure
API Field
API Field Description
Value If Default
Source
Transform
Assembly Part Number
HEADER
MATERIAL
Material Number
N/A
Windchill
N/A
TargetID
HEADER
PLANT
Plant
N/A
Windchill
Sub-string
N/A
HEADER
BOM_USAGE
BOM usage
1 = Production
Default
N/A
Effectivity Date
HEADER
VALID_FROM
Effectivity date
Current Date
Windchill, Default if not sent
N/A
Change Number
HEADER
CHANGE_NO
Change number
N/A
Windchill
N/A
N/A
HEADER
FL_COMMIT_AND_WAIT
Flag for commit and wait
X
Default
N/A
N/A
T_STPO
ITEM_CATEG
Item category
L=Stock Item
Default
N/A
Line #s
T_STPO
ITEM_NO
Item number
N/A
Windchill
N/A
Part Number
T_STPO
COMPONENT
Material number
N/A
Windchill
N/A
Substitute Part Number
T_STPO
COMPONENT
Material number
N/A
Windchill
N/A
Quantity
T_STPO
COMP_QTY
Component quantity
N/A
Windchill
N/A
Alt Item Group
T_STPO
AI_GROUP
Alternate item group number
N/A
Windchill
N/A
N/A
T_STPO
AI_PRIO
Alternate item priority
1 for the component2 for all substitutes of that component.
Default
N/A
N/A
T_STPO
AL_STRATEG
Alternate Strategy
“2”
Default
N/A
N/A
T_STPO
USAGE_PROB
Component Usage Probability
100 for the component1 for all substitutes of that component.
Default
N/A
N/A
T_STPO
SORTSTRING
Sort String 1 (Component)
"000"
Default
N/A
Alt Item Group
T_STPO
SORTSTRING
Sort String1 (Substitute)
N/A
Windchill
N/A
Only Populated if the Global Variable ESIFlags/EnableSortStringIdentification is set to "true." For more information, see Global Variables for Process Engine.