Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Reading highest value out of internal table

Hi all,

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.

Kind regards,

Martijn de Jong.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question