Skip to Content

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 🙂

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

    1. Vinod Patil Post author

      Note i am  not talking AMDP Procedure but rather about AMDP function.  It is not possible to consume AMDP functions in ABAP directly. So ABAP developers need to access those indirectly via  CDS Table Functions or CDS views  

       

      (0) 

Leave a Reply