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: 

monthly wise result in MDO4 using MD_STOCK_REQUIREMENTS_LIST_API function module

0 Kudos

Hi,

i need monthly wise result in MDO4 using MD_STOCK_REQUIREMENTS_LIST_API function module. but this function module displaying day wise. how to get monthly wise.

Thanks ,

Abdul

7 REPLIES 7

Juwin
Active Contributor
0 Kudos

Simply consolidate the data into another internal table.

Thanks,

Juwin

0 Kudos

Thanks for ur response . how can we consolidate monthly wise?

Juwin
Active Contributor
0 Kudos

That would be a simple ABAP question. Create a new table with month as additional field, loop at 1st table, and move each record into the new table.

Thanks,

Juwin

0 Kudos

Thanks for reply , but if year changes , it will display wrong result.

Juwin
Active Contributor
0 Kudos

That's why you have to make the month number a 6 char numeric field - use domain RSCALMONTH, and store year + month, in that field.

Thanks,

Juwin

raymond_giuseppi
Active Contributor
0 Kudos
  • To enhance MD04 look at BAdI MD_ADD_COL_EZPS
  • If you use the FM in one customer program, then create another itab with additional year and month column and move the data from MD_STOCK_REQUIREMENTS_LIST_API

What is your exact requirement?

Regards,

Raymond

gionei
Explorer
0 Kudos

you can use the parameter inper (T = (day), W (Week) or M (Month))