Skip to Content
0
Former Member
Oct 05, 2005 at 06:59 AM

problem in ALV

26 Views

Hi all,

I am having a problem in which suppose if i am getting duplicate records on the basis of vbeln and zposn, i have to sum up all the fields related to currency. and also there is field called zattnmnt which is numeric and the average of all duplicate records of this field should be displayed.

for eg., my records are

vbeln-zposn-zattnmnt-tot

001 -10001-70 -----5000

001 -10001-100 ----4000

001 -10001-50 -----3000

the o/p should be displayed as

001 -10001-73 -----12000

help me in this context