Quantcast
Channel: SAP Business One SDK
Viewing all articles
Browse latest Browse all 49

How to call SAP Business One Service Layer from HANA XS

$
0
0

As you might know our SAP Business One Service Layer provides an OData interface (see more details about Service Layer in our SAP Business One,version for SAP HANA Extensibility topics page). You can then develop applications in top of Service Layer to manage SAP Business One data.

 

One of the possibilities to create your own application in top of SAP HANA and Service Layer is to use SAP HANA XS (see details at Introducing...SAP HANA Extended Application Services (XS)).

In HANA XS to be able to call from java script code an https service it is required to create a destination and import the certificate into HANA XS. The following blogs provided detailed explanations how to set up the trust relation between your HANA XS application and an https service like our B1 Service Layer and how to define and call the https destination.

 

Once these steps followed you will be able to call B1 Service Layer https from your HANA XS.

Please find attached a sample HANA XS .xsjs file (change extension to .xsjs as only .txt accepted to be attached to a blog) showing how to call B1 Service Layer fusing the HANA XS server side Java Script API (http://help.sap.com/hana/SAP_HANA_XS_JavaScript_Reference_en/$.net.http.Client.html).

 

Note: This trusted relation can only setup between HANA XS and B1 Service Layer from B1H 9.1 PL10 on.

 

Regards,

Trinidad.


Viewing all articles
Browse latest Browse all 49

Trending Articles



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