There are four prerequisites to use an ABAP Managed Database Procedures (AMDP) in ABAP for SAP HANA.
The first prerequisite is to add an interface to the SAP ABAP class called IF_AMDP_MARKER_HDB. The second prerequisite is SAP ABAP method parameters need to be passed by value. The third prerequisite is that all parameters of AMDP need to be table type or scalar type. The last prerequisite is no methods with returning parameters can be used for AMDP.