Application Development and Automation 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: 
Read only

BAPI to Explode BOM

Former Member
0 Likes
2,160

Hi,

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

Regards,

Tharun Venkat

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,694

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
Read only

Former Member
0 Likes
1,694

Hi Tharun,

YOu can use function : CSAP_MAT_BOM_READ to read material bom.

Hope this may be useful for you.

Lanka

Read only

mandar_shete
Active Participant
0 Likes
1,694

Hi,

Check FM <b>CS_BT_PHANTOM_EXPLODE_NEW</b>

Read only

Former Member
0 Likes
1,695

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

Read only

Former Member
0 Likes
1,694

Hi tharun,

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

check FM CS_BOM_EXPL_MAT_V2.

Thanks & Regards,

Ankur

Read only

Former Member
0 Likes
1,694

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