‎2009 Jan 19 5:12 AM
Hi ,
I exploded the BOM the irresepective of BOM Usage(STLAN) . I used the Function module CS_BOM_EXPL_MAT_V2 ( by not passing the STLAN ) But it is returning the Components of only BOM usage 3(Universal ) . But I need the all the BOM components with all BOM Usages .
is there any functuion module to display all the components and subcomponents of BOM irresptive of BOM Usage ?
Thanks
Sree.
‎2009 Jan 19 5:28 AM
Try this..
Use FM 'CS_BOM_EXPLOSION_MAT'
***BOM explosion
CALL FUNCTION 'CS_BOM_EXPLOSION_MAT'
EXPORTING
CAPID = 'PP01'
DATUV = SY-DATUM
MEHRS = 'X'
MTNRV = WA_MSEG-MATNR "Material
WERKS = WA_MSEG-WERKS "Plant
TABLES
STB = I_STB
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.
IF SY-SUBRC <> 0.
ENDIF.
Hope this helps.
‎2009 Jan 19 5:31 AM
hi
just check out CS_BOM_EXPLOSION or CSAP_MAT_BOM_READ
hope this helps
regards
Aakash Banga
‎2009 Jan 19 5:44 AM
Thanks Karan and Aakash for your replies .
I checked the above function modules , If I am not providing the BOM usage it is defaultly taking as BOM usage 3(Universal ) and it is not displaying materials with BOM usage 2 , K....
Regards
Sreedhar