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

CS_BOM_EXPL_MAT_V2

Former Member
0 Likes
554

i run this func form matnr 12345

i get to rows with mglg

matnr 12 mglg 2 menge 2

matrn 00 mglg 8 menge 4

i need to make rank for matnr 12 4 matnr of 00

example:

rank 1 matnr 12 and 4 times of matnr 00

rank 2 matnr 12 and 4 times of matnr 00

pls....

1 ACCEPTED SOLUTION
Read only

naveen_kumar116
Active Participant
0 Likes
493

Hi,

For CS_BOM_EXPL_MAT_V2 it explode BOM based on Material Level which has been Used.......

For example....

Material 1 is Finished Goods for making FG material other material Can be Required...this material usage list retrived with this FM......

For ur Query...

Sort Based on Based on quantity so that higher quantity material will come first....If u dont mind abt material BOM Level....

Think so for each loop u need to find rank...

Cheers,

Naveen

i run this func form matnr 12345

i get to rows with mglg

matnr 12 mglg 2 menge 2

matrn 00 mglg 8 menge 4

i need to make rank for matnr 12 4 matnr of 00

example:

rank 1 matnr 12 and 4 times of matnr 00

rank 2 matnr 12 and 4 times of matnr 00

pls....

2 REPLIES 2
Read only

naveen_kumar116
Active Participant
0 Likes
494

Hi,

For CS_BOM_EXPL_MAT_V2 it explode BOM based on Material Level which has been Used.......

For example....

Material 1 is Finished Goods for making FG material other material Can be Required...this material usage list retrived with this FM......

For ur Query...

Sort Based on Based on quantity so that higher quantity material will come first....If u dont mind abt material BOM Level....

Think so for each loop u need to find rank...

Cheers,

Naveen

Read only

0 Likes
493

thanks, but how i can make a rank for all the record any func,method or simple logic....

plss