I am trying to explode BOM using the function module given below.
Is it possible that i can display the exact exception that i get on screen.
call function 'CS_BOM_EXPLOSION'
exporting
datuv = li_datuv
mktls = 'X'
mehrs = 'X'
mmory = '1'
mtnrv = li_mtnrv
capid = 'PP01'
stlal = '1'
svwvo = 'X'
vrsvo = 'X'
werks = li_werks
importing
topmat = startmat "includes structure CSTMAT
tables
stbd = i_tbd "includes structure CSXDOC
stbe = i_tbe "includes structure CSXEQUI
stbk = i_tbk "includes structure CSXKLA
stbm = i_tbm "includes structure CSXMAT
stbp = i_tbp "includes structure CSXGEN
stbt = i_tbt "includes structure CSXTDL
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.