Quantcast
Channel: SCN : All Content - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 831

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

$
0
0

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


Viewing all articles
Browse latest Browse all 831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>