0% found this document useful (0 votes)
20 views

SQL Script for ABAP Managed Database Procedures

Uploaded by

sapoabap.sundar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

SQL Script for ABAP Managed Database Procedures

Uploaded by

sapoabap.sundar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

SQL Script for ABAP Managed Database Procedures(AMDP)-

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.

How to Declare an Internal Table Inside an AMDP class?

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.

Declare ABAP data type inside the SQL script

Below is an example of how we can declare an ABAP specific data type inside the
AMDP method using the SQP script

You might also like