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

Material Consumption

Former Member
0 Likes
706

Hi all,

I have to display material's total consumption for the given period from MVER table.

If the period entered is 06/2003 to 07/2006

then program should display consumption in year 2003 from JUN to DEC. In yr 2004 & 2005 for all 12 months. and for the year 2006 from JAN to JUL.

Can anyone help me to develop this logic.

Thanks,

Pratibha.

3 REPLIES 3
Read only

Laxmana_Appana_
Active Contributor
0 Likes
535

Hi,

Material consumption data can be retrived from S031 table it contains the fields spmon(period to analyze month) SPTAG(current date)and matnr werks and lgort. material consumption is calculated on field AGVBR or

MGVBR (total consumption)

Laxman

Read only

ferry_lianto
Active Contributor
0 Likes
535

Hi Pratibha,

Have you looked FM <b>CONSUMPTION_READ_FOR_MM</b>?

Here are the parameters.

- Material Number MATNR

- Plant WERKS

- Period Indicator PERKZ (M= Monthly, W=Weekly, T=Daily, P = Fiscal Year)

- Fiscal year variant PERIV (if PERKZ = P)

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.

Read only

Former Member
0 Likes
535

Hi,

As laxman said, U can pick the consumption details from s031 table . Check MAGBB field for consumtion qty.

This is basically info structure. u can find details about infostructures on LIS topic.

Regards,

Regards,

Sudhakar.