What is AMDP

1) AMDP stand for _______

a. ABAP Managed Data Procedure
b. ABAP Managed Database Procedure 
c. ABAP Managed Data Process
d. ABAP Method Database Procedure

Which is the correct answer?

---

2) AMDP method parameters are allowed to be ____________

a. Import, export
b. Import, export, changing
c. Import, export, changing and returning
d. Import, export, returning

Which is the correct answer?

---

Explanations

What is AMDP?

Allows developers to create and execute database procedures in an ABAP environment using ABAP method.

AMDP is the top-down approach of using HANA Database Procedures in ABAP.  Allow the execution of complex calculations inside the HANA database. 

AMDP only requires ABAP Application Server (AS) for developing, managing and calling database procedures.
 

What makes AMDP class and ABAP method different from normal class and method?

AMDP class

  • Can contain both regular methods and AMDP methods.
  • One or more AMDP methods can be present in AMDP class.
  • Can only be created using ADT.
  • class with AMDPs must implement interface IF_AMDP_MARKER_HDB
AMDP Methods
  • AMDP methods can be defined in the public, protected, or private visibility section of the class.
  • Although you can define AMDP methods as instance methods, they are always executed like static methods.
  • All AMDP method parameters have to be passed by value, and must be of either table or scalar types. Pass by reference is not permitted.
  • Exporting, importing and changing parameters are allowed. Returning parameters are not allowed.
  • AMDP Method is specified with addition BY DATABASE PROCEDURE in the method implementation part, followed by the database system (for example, HDB) and the implementation language (for example, SQLScript).
  • For parameters of table types, the line types have to consist of elementary components, because nested tables are not supported. ABAP Dictionary structure types are not allowed.
---

Answers

1) b

2) b
 

ABAP Tips

 

See Also
SAP ABAP on HANA

Estimate Guidelines for ABAP programs

Get help for your ABAP problems
Do you have a ABAP Question?

ABAP Books
ABAP Certification, BAPI, Java, Web Programming, Smart Forms, Sapscripts Reference Books

More ABAP Tips

Main Index
SAP Basis, ABAP Programming and Other IMG Stuff

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.