Skip to Content
0
Former Member
Sep 03, 2007 at 09:22 AM

logic needed

16 Views

Hi All,

i have an internal table with the following values .

eg

field1 field2 field3 field4

123 50 20 abc

123 60 50 eee

123 70 90 rrrr

124 50 80 ggg

124 90 20 ggh

125 50 80 nnn

125 30 20 mm

in the above table

i need to display field4 for the below condition.

for same entry in field1 i should sum field2&field3 and get the highest value.

display field4 which has the highest value.(sum of field2&3)

thanks in advance