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

Aternative BOM

Former Member
0 Likes
643

I have used FM CS_BOM_EXPL_MAT_V2 for BOM but i mnot getting data.I want it for alternate BOM

CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'

EXPORTING

ALTVO = 'X'

capid = 'BEST'

datuv = sy-datum

emeng = is_mseg_101-menge

MEHRS = 'X'

mtnrv = is_mseg_101-matnr

stlal = '1'

STLAN = '1'

werks = is_mseg_101-werks

TABLES

stb = it_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

conversion_error = 8

OTHERS = 9.

can any ne help me to get data for alternate BOM

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
602

pass the alternative bom no in stlal parameter...

regards

shiba dutta

4 REPLIES 4
Read only

Former Member
0 Likes
602

Hi

use csap_mat_bom_read

csap_mat_bom_maintain.

Thanks

Read only

Former Member
0 Likes
603

pass the alternative bom no in stlal parameter...

regards

shiba dutta

Read only

0 Likes
602

I m not getting even if i pass alternative bom value

Read only

0 Likes
602

Hi

Is your requirement is to get BOM for material.

In that case the above two function modules will work

you need to pass material number,alternative bom and date.

date should change in the format using edit mask.

Thanks