SAP HANA XS Advanced Connection
See the Connector Marketplace topic. Please request your administrator to start a trial or subscribe to the Premium SAP HANA XS Advanced connector.
SAP HANA XS Advanced is an application and development platform that extends the capabilities of SAP HANA, offering advanced application development, deployment, and management features for building scalable and high-performance applications within the SAP ecosystem.
This topic describes how to authenticate to SAP HANA XS Advanced and configure any necessary connection properties in the SAP HANA XS Advanced connection connector.
Connection Configuration
Each connection property available in the SAP HANA XS Advanced connector is explained below.
Connection Name
The name of the connection to be created should be provided. This is the name that will display on the list of available connections.
XSUAA URL
The URL to retrieve the OAuth access token from.
In OAuth 1.0, the authorized request token is exchanged for the access token at this URL.
URL
The OData service endpoint.
You can find this endpoint in your web module configurations.
Check the file where you have defined all your routes. Set this connection property to a URL which points to an OData service file for example: http://hxehost.com/euro.xsodata
Auth Scheme
The type of authentication to use when connecting to SAP HANA XSA.
Possible Values
Basic
Set this to use Basic User / Password authentication.
If Basic
is selected, additional configuration parameter will get listed.
User Name
The SAP HANA XSA user account used to authenticate.
Password
The password used to authenticate the user.
OAuth
Set this to perform OAuth authentication with code grant type.
If OAuth
is selected, additional configuration parameter will get listed.
InitiateOAuth
Set this property to initiate the process to obtain or refresh the OAuth access token when you connect.
The following options are available:
OFF: Indicates that the OAuth flow will be handled entirely by the user. An OAuthAccessToken will be required to authenticate.
REFRESH: Indicates that the connector will only handle refreshing the OAuthAccessToken. The user will never be prompted by the connector to authenticate via the browser. The user must handle obtaining the OAuthAccessToken and OAuthRefreshToken initially.
Client ID
The client Id assigned when you register your application with an OAuth authorization server.
Client Secret
The client secret assigned when you register your application with an OAuth authorization server.
Access Token
The access token for connecting using OAuth.
Refresh Token
The OAuth refresh token for the corresponding OAuth access token.
OAuth Grant Type
The grant type for the OAuth flow.
The following options are available:
CODE
PASSWORD
OAuthPassword
Set this to perform OAuth authentication with password grant type.
If OAuthPassword
is selected, additional configuration parameter will get listed.
User Name
The SAP HANA XSA user account used to authenticate.
Password
The password used to authenticate the user.
InitiateOAuth
Set this property to initiate the process to obtain or refresh the OAuth access token when you connect.
The following options are available:
OFF: Indicates that the OAuth flow will be handled entirely by the user. An OAuthAccessToken will be required to authenticate.
REFRESH: Indicates that the connector will only handle refreshing the OAuthAccessToken. The user will never be prompted by the connector to authenticate via the browser. The user must handle obtaining the OAuthAccessToken and OAuthRefreshToken initially.
Client ID
The client Id assigned when you register your application with an OAuth authorization server.
Client Secret
The client secret assigned when you register your application with an OAuth authorization server.
Access Token
The access token for connecting using OAuth.
Refresh Token
The OAuth refresh token for the corresponding OAuth access token.
OAuth Grant Type
The grant type for the OAuth flow.
The following options are available:
CODE
PASSWORD
Add Configuration: Additional properties can be added using this option as key-value pairs.
After entering all the details, click on the TEST button.
If the connection service identification and authentication details are provided correctly, a success message stating “connection available” is generated.
Click on the CREATE button to save the changes.
If the details are incorrect or the server is down, you will get a message “Connection unavailable”.
If you have any feedback on Gathr documentation, please email us!