04-26-2022 2:13 PM - edited 02-04-2024 3:25 AM
My query is more about their usability, similarities and differences. Like CDS is actually used for VIEWS creation. AMDP is used for Storage Procedures creation. So both have two different functionalities then how could they both be related?
Please correct me if my question is incorrect or invalid. I just feel both are completely different and there is no comparison possible between them.
To answer "are CDS and AMDP related?": they are as related as a screwdriver and a dolphin. Both exist on planet Earth but that's pretty much where similarities end.
This is not an accurate comparison but think of CDS views as sort of database views and of AMDP as sort of stored procedures. These are just general DB concepts and Wikipedia explains them quite well, I think. If you understand what views and stored procedures are, in general, it will be much easier to correlate this information to other learning.
Good luck!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for answering my query Jelena. So as per my understanding from your response they both are not comparable but then they are somehow linkable as they both are part of one concept called Database.
You can combine both CDS and AMDP for some use cases.
See examples below:
https://blogs.sap.com/2020/07/21/leveraging-table-functions-within-cds-views-in-s-4hana/
https://blogs.sap.com/2019/09/16/access-hana-db-functions-from-abap-cds-views-based-services/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.