02-17-2016 10:52 AM
Hi all,
i have attached the code sample,please tell me how to handle this in AMDP .
Basically i have two performs .in one perform we are fetching some data and based on that data again we fetch another data in another perform.how to handle this in AMDP.
ALSO if i have two internal table in ABAP report and i need to loop one internal table and read second internal table based on some condition how to handle this in AMDP?
please tell me step by step or provide me screenshots,because i am not very much comfortable to use AMDP
02-17-2016 12:46 PM
Hello Prashant,
there is already a blog which describes all necessary steps how you call an AMDP method from another AMDP method.
Regarding your requirement to determine data within a loop over an internal table you should check if it is not better from a performance point of view to avoid such a nested construct.
Regards,
Florian
02-17-2016 1:22 PM
Hi Florian,
can you suggest by seeing my code how i can write this code in AMDP because i need to do code optimization of abap programs in hana.
i
02-18-2016 7:50 AM
Hi Prashant,
While migrating ABAP code to HANA DB via AMDP you should have to understand behavior of open SQL/ABAP logic and later based on that we can able to convert it in native SQL.
Put left outer join on your base query.
For all entries is same as left outer join.
-Amol S