Skip to Content
0
Former Member
Apr 23, 2010 at 06:31 AM

Logic required for a Internal table issue

39 Views

Hi Experts,

I want to take the maximum amount(stprs) according to my stlnr value. That means in my internal table having lots of entries. its contain stlnr and stprs. i want to pick only the maximum stprs value for each and every stlnr.

my internal table like below, for example from the internal table i required 17238 and its 0.32 , 17210 and its 0.21, 162178 and its 6.21.


STLNR	MATNR	STPRS
17238	1021208	0.01
17238	1339526	0.32
15028	1330026	5
17210	7376973	0.21
17210	7379263	0.01
162178	1574231	3.21
162178	814661	6.21

Gowri sankar