SAP Function SMSS_OPEN_CONN - MSSQL : Open remote DB connection

Parameter Reference Type Length Default Optional Text
ACTVT ACTIV_AUTH C 2 03 / 71 / 23 / 36
CON_NAME DBCON_NAME C 30 Logical name of a database connection
TEMP_CONN MSSCONNDATA u 1224 X MSSQL multi-connect : Complete connection information

Parameter Reference Type Length Text
CON_REF REF TO CL_SQL_CONNECTION 0 Database Connection

Exception Text
CONNECT_ERROR Connect attempt failed (DB error)
ILLEGAL_CURRCON Parameter CURRCON is not properly initialized
INTERNAL_ERROR Connect attempt failed (ADBC error)
NOT_RUNNING_ON_MSSQL This function module is SQL Server specific
NO_AUTHORITY Authority check failed