Reading highest value out of internal table
It feels like a bit of a newbie question, but does anyone know an appropriate way to read the highest value of a field in an internal table? For instance simular to ..select max.. for DB selections?
I can of course sort the table on that field and do a read table with index = 1, but that doesn't look very pretty. A function module which does the trick would be most appreciated.
Martijn de Jong.