Call the function
CSAP_ORD_BOM_CREATE create an order BOM, when you create a Variable-size item, only to find everything is normal field Qty Var-Sz Item update fails, always automatically calculated using the value system to replace the function of the input value.
CS63 Front View,
I looked at the F1 help for this field found that when the field is empty, does that automatically calculated a default initial value through the system, but also can change this value.
Qty Var-Sz Item function corresponding to input parameter STPO_API01-VSI_QTY, as follows:
2, problem solving
After CSAP_ORD_BOM_CREATE debug function to find the function itself may not support Qty Var-Sz Item field updates, STPO_API01-VSI_QTY entered value is cleared. . .
FLG_NEW_ROMEN Parameter Default value is 'X'
When FLG_NEW_ROMEN = 'X' when, romen the entered value is clear.
Finally, only after you've created an order BOM with CSAP_ORD_BOM_CREATE, then BDC update Qty Var-Sz Item field.
Perhaps there is a better way, this analysis is for reference only. . . I really do not believe CSAP_ORD_BOM_CREATE not update Qty Var-Sz Item field. : - (