‎2006 Sep 05 8:40 AM
Hi All,
I am using below function module as it is recommended from previous forums for the multiple level BOM explosion. But i am getting only one level.
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
CAPID = 'PP01'
DATUV = SY-DATUM
MKTLS = 'X'
MEHRS = 'X'
MMORY = '1'
MTNRV = W_KEKO-MATNR
STLAL = KEKO-STALT
STLAN = '1'
WERKS = P_BWKEY
TABLES
STB = I_STPOX
EXCEPTIONS
ALT_NOT_FOUND = 1
CALL_INVALID = 2
MATERIAL_NOT_FOUND = 3
MISSING_AUTHORIZATION = 4
NO_BOM_FOUND = 5
NO_PLANT_DATA = 6
NO_SUITABLE_BOM_FOUND = 7
OTHERS = 8.
please let me know what are all the parameters to pass for multi level explosion. if i am missing something also let me know if there is any other function module with parameters.
Thanks in Advance.
ur's
Harsha.
‎2006 Sep 05 9:08 AM
Hi Harsha,
Use CS_BOM_EXPLOSION with parameters
matnr ,date ,cuobj ,plant.
‎2006 Sep 05 9:30 AM
1.dont pass any Al.BOM details, then CHECK.
STLAL = KEKO-STALT---.dont pass
STLAN = '1'----
dont pass.
Regards
Prabhu.