Skip to Content
author's profile photo Former Member
Former Member

Error occurred when selecting from database

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 12, 2016 at 09:06 PM

    Debashish,

    Did you get any solution for this problem.

    I am having the same issue.

    Thanks,

    Haseeb

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Jul 13, 2016 at 07:03 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.