Hi,
I'm using FM CS_BOM_EXPL_MAT_V2 to bring BOM explosion, but this function doesn't return the correct quantity like VA01 when I enter the main material and its order quantity.
Does someone know any other function to explode BOM material and return each quantity, depending the main material order quantity entered?
My codes are:
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
capid = 'SD01'
datuv = sy-datum
emeng = w_qtd
mtnrv = material-matnr
werks = material-werks
TABLES
stb = gt_stb
EXCEPTIONS
alt_not_found = 1
call_invalid = 2
material_not_found = 3
missing_authorization = 4
no_bom_found = 5
no_plant_data = 6
no_suitable_bom_found = 7
conversion_error = 8
OTHERS = 9.
Thank you.
Chang