1
"Use of Order BY cluase while selecting data from tables.
Use of Inline declaration.
Use of Inner join on tables compared to For all entries. Use of data calculation related functions while selecting the data to reduce further roundtrip from DB.
All cluster and some pooled tables are converted to transparent tables in HANA. Hence queries on Cluster/pooled tables returns results sorted by primary keys is no more true here. Any custom coding which accesses physical table cluster/pool has to be changed so that the program reads from tables directly"
2
"If reusability is not the concern then we can go ahead with Open SQL only.
If reusability is needed then CDS is very useful also it can further be used in Odata & Fiori.
AMDP is useful when we want to have some very complex logic which requires looping and all also the need is to use SQL Script then we can go ahead with AMDP. But now with the birth of CDS table function we can use AMDP inside CDS."