SQL Script for ABAP Managed Database Procedures
SQL Script for ABAP Managed Database Procedures
Code pushdown
https://community.sap.com/t5/technology-blogs-by-sap/sql-script-for-abap-
managed-database-procedures-amdp-code-pushdown-for-a/ba-p/13520878
1) Use the AMDP table functions only in places where you cannot use the
CDS views. CDS views are preferred over AMDP table functions for the
optimization and parallelization they offer.
Go to the AMDP class and declare the internal table in the public section. Here we can
make use of the ABAP syntax and the ABAP datatypes. Declaring the global table types
are helpful in calling the AMDP methods with return parameters.
Below is an example of how we can declare an ABAP specific data type inside the
AMDP method using the SQP script