03-16-2007 12:45 AM
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
03-16-2007 1:53 AM
03-16-2007 3:47 AM
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
03-16-2007 3:49 AM
thanks all for the reply,nothing wrong with the data retrieved..is the user misunderstood d thanks