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
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.
Program : RSDBGEN_AMDP
I am still investigating the issue, If I get any heads up I update the details .. till then Happy coding !!