Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
S0019300750
Contributor
With 7.5 release, SAP introduced AMDP functions alongside AMDP procedures.

 



This is how it works-

  1. Naming convention- AMDP stands for ABAP managed database procedure. So, what is AMDP procedure? AM procedure procedure. What is AMDP function? AM Procedure function ?

  2. AMDP functions are implemented in ABAP global class as a method. So, can you call it from other ABAP methods or programs? Answer is No. AMDP functions cannot consumed by ABAP directly.

  3. AMDP functions can be consumed via CDS table functions

  4. CDS table functions are implemented using AMDP functions

  5. CDS table functions can be consumed by CDS Views

  6. CDS table functions can be consumed by ABAP

  7. How to create this? First create DDL source for -CDS Table function leaving IMPLEMENTED BY section. Now create AMDP function. Now come back to CDS table function and complete IMPLEMENTED BY section. You have to follow this order.

  8. One more thing- CDS Views are supported on all databases but CDS table functions are supported only HANA.


Simple eh?

 

Note: By the way i am really happy with CDS Views and their integration with ABAP, Fiori, Analytics..Great Job SAP 🙂
3 Comments