Homelab, Linux, JS & ABAP (~˘▾˘)~
 

[ABAP] Finding maximum value of specific column in itab

    DATA(maximum) = REDUCE #( INIT max = VALUE myType( )
                              FOR  line IN myTable
                              NEXT max = COND #( WHEN line-myColumn > max THEN line-myColumn
                                                                          ELSE max ) ).

Leave a Reply

Your email address will not be published. Required fields are marked *