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: 

'P' BOM Explode using CS_BOM_EXPL_MAT_V2

Former Member
0 Kudos

Hi I am trying to explode Global (Mast-werks = space) Packaging BOM using FM CS_BOM_EXPL_MAT_V2.

But I am not getting any Component data for the BOM

Where can i find some documentation for the above FM.

What parameters we need to pass to the FM.

Thanks

Kiran

1 ACCEPTED SOLUTION

rahul2000
Contributor
0 Kudos

hi kishor...c the paramaets below that need to be passed

LOOP AT IT_MDPB INTO WA_MDPB.

CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'

EXPORTING

capid = 'PP01'

datuv = p_date

mehrs = '1'

mtnrv = WA_MDPB-MATNR

werks = WA_MDPB-WERKS

stlan = p_stlan

stlal = p_stlal

emeng = WA_MDPB-PLNMG

TABLES

stb = istpox

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

conversion_error = 8

OTHERS = 9.

......

2 REPLIES 2

rahul2000
Contributor
0 Kudos

hi kishor...c the paramaets below that need to be passed

LOOP AT IT_MDPB INTO WA_MDPB.

CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'

EXPORTING

capid = 'PP01'

datuv = p_date

mehrs = '1'

mtnrv = WA_MDPB-MATNR

werks = WA_MDPB-WERKS

stlan = p_stlan

stlal = p_stlal

emeng = WA_MDPB-PLNMG

TABLES

stb = istpox

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

conversion_error = 8

OTHERS = 9.

......

Former Member
0 Kudos

thankyou