Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI to Explode BOM

Former Member
0 Kudos

Hi,

Is there any BAPI available to explode BOM ungently needed, Thanks.

Regards,

Tharun Venkat

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Use function module 'CS_BOM_EXPL_MAT_V2'. Search this forum with this function module, you will see lot of examples and explanation.

5 REPLIES 5

Former Member
0 Kudos

Hi Tharun,

YOu can use function : CSAP_MAT_BOM_READ to read material bom.

Hope this may be useful for you.

Lanka

mandar_shete
Active Participant
0 Kudos

Hi,

Check FM <b>CS_BT_PHANTOM_EXPLODE_NEW</b>

Former Member
0 Kudos

Use function module 'CS_BOM_EXPL_MAT_V2'. Search this forum with this function module, you will see lot of examples and explanation.

Former Member
0 Kudos

Hi tharun,

I have thoroughly tried this FM and it works as desired.

check FM CS_BOM_EXPL_MAT_V2.

Thanks & Regards,

Ankur

Former Member
0 Kudos

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