Skip to Content
Author's profile photo Former Member

Consuming SAP HANA Procedures from ABAP [In Side Car Approach]

To consume the HANA procedure in ABAP we have to expose the HANA procedure by creating a Database Procedure Proxy in the ABAP Dictionary but the ADT allows you to create one only when the underlying database is SAP HANA.ADT.png

Is it really not possible to consume SAP HANA Procedure when SAP HANA is used as a secondary Database ?

Looking at the ABAP statement CALL DATABASE PROCEDURE it does not see so as it has a keyword CONNECTION which connects the secondary Database, so it is possible.


F1Doc.png

How can the ABAP procedure proxy be created ?


Database procedure proxy in ABAP could be created using the Class CL_DBPROC_PROXY_FACTORY.

Class.png


Once the ABAP Procedure proxy is created then the HANA procedure could be consumed using the ABAP statement CALL DATABASE PROCEDURE.

CallABAPProxy.png

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Pawan Akella
      Pawan Akella

      Thanks for sharing this nice article