cancel
Showing results for 
Search instead for 
Did you mean: 

Error occurred when selecting from database

Former Member
0 Kudos

Hi,

I'm trying to replicate data (continuous sync) from SAP ECC system to an external Oracle DB using  SLT. I'm getting below error while creating a new configuration using LTRC t-code on the last screen.

"Error occurred when selecting from database"

Before trying to create the configuration in SLT, I've completed below activities,

a) Setup an RFC for source system with LT User with required role (SAP_IUUS_REPL_REMOTE)

b) Setup a DB connect for external Oracle DB with required user & schema details. --> The "Test connection" works fine. The DB user has all authorizations in external database like create table, insert record etc.

After successfully testing both RFC & DB connection, I tried to create "new configuration" using LTRC t-code. Now I'm stuck with above mentioned error. Also there is no log entries in SM21 or dump in ST22 or any oracle alert log entries in both SAP/external Oracle systems.

DMIS component version installed on ECC system is 2011_1_731 SP10. ECC system is on Linux & Oracle 12.1.0.2. External Oracle DB version is 12.1.0.2.

Any help is appreciated.

Regards,

Debashish Pradhan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Debashish,

Did you get any solution for this problem.

I am having the same issue.

Thanks,

Haseeb

Former Member
0 Kudos

Hi Haseeb,

Please assign "DBA" role to the external DB user in external DB. In my case this this role was missing.

Also use the program "ADBC_TEST_CONNECTION" to test your DB connection configured in SAP. If there is any error, check details in workprocess log.

Let me know if this helps.

Regards,

Debashish

Answers (1)

Answers (1)

0 Kudos

We had the same issue when replication to an Oracle database, and it was a permission that was missing for the user on the Oracle side. 

You need to grant permission to access dba_users