pp展bom函数CS_BOM_EXPL_MAT_V2, 如果要只展替代BOM时参数要怎样写?
(我的写的,它展替代BOM时,没有替代BOM的就会把主BOM展出来。)
call function 'CS_BOM_EXPL_MAT_V2' "zapp01r060b 263行
exporting
capid = 'PP01'
datuv = z_bomdat
mtnrv = i_list-matnr
stlan = '1'
stlal = i_list-stlal
werks = i_list-werks
mehrs = 'X'
tables
stb = i_bom
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.