All topics
RAP_CDS_ODATAadvanced

AMDP

Learn ABAP Managed Database Procedures as a controlled way to execute SQLScript on SAP HANA from ABAP. Focus on AMDP methods, table functions, pushdown use cases, lifecycle, testing, performance evidence and the situations where simpler Open SQL or CDS is the better choice.

Overview

Learn ABAP Managed Database Procedures as a controlled way to execute SQLScript on SAP HANA from ABAP. Focus on AMDP methods, table functions, pushdown use cases, lifecycle, testing, performance evidence and the situations where simpler Open SQL or CDS is the better choice.

Lessons in this topic

Interview questions covered

  • You inherit 25 AMDP classes. What do you review?
  • How do you pass internal tables to an AMDP and handle client and NULL values correctly?
  • What are the key clauses you expect in a basic HANA AMDP method and what does each one do?
  • A report is slow because it aggregates millions of rows in ABAP. Would you move it directly to AMDP?
  • What is AMDP, and where does it fit among the code pushdown options?
  • Three AMDP procedures contain the same SQLScript block with slight differences, and reports show inconsistent numbers. What do you do?
  • A nightly job calling an AMDP dumps occasionally with a database error. How do you analyze it?
  • What are your design rules for AMDP in a clean-core S/4HANA project?
  • A guideline requires all reporting logic in AMDP "for HANA performance". How do you respond?
  • Explain the difference between AMDP procedures, AMDP functions and FOR TABLE FUNCTION methods.
  • How do you test and tune AMDP code?
  • Can AMDP be used in ABAP Cloud, and what are the restrictions?

Related topics

Interview questions on this topic