S OneStopSAP
← All articles ABAP

SAP ABAP Performance Tuning - Use ABAP SORT instead or ORDER BY

Published November 13, 2009

The order by clause is executed on the database server, while the sort statement is executed on the application server. Thus instead of giving the order by in the select clause statement, it is better to collect the records in an internal table and then use the sort command to sort the resulting data set.


Share

Cookies on OneStopSAP

We use cookies for session handling and anonymous traffic analytics. No third-party tracking, no profiling.

Privacy →