Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

ECC to HANA 2nd DB Connection Failure

$
0
0

Hi Experts,

 

I have an issue when I coding ABAP in ECC fetching data from 2nd DB HANA.

 

*--------------------------------------------------*

start-of-selection.
data lv_count type i.


select count(*)

from ADRC

connection ('HANA_CONN')
into lv_count.


write: / 'Records Found:', lv_count.

*--------------------------------------------------*

 

Showing Dump when execute,

Short text

    A table is unknown or does not exist.

 

*--------------------------------------------------*

Test Connection is good.

ADBC_TEST_CONNECTION

 

Testing a Database Connection Defined in DBCON

Connection HANA_CONN                      successfully opened.
Connection HANA_CONN                      closed

*--------------------------------------------------*

 

Could anyone advise what is wrong here?

Thanks!

 

Carlos.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>