Skip to Content
Author's profile photo Subrahmanya Shyam Kumar Pindiproli

AMDP’s … Sneakpeak for an ABAPer into the world of HANA

It has been a while ABAP Development on Eclipse has been in existence but it is quite a rare occasion to see coders actually use it. It is no longer a “nice to know” thing, development using Eclipse has transformed into a “must need to know” for ABAPer’s to work with HANA.

If you are new to Eclipse based development; I would recommend this blog by Jagdeesh Enabling ABAP in Eclipse 

1. Create a new ABAP Project in Eclipse

Create a new project.png

2. Make sure you have the necessary authorizations to proceed further with the development.

You will need additional roles to proceed further. If you do not have these then you will not be able to add / create a New ABAP Project.



By now you have eclipse installed and setup also all the necessary roles have been assigned, we just need to get going with the development.

The demo AMDP is to do basic CRUD activities on a demo table that I created in HANA.

To be fair, all exceptions that arise out of a database operation result in a runtime error and that is why I believe there is no way you can raise a “non class based exception”. All class based exceptions can be raised and sent to the calling program to be handled.

I am still not able to find out a root cause of this ABAP dump but I did find a workaround; probably some of the AMDP experts can put in more explanation why this occurs. When the runtime error AMDP_TOO_MANY_RETRIES and you are not able to proceed further; I came across this standard SAP program which did rescue me.

    • Execute the program RSDBGEN_AMDP, select the “Delete database objects?
    • Restart the application that terminated previously.
    • The AMDP runtime then automatically creates all required database objects.


I am still investigating the issue, If I get any heads up I update the details .. till then Happy coding !!

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Peter Inotai
      Peter Inotai

      You can check this tutorial regarding program RSDBGEN_AMDP Tutorial: How to Debug an ABAP Managed Database Procedure

      "Since ABAP Managed database procedures are created in the HANA catalogue at first execution – during ABAP class activation – you might need to generate the catalogue object before you can start the debugging. For this purpose you can execute the ABAP report RSDBGEN_AMDP."

      Author's profile photo Subrahmanya (Shyam) Pindiproli
      Subrahmanya (Shyam) Pindiproli
      Blog Post Author

      Thanks for the input Peter, I used the ABAP report RSDBGEN_AMDP as a last resort to delete the DB Objects and start fresh.

      This definitely helps.

      -- Shyam

      Author's profile photo Peter Inotai
      Peter Inotai

      You're welcome. Thanks for the update.