Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8545

Re: Regarding Max/Min from an internal table

$
0
0

Hi Bruno

You do realize the thread is a bit old.

I find the old school correct answer to be cooler than sort/read combination. Sorting entire table just to get a max/min value feels like overkill. However, sort/read has better readability.

To make it cooler, you can create a class method that does it dynamically.

max_order = zcl_itab=>max( itab , 'ORDER' ).


Viewing all articles
Browse latest Browse all 8545

Trending Articles