In this blog post, I will show you how you can fast start with developing custom HANA adapters in JAVA.

  1. S-User is required to download data provisioning agent: I downloaded the Linux version, but windows should work too (I’m on Mac OS).
  1. I will proceed in SAP Hana Studio because Eclipse is missing some packages. If you don’t have SAP Hana Studio, please check:
  1. Download missing plugins: and put into the plugins folder
  1. Unpack dpagent.tar.gz
  1. Run Hana Studio and go to the Help -> Install new Software. Then click on Add, Local and choose patch to UI folder from extracted DPAGENT.TGZ
  1. Install the plugin.
  2. Create a hello world adapter. Change perspective to Plug-in development. Click on File->New->Plugin Project.
  1. Check to Generate an activator flag.
  1. Right-click on the project, Debug As ->Debug Configurations
  1. Unselect Target Platform and click on Add Required Bundles
  1. Select org.eclipse.equinox.console and Next click on Add Required Bundles
  1. Click on Apply, then Debug. When this is finished, everything should work perfectly. Now we can use dplogin to deploy plugin into your Hana system. If you are using HANA Express, dpagent can be activated on HXE instance from SYSTEM connection by:

    ALTER DATABASE HXE ADD 'dpserver' 

  2. And finally, you should be able to use it in Hana 🙂

Good article on SAP Blog regarding this topic: