Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CS_BOM_EXPL_MAT_V2 fm returning incorrect Unit of measure

Former Member
0 Kudos
211

Hello Experts,

I am using below code fm for getting BOM details but the unit of measure is incorrect, please suggest if I am missing any thing

CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
capid = p_app
datuv = p_edate
emeng = p_rqty
mktls = c_x
mehrs = p_mehrs
mtnrv = w_mast-matnr
stlal = w_mast-stlal
stlan = w_mast-stlan
stpst = 0
svwvo = c_x
werks = w_mast-werks
vrsvo = c_x
rndkz = '1' "Roundoff:' '=always'1'=never'2'=only levels > 1
IMPORTING
topmat = w_cstmat
TABLES
stb = i_stb

Thanks,

rg

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos
56

Could you elaborate on 'the unit of measure is incorrect': conversion-exit, not the required unit?