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.