SAP Note
1983389 - DBCON entry for SAP HANA
Component: BC-DB-HDB-SYS (Database Interface/DBMS for SAP HANA), Version: 4, Released On: 12.11.2018
Symptom
This SAP Note involves creating a logical database connection for SAP HANA in transaction DBCO.
Other Terms
DBCON, HDB
Reason and Prerequisites
Enter the following data in the table DBCON (call transaction DBCO):
DB connection = logical name of the DB connection
DBMS = HDB
User name = database user
DB password = password of the database user
Connection info = <data to establish the database connection>
The syntax for the entry in the connection info field is defined as follows for SAP HANA:
<hostname>:<SQL Port>[,<hostname>:<SQL Port>][&<schema>]
<SQL Port> = 3xx15
xx = HANA Instance ID
You can also specify a schema name (optional). If you do, this schema is the default schema for the database user.
For HA and fail-over, you can define a list of <host>:<port>, separated by commas.
Examples:
HostA:30015
HostA:30015&MYSCHEMA
HOSTA:30015,HOSTB:30015,HOSTC:31115
Solution
As of SAP Kernel 7.22 and 7.41 (SAP HANA 7.41 DBSL PL 31), you also have the option of using key value pairs with the
following syntax:
HOST=<host name>:<SQLPort>[,...,<host name>:<SQLPort>][;SCHEMA=<schema>][;CON_PARAM=<dbparam>,...,
<dbparam>]
HOST = list of <host>:<SQLPort>
SCHEMA = Name of default schema
CON_PARAM = List of additional parameters for the CONNECT, such as CONNECTTTIMEOUT, ENCRYPT, ...
Examples:
HOST=HostA:30015
HOST=HostA:30015;SCHEMA=MYSCHEMA
HOST=HOSTA:30015,HOSTB:30015,HOSTC:31115
HOST=HostA:30015;CON_PARAM=CONNECTTIMEOUT=50000,ENCRYPT=TRUE
As of the following DBSL version, this DBCON syntax is available:
7.22 as of Patch Level 0
7.41 as of Patch Level 31
7.42 et seq.
Software Components
Software Component From To And subsequent
KRNL32NUC 7.21 7.21
KRNL32NUC 7.21EXT 7.21EXT
KRNL32UC 7.21 7.21
KRNL32UC 7.21EXT 7.21EXT
KRNL64NUC 7.21 7.21
KRNL64NUC 7.21EXT 7.21EXT
KRNL64NUC 7.41 7.41
KRNL64NUC 7.42 7.42
KRNL64NUC 7.22 7.22
KRNL64NUC 7.22EXT 7.22EXT
KRNL64UC 8.04 8.04
KRNL64UC 7.21 7.21
KRNL64UC 7.21EXT 7.21EXT
KRNL64UC 7.41 7.41
KRNL64UC 7.42 7.42
KRNL64UC 7.22 7.22
KRNL64UC 7.22EXT 7.22EXT
KERNEL 7.21 7.22
KERNEL 8.04 8.04
KERNEL 7.41 7.41
KERNEL 7.42 7.42 X
Support Package Patches
Software Component Version Patch Level Patch Level
SAP KERNEL 7.41 64-BIT SP000 000031
SAP KERNEL 7.41 64-BIT UNICODE SP000 000031
This document is referenced by
SAP Note/KBA Component Title
2213725 How-To: Troubleshooting of -10709 errors
2818623 HAN-DB-SEC Enabled SSL DBCO connection SolMan to HANA result in sql error 4321
2572975 HAN-DB-SEC Solman monitoring of only specific HANA DBs using SSL
2895803 HAN-DB-SEC Runtime Error DBSQL_CONNECTION_NO_METADATA
2478475 BC-DB-HDB-SYS DBCON entry for SQL connection to VORA
2493371 BC-DB-HDB-SYS DBCON entry for SQL connection for SAP HANA tenant
2005856 BC-DB-HDB-SYS DBCON entry for SSO connection to SAP HANA