Have a query regarding the "CSAP_MAT_BOM_READ" call
CALL FUNCTION 'CSAP_MAT_BOM_READ'
material = wa_mast-matnr(For Example : 123456)
plant = wa_mast-werks
bom_usage = wa_mast-stlan
alternative = wa_mast-stlal
valid_from = v_fdate
valid_to = v_tdate
t_stpo = itab1
t_stko = itab2
error = 1
OTHERS = 2.
For Example if I pass meaterial number '123456' into the above FM as input parameter.
Does stko-BOM_NO give me 123456(The root BOM).if not which is the field to get the root meaterial number.
Does stpo-COMPONENT give me the child meaterial Number.What does stpo-BOM_NO give me.
if the above is not true,which is the stpo field which give me the child meaterial number.
Does t_stko abd t_stpo have to be passed with itab parameters.
Is that also so to understand that in stko itab there will be only 1 entry corresponding to the root BOM and
stpo itab conatins as many rows or entries as there are child componenets from the root BOM.