<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Connecting to external database using ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113917#M1816316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. I get following message when i run this tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could not open connection MYCONNECTION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;sql error&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12,514&amp;nbsp; occured:&lt;/P&gt;&lt;P&gt;ORA-12514: TNS:listener does not currently know of service requested in connect descriptor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look at the note you sent in below for more info.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Feb 2014 18:57:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-02-26T18:57:00Z</dc:date>
    <item>
      <title>Connecting to external database using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113912#M1816311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to connect to an external oracle database within the same network by doing the following..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I setup the database connection using transaction code DMCO.&lt;/P&gt;&lt;P&gt;- in SE38 i used the following statement to connect to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;PARAMETERS dbs &lt;SPAN class="L1S52"&gt;TYPE&lt;/SPAN&gt; dbcon-con_name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXEC &lt;SPAN class="L0S52"&gt;SQL&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONNECT &lt;SPAN class="L0S52"&gt;TO&lt;/SPAN&gt; :dbs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDEXEC&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;Here i get the sy-subrc value as 4. not sure what am i doing wrong here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;Appriciate any help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 21:32:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113912#M1816311</guid>
      <dc:creator>ramesh_putta</dc:creator>
      <dc:date>2014-02-25T21:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to external database using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113913#M1816312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at this help: &lt;A href="http://help.sap.com/abapdocu_70/en/ABAPEXEC_CONNECTION.htm" title="http://help.sap.com/abapdocu_70/en/ABAPEXEC_CONNECTION.htm"&gt;http://help.sap.com/abapdocu_70/en/ABAPEXEC_CONNECTION.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If its not working properly maybe can be a firewall problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 21:48:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113913#M1816312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-25T21:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to external database using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113914#M1816313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class="js-thread-post-wrapper j-rc4 j-thread-post-wrapper j-you jive-content"&gt;&lt;/P&gt;&lt;DIV class="j-thread-post j-rc4"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;i Actually copied program code from the link you sent. but it still not working. Is there any other way we can test if the database connection is working with the parameters provided in DBCO? I am in the same network as of the oracle database so i do not think its the firewall problem.&lt;BR /&gt;I get sy-subrc = 4 after line "CONNECT &lt;SPAN class="L1S52"&gt;TO :dbs" below&lt;/SPAN&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Here is the code ... &lt;SPAN class="L1S52"&gt;PARAMETERS dbs &lt;SPAN class="L1S52"&gt;TYPE dbcon-con_name.&lt;BR /&gt;&lt;SPAN class="L1S52"&gt;DATA&lt;/SPAN&gt; carrid_wa &lt;SPAN class="L1S52"&gt;TYPE&lt;/SPAN&gt; scarr-carrid.&lt;BR /&gt;&lt;SPAN class="L1S52"&gt;DATA&lt;/SPAN&gt; dbtype &lt;SPAN class="L1S52"&gt;TYPE&lt;/SPAN&gt; dbcon_dbms.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L1S52"&gt;&lt;SPAN class="L1S52"&gt;SELECT &lt;SPAN class="L1S52"&gt;SINGLE&lt;/SPAN&gt; dbms&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;FROM&lt;/SPAN&gt; dbcon&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;INTO&lt;/SPAN&gt; dbtype&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;WHERE&lt;/SPAN&gt; con_name = dbs.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L1S52"&gt;IF&lt;/SPAN&gt; dbtype = &lt;SPAN class="L1S33"&gt;'ORA'&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;TRY&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXEC&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;SQL&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp; CONNECT &lt;SPAN class="L1S52"&gt;TO&lt;/SPAN&gt; :dbs&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDEXEC&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IF&lt;/SPAN&gt; sy-subrc &amp;lt;&amp;gt; &lt;SPAN class="L1S32"&gt;0&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;RAISE&lt;/SPAN&gt; EXCEPTION &lt;SPAN class="L1S52"&gt;TYPE&lt;/SPAN&gt; cx_sy_native_sql_error.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDIF&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXEC&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;SQL&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;OPEN&lt;/SPAN&gt; dbcur &lt;SPAN class="L1S52"&gt;FOR&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;SELECT&lt;/SPAN&gt; carrid&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;FROM&lt;/SPAN&gt; scarr&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDEXEC&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L1S52"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;DO.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXEC&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;SQL&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;FETCH&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;NEXT&lt;/SPAN&gt; dbcur &lt;SPAN class="L1S52"&gt;INTO&lt;/SPAN&gt; :carrid_wa&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDEXEC&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IF&lt;/SPAN&gt; sy-subrc &amp;lt;&amp;gt; &lt;SPAN class="L1S32"&gt;0&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXIT&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ELSE&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;WRITE&lt;/SPAN&gt; / carrid_wa.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDIF&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDDO&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXEC&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;SQL&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CLOSE&lt;/SPAN&gt; dbcur&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDEXEC&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXEC&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;SQL&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp; DISCONNECT :dbs&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDEXEC&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CATCH&lt;/SPAN&gt; cx_sy_native_sql_error.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;MESSAGE&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;`Error in Native SQL.`&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;TYPE&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'I'&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDTRY&lt;/SPAN&gt;.&lt;BR /&gt;&lt;SPAN class="L1S52"&gt;ENDIF&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 18:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113914#M1816313</guid>
      <dc:creator>ramesh_putta</dc:creator>
      <dc:date>2014-02-26T18:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to external database using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113915#M1816314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try run the report &lt;SPAN style="color: #333333; font-size: 12px;"&gt;ADBC_TEST_CONNECTION&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 18:24:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113915#M1816314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-26T18:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to external database using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113916#M1816315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at &lt;A href="http://search.sap.com/ui/notes?id=000738371&amp;amp;ssocompatible"&gt;SAP Note &lt;/A&gt;&lt;STRONG style="font-family: tahoma, helvetica, sans-serif; color: #333333; font-size: 12px;"&gt;&lt;A href="http://search.sap.com/ui/notes?id=000738371&amp;amp;ssocompatible"&gt;738371&lt;/A&gt; &lt;/STRONG&gt;too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Always test your connection using either osql or the Query Analyzer from all application servers that may be used. Testing with "SQL Server Authentication" is easy.&amp;nbsp;&amp;nbsp; Using "Windows Authentication" is a bit more difficult.&amp;nbsp; Often you cannot logon as NT user DOMAIN\SAPServiceSID. But usually user DOMAIN\sidadm has the same privileges, and therefore you can test by logging in as sidadm, and then execute&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; osql -E -S&amp;lt;server_name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure &amp;lt;server_name&amp;gt; matches the MSSQL_SERVER setting, including the prefix (except the empty : prefix).&amp;nbsp; Once you are able to connect enter "use &amp;lt;dbname&amp;gt;" where dbname matches the MSSQL_DBNAME setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You can test a connection using the following abap test program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;REPORT&amp;nbsp;&amp;nbsp; ZTESTDBCON.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data: DBN(128).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;EXEC SQL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; CONNECT TO 'TST'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ENDEXEC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;EXEC SQL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; SET CONNECTION 'TST'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ENDEXEC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;EXEC SQL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; SELECT db_name() INTO :DBN FROM SVERS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ENDEXEC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;WRITE: / 'current database name', DBN.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Substitute TST by your DBCON name (the CON_NAME from DBCON).&amp;nbsp;&amp;nbsp; If SVERS doesn't exist in your database, then use any table name that does exist.This will allow you to easily monitor errors when connecting.&lt;/P&gt;&lt;P&gt;3. If a connection fails or takes a very long time, the first place to look for errors is in the developer trace files (SID\DVEBMGS00\work\dev_w??).&amp;nbsp;&amp;nbsp; The error messages will indicate which network protocol was attempted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[DBNMPNTW]ConnectionOpen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example means that named pipes were being used.&amp;nbsp;&amp;nbsp; However the trace files don't show a lot of detail beyond that. To get a more detailed trace you can do the following:&lt;/P&gt;&lt;P&gt;a) se38 -&amp;gt; Run program RSMSS_DBSL_PROFILE_SWITCH.&amp;nbsp; Choose to set profiling ON.&lt;/P&gt;&lt;P&gt;b) Run the program that connects to the remote server and wait for it to fail.&lt;/P&gt;&lt;P&gt;c) Run program RSMSS_DBSL_PROFILE_SWITCH again and turn profiling OFF. Never leave the profiling on for extended periods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now new trace file(s) will exist in SID\DVEBMGS00\work named dbsl_w??. These files contain much more detail about the server name, and other connect options being used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 18:30:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113916#M1816315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-26T18:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to external database using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113917#M1816316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. I get following message when i run this tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could not open connection MYCONNECTION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;sql error&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12,514&amp;nbsp; occured:&lt;/P&gt;&lt;P&gt;ORA-12514: TNS:listener does not currently know of service requested in connect descriptor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look at the note you sent in below for more info.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 18:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113917#M1816316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-26T18:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to external database using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113918#M1816317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;It looks like your DB is not correctly defined in the Listener definition file or service isn't up.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;I found a lot of references to this error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;A href="http://ora-12514.ora-code.com/" title="http://ora-12514.ora-code.com/"&gt;ORA-12514: TNS:listener does not currently know of service...&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;A href="http://stackoverflow.com/questions/10786782/ora-12514-tnslistener-does-not-currently-know-of-service-requested-in-connect-d" title="http://stackoverflow.com/questions/10786782/ora-12514-tnslistener-does-not-currently-know-of-service-requested-in-connect-d"&gt;oracle - ORA-12514 TNS:listener does not currently know of service requested in connect descriptor - Stack Overflow&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;A href="http://edstevensdba.wordpress.com/2011/03/19/ora-12514/"&gt;http://edstevensdba.wordpress.com/2011/03/19/ora-12514/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Definelly your problem is in yout database service, not in SAP. If you don't have more questions, please close the thread.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 19:01:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113918#M1816317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-26T19:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to external database using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113919#M1816318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not an expert on the oracle side , so not sure most of the thing mentioned in the SAP notes you suggested.&lt;/P&gt;&lt;P&gt;- Should the sql developer client already installed on my machine?&lt;/P&gt;&lt;P&gt;- And the SAP notes were talking about the ORA file. do we need to have this file copied into SAP application server ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain as i have limited knowledge on oracle side.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 16:48:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113919#M1816318</guid>
      <dc:creator>ramesh_putta</dc:creator>
      <dc:date>2014-02-28T16:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to external database using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113920#M1816319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically it's &lt;SPAN style="color: #333333; font-size: 12px;"&gt;looks like your DB is not correctly defined in the Listener definition file or service isn't up.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Forgot about the SAP note, &lt;/SPAN&gt;contact your DBA and inform that your application can't connect to the listerner (use this error code as reference: "&lt;STRONG&gt;ORA-12514&lt;/STRONG&gt;").&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 17:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connecting-to-external-database-using-abap/m-p/10113920#M1816319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-28T17:19:41Z</dc:date>
    </item>
  </channel>
</rss>

