For the complete documentation index, see llms.txt. This page is also available as Markdown.

SAP HANA

Lumi currently supports S4 SAP HANA and the following document covers the usage of the database within the application.

Supported Methods

Means for Lumi to connect to the client to implement the services required:

SAP HANA requires the Data Gateway β€” a direct connection is not supported. See SAP HANA Client Installation.

Supported Limits

The following are limitations that can be set to fine tune the agents' actions:

Available Parameters

These properties are the essential source system connection properties that all queries are directed towards.

* Required parameters

Host*

Domain or IP of the database to allow a connection to Lumi AI.

πŸ‘ Valid Examples

  • Domain name: docs.lumi-ai.com

  • IPv4: 55.88.92.101

πŸ‘Ž Invalid Examples

  • IPv4 with alphanumeric characters: 123.abc.def.456

  • Incomplete domain name resolutions: lumi-ai.com

Port*

Access port to allow for connections to the database.

πŸ‘ Valid Examples

  • Default HANA SQL Port: 30015

  • SQL Interface Over HTTPS: 30013

  • XS Engine HTTP Port: 8000

  • XS Engine HTTPS Port: 44300

πŸ‘Ž Invalid Examples

  • Known Port Numbers (0-1023): 80

Username*

Username of the generated database user which will be used for interactions and transactions.

πŸ‘ Valid Examples

  • Uses alphanumeric characters : lumi1

  • Utilizing underscore (_) in place of spaces: user_number

πŸ‘Ž Invalid Examples

  • Starting with a number: 1lumi

  • Utilizing spaces: user name

  • Using invalid characters unquoted: user#1

Password*

Password of the generated database user which will be used for interactions and transactions.

Database*

Literal database name that will be used for transactions within the agents.

Special Considerations

  • If case sensitivity is required, utilize double quotes for database name; ex. "New_database"

πŸ‘ Valid Examples

  • Uses alphanumeric characters: lumi1

  • Utilizing underscore (_) in place of spaces: new_database

πŸ‘Ž Invalid Examples

  • Starting with a number: 1lumi

  • Utilizing spaces: user name

  • Using reserved words unquoted: select

  • Has invalid special character unquoted: lumi#2

SAP HANA Client Installation

Connections to SAP HANA are made through the SAP HANA client (hdbcli), which SAP licenses under its own terms. Lumi does not distribute the client with the Data Gateway, so it has to be installed once on the machine running the gateway, using your organization's existing SAP HANA entitlement.

This step applies only to SAP HANA. No other source system requires a separately installed driver.

1. Install the client

On the machine running the Data Gateway, install the client into a directory of your choosing:

Any location readable by the account the gateway runs as will do. The client is published for all common platforms; make sure you install the build matching the gateway host's operating system and CPU architecture.

2. Point the gateway at it

Give the gateway the directory containing the client, using any of the standard configuration channels:

  • Command line: --hana-client-path /opt/sap/hana-client

  • Environment variable: LUMI_AI_DATA_GATEWAY_HANA_CLIENT_PATH=/opt/sap/hana-client

  • config.yaml: hana_client_path: /opt/sap/hana-client

Restart the gateway after setting it. On startup the gateway logs the path it added, so the log line confirms the setting was picked up.

System Permissions & Configuration

Provided user must have the following:

For configurations:

Special Notes

  • Special characters and case sensitivity can be utilized in database names and usernames via encasing the name in double quotes (" "), but is not recommended

Common Issues

  • Ensure the SAP HANA client is installed on the gateway host and hana_client_path points at it (see SAP HANA Client Installation)

  • Ensure the firewall settings allow for a connection to the database

  • Ensure the username, password, and database values are explicitly provided

Last updated

Was this helpful?