Skip to Content
0
Former Member
Mar 16, 2007 at 12:45 AM

help - 'CS_BOM_EXPLOSION'

195 Views

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