Hi experts,
I want to connect to external SQL database from SAP with HANA database. And i done the config by tcode: DBCO like below:
And below is the test connection program
CONSTANTS:cn_sql_conn_name TYPE dbcon-con_name
VALUE 'ZHR_PT_TX_DB_CONNECTION'.
EXEC SQL.
CONNECT TO :cn_sql_conn_name
ENDEXEC.
IF sy-subrc <> 0.
ENDIF.
And sy-subrc = 4 when a run this code. Then I searched on the internet and found it maybe caused less of dbmssslib.<ext> file.
But i use tcode: AL11 to check the file existed in system,
and still cannot connect to the external SQL database.
But when i did the same thing in SAP IDS system based on non-HANA dabase, it connected to SQL db successfully.
Did anybody met this issue before??