Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

connect external oracle 10g database

Former Member
0 Likes
485

Hi,

I try to connect my sapR/3 to an external oracle10g database xx

I follow all from the note 339092.

Form other threat i use se38 and test connection with ADBC_TEST_CONNECTION program.

The result:

ORA-12154 TNS:could not resolve the connect identifier specified

DBCO is configured:

DB Connection: DBXX

DBMS : ORA

User name : useryy

DB password : pasword useryy for DBXX

tnsname.ora

DBXX.WORLD =

(DESCRIPTION =

(ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = servernumber )(PORT = 1527))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SID = DBXX)

)

)

ORACLE_HOME is

oracle/SAP/102_64

Can we need to include something else?

Hi,

I try to connect my sapR/3 to an external oracle10g database xx

I follow all from the note 339092.

Form other threat i use se38 and test connection with ADBC_TEST_CONNECTION program.

The result:

ORA-12154 TNS:could not resolve the connect identifier specified

DBCO is configured:

DB Connection: DBXX

DBMS : ORA

User name : useryy

DB password : pasword useryy for DBXX

tnsname.ora

DBXX.WORLD =

(DESCRIPTION =

(ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = servernumber )(PORT = 1527))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SID = DBXX)

)

)

ORACLE_HOME is

oracle/SAP/102_64

Can we need to include something else?

2 REPLIES 2
Read only

Former Member
0 Likes
433

Hi,

Check this url:

http://saptechno.blogspot.com/2008/07/how-to-connect-to-external-database.html

Read this:

Using transaction SE11, create a table (ZTABLE) with the same fields as the table in the external database, make sure that the type and lengths of the fields are identical.

Using transaction SE11, create a view (ZTABLE_VIEW, projection view) using BASIS table ZTABLE

Using SVRMGRL>

create dblink REMOTE_DB as connect to remote_user identified by password; (database link created)

drop table ZTABLE; (table dropped)

create synonym ZTABLE for ZTABLE@REMOTE_DB; (synonym created)

Using transaction SE16 , type in ZTABLE_VIEW and hit RETURN

Enter value in key fields and hit execute. (displays rows from the remote table)

http://saptechno.blogspot.com/2008/07/how-to-connect-to-external-database.html

Read only

Former Member
0 Likes
433

Thanks for the help, we found a problem into tnsnames we fixed and connection is running now.