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: 

help - 'CS_BOM_EXPLOSION'

Former Member
0 Kudos

Dear all,i have the following coding

CALL FUNCTION 'CS_BOM_EXPLOSION'

EXPORTING

ALTVO = 'X'

DATUV = PA_DATE

EHNDL = '1'

EMENG = Z_QTY

MKTLS = ' '

MDMPS = 'X' "multiple level explosion

MEHRS = 'X' "phantom item explosion

MTNRV = Z_MATNR

STLAN = C_STLAN

STLAL = '01'

WERKS = PA_WERKS

CAPID = ' '

TABLES

STBD = I_STBD

STBE = I_STBE

STBK = I_STBK

STBM = I_STBM

STBP = I_STBP

STBT = I_STBT

EXCEPTIONS

ALT_NOT_FOUND = 1

CALL_INVALID = 2

MISSING_AUTHORIZATION = 3

NO_BOM_FOUND = 4

NO_PLANT_DATA = 5

NO_SUITABLE_BOM_FOUND = 6

OBJECT_NOT_FOUND = 7

CONVERSION_ERROR = 8

OTHERS = 9.

the customized report,is extracting this parameter i_stbp-ewahr using this function.but the user claim that the value retrive is not correct,is there anyother way in the SAP i can check this EWAHR from?? thanks

3 REPLIES 3

former_member194669
Active Contributor
0 Kudos

Joan,

Try to use function CS_BOM_EXPL_MAT_V2

aRs

Former Member
0 Kudos

always i have used CS_BOM_EXPL_MAT_V2 for BOM explosion so no idea about 'CS_BOM_EXPLOSION' but one thing there CAPID you have given '' i think it will be PP01 just ask your fnal what is BOM application value..by default it is PP01.

regards

shiba dutta

Former Member
0 Kudos

thanks all for the reply,nothing wrong with the data retrieved..is the user misunderstood d thanks