Skip to Content
0
Former Member
Jan 09, 2008 at 08:18 AM

Total consumption of 201,202,261,262 movement types.

41 Views

Hi,

I fetched the data using the following select statement .

Select matnr werks menge mblnr zeile bwart from mseg into table it_mseg

FOR ALL ENTRIES IN IT_MKPF where mblnr = it_mkpf-mblnr

and bwart = '201'

or bwart = '202'

or bwart = '261'

or bwart = '262'.

My requirement is, I need to sum all the movement types and get total consumption.

Can some one tell how to do the same.