Skip to Content
Former Member
May 09, 2007 at 07:44 AM

Question about getting the column with smallest value in a table/alv


Hi all,

Is there a way to get the row with smallest value in 1 of the column from an internal table? For example, I had an internal table of 5 rows, and just 2 columns.

Column1 = Round numbers (1,2,3,4,5) and column2 = indicator (X or space). I want the row where column1 is smallest to have X in column2. Is there a way to do this?