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

what are minimum passing parameters for function module CS_BOM_EXPL_MAT_V2

Former Member
0 Likes
1,627

Hi

Im going to use FM: CS_BOM_EXPL_MAT_V2 and I want to only pass WERKS, but when I execute FM is gives exception as CALL_INVALID.

I saw all the Import parameters are Optional, but I think I need to pass more inputs to FM.

Please let me know what are MINIMUM input parameters required to run this FM

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,256

You need to pass :

CAPID = (Ask ur Fun con. we give it as 'PP01' m not sure if d same works for u)

DATUV =

EMENG = 1 ( this is the qty , it is usually 1)

MKTLS = 'X'

MEHRS = 'X'

MTNRV = Material No.

WERKS = Plant

Hi

Im going to use FM: CS_BOM_EXPL_MAT_V2 and I want to only pass WERKS, but when I execute FM is gives exception as CALL_INVALID.

I saw all the Import parameters are Optional, but I think I need to pass more inputs to FM.

Please let me know what are MINIMUM input parameters required to run this FM

Thanks

6 REPLIES 6
Read only

Former Member
0 Likes
1,257

You need to pass :

CAPID = (Ask ur Fun con. we give it as 'PP01' m not sure if d same works for u)

DATUV =

EMENG = 1 ( this is the qty , it is usually 1)

MKTLS = 'X'

MEHRS = 'X'

MTNRV = Material No.

WERKS = Plant

Read only

0 Likes
1,256

Thanks Priti

Its running perfectly.

Just tell me whether Date is from date or till date.

I mean I should give date like 01.01.1999 or current date?

Read only

0 Likes
1,256

You will have to pass the system date i.e. current date

Read only

0 Likes
1,256

Ok thanks.

Whats MEHRS field, I even tried running FM w.o. passing value to it and it ran properly.

Read only

0 Likes
1,256

Hi Priti

In my report when I write CAPID = 'PP01' and DATUV = sy-datum it give error as: "CAPID = 'pp01' DATUV = SY-DATUM is not expected" can you please let me know whats the reason?

Read only

Former Member
0 Likes
1,256

Hi

In my requirement, there are range of WERKS and MATNR which has to be given from selection screen, where as In CS_BOM_EXPL_MAT_V2 function module I can only give single value for WERKS and MATNR.

Can any one guide me how can I implement this?