02-09-2006 2:05 AM
Hi,
Is there any BAPI available to explode BOM ungently needed, Thanks.
Regards,
Tharun Venkat
02-09-2006 5:07 AM
Use function module 'CS_BOM_EXPL_MAT_V2'. Search this forum with this function module, you will see lot of examples and explanation.
02-09-2006 2:10 AM
Hi Tharun,
YOu can use function : CSAP_MAT_BOM_READ to read material bom.
Hope this may be useful for you.
Lanka
02-09-2006 4:55 AM
02-09-2006 5:07 AM
Use function module 'CS_BOM_EXPL_MAT_V2'. Search this forum with this function module, you will see lot of examples and explanation.
02-09-2006 5:22 AM
Hi tharun,
I have thoroughly tried this FM and it works as desired.
check FM CS_BOM_EXPL_MAT_V2.
Thanks & Regards,
Ankur
02-09-2006 5:39 AM
Hi,
Use CS_BOM_EXPLOSION FM.
CALL FUNCTION 'CS_BOM_EXPLOSION'
EXPORTING
capid = 'PP01'
datuv = SY-DATUM
mtnrv = header-stlnr
werks = header-werks
mehrs = 'X'
TABLES
stbd = stbd
stbe = stbe
stbk = stbk
stbm = stbm
stbp = stbp
stbt = 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.
Afetr Passing capid,datuv,mtnrv,werks,mehrs values, FM will build STBP Table Which comntain all comnponents related to ur STLNR.
Regards,
Digesh Panchal
Note : Please reward points, if it solve ur problem