<?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: Exporting Data to external database in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559621#M253177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very sorry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you're right, I believe the correct name is DBconnect (not DBlink).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U should try to open a request to SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Sep 2006 09:47:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-16T09:47:37Z</dc:date>
    <item>
      <title>Exporting Data to external database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559616#M253172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;As background our SAP systems use Oracle on Solaris.&lt;/P&gt;&lt;P&gt;I have written programs that export data to an external oracle database also running on solaris by embedding native SQL in the ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is now a requirement to export data to a MS SQL Server database running on Windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are on BW v3.5. I know this was not possible previously can anyone confirm whether the method above will still not work for a SAP system running on Solaris exporting to MS SQL Server on Windows? i.e. Native SQL in ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 09:12:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559616#M253172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-16T09:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Data to external database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559617#M253173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you try to use DBlink?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can create a link between SAP and MS SQL and use native SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 09:18:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559617#M253173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-16T09:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Data to external database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559618#M253174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max,&lt;/P&gt;&lt;P&gt;No I haven't heard of it before.&lt;/P&gt;&lt;P&gt;Is there a transaction in SAP to use it?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Daivd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 09:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559618#M253174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-16T09:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Data to external database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559619#M253175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know very well it, but it's a tool to link SAP to external database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No u can create a link in the table DBCON and then insert native SQL code in ABAP prog. using EXEC SQL statament.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used it only once, I hope it can be usefull for u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to see this note: 178949&amp;lt;a href="https://websmp230.sap-ag.de/sap(bD1pdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0000178949&amp;amp;nlang=E"&amp;gt;https://websmp230.sap-ag.de/sap(bD1pdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0000178949&amp;amp;nlang=E&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway this the text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Symptom&lt;/P&gt;&lt;P&gt;DATABASE MULTICONNECT WITH EXEC SQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This note describes the possibility of accessing data with EXEC SQL which is not on the R/3 database server but on another MSSQL system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other terms&lt;/P&gt;&lt;P&gt;CONNECT DBCON OLEDB dblib&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reason and Prerequisites&lt;/P&gt;&lt;P&gt;It's desired to make a connection to a SQL Server database running on a server different from the R/3 server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisite: At least one Windows application server must be available on the R/3 system and the DBSL dynamic library (DLL) dbmssslib.dll must be installed on this server. This dll can be downloaded from the SAP Service Marketplace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution&lt;/P&gt;&lt;P&gt;Basics of the EXEC SQL MultiConnect&lt;/P&gt;&lt;P&gt;            OPEN SQL database accesses always refer to the R/3 database for the particular R/3 system's &amp;lt;SID&amp;gt; (three letter uppercase database name). EXEC SQL accesses normally also refer to the R/3 database. To access data which is on the R/3 database server in a database other than the &amp;lt;SID&amp;gt; database, it is sufficient to enter the table name qualified by the database name in EXEC SQL.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;  SELECT MYFIELD FROM MYDB..MYTABLE&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;Furthermore, you have the option in R/3 to access data with EXEC SQL which are on other SQL Server systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating a DBCON entry for a remote connection&lt;/P&gt;&lt;P&gt;            Every link which should be addressed via the Multiconnect must be described by a record in table DBCON. This entry can be created by means of the transaction sm30. For SQL Server create an entry as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CON_NAME: &amp;lt;my_conn_name&amp;gt;&lt;/P&gt;&lt;P&gt;DBMS: MSS&lt;/P&gt;&lt;P&gt;USER_NAME: &amp;lt;db_user&amp;gt;&lt;/P&gt;&lt;P&gt;PASSWORD:  &amp;lt;password&amp;gt;&lt;/P&gt;&lt;P&gt;CON_ENV: MSSQL_SERVER=&amp;lt;server_name&amp;gt; MSSQL_DBNAME=&amp;lt;db_name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            db_user could be sapr3 for example if the server is running R/3.  The password field may be blocked from view by asterisks in sm30. USER_NAME can be left blank in order to use integrated security (4.6d kernel and later).  In that case make sure that the OS User running R/3 has the required privilege on the remote server.  A dummy password must be entered in sm30, it will not be used when the user name is blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specifying the server name&lt;/P&gt;&lt;P&gt;            The server name is simply the name of the SQL Server or named instance i.e. the hostname (for a default instance), or &amp;lt;host&amp;gt;\&amp;lt;instname&amp;gt;&lt;/P&gt;&lt;P&gt;Starting with release 6.40 however there are some special considerations that should be taken into account.  When running with kernel release 6.40 or later, the R/3 system will prepend a protocol specifier to the server name.  Example:&lt;/P&gt;&lt;P&gt;   1. For a server running on the same server:&lt;/P&gt;&lt;P&gt;             np:&amp;lt;servername&amp;gt;&lt;/P&gt;&lt;P&gt;   2. For a remote server:&lt;/P&gt;&lt;P&gt;            tcp:&amp;lt;servername&amp;gt;&lt;/P&gt;&lt;P&gt;This forces the connection to be made with a named pipes and tcp/ipprotocols respectively.&lt;/P&gt;&lt;P&gt;When specifying the server name you can override this by setting your own protocol (tcp: or np:), or you can make R/3 avoid setting any prefix by using simply :&amp;lt;servername&amp;gt; - a colon in front of the server name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to use the Multiconnect&lt;/P&gt;&lt;P&gt;           Here is an example for how to connect to another server with CON_NAME=BSK.  The example assumes BSK is running R/3:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           EXEC SQL.&lt;/P&gt;&lt;P&gt;  CONNECT TO 'BSK'&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;  SET CONNECTION 'BSK'&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;  SELECT db_name() INTO :DBN FROM SVERS&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;WRITE: / 'current database name', DBN.&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;  SET CONNECTION DEFAULT&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;  SELECT db_name() INTO :DBN FROM SVERS&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;WRITE: / 'current database name', DBN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tools for creating DBCON entries&lt;/P&gt;&lt;P&gt;           In SAP basis release 6. 40 new tools were introduced to make it easier to create DBCON entries for use in remote monitoring.  These tools are accessible through st04_mss -&amp;gt; "Change connection data" button -&amp;gt; Go To -&amp;gt; "Maintain DBCON" for example.&lt;/P&gt;&lt;P&gt;The "Change connection data" button is the small pencil icon on the right hand side of the main st04_mss screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           There is an on-line guide for creating DBCON entries this way.   It is available on:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           &lt;A href="http://help.sap.com" target="test_blank"&gt;http://help.sap.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;   Documentation -&amp;gt; SAP NetWeaver -&amp;gt; SAP NetWeaver '04&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            And then expand the tree on the left hand side using SAP NetWeaver -&amp;gt; Application Platform -&amp;gt; Databases -&amp;gt; SAP/MS SQL Server 2000 DBA in CCMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           Finally go to Database Management Tools -&amp;gt; Monitoring Remote SQL Server Databases -&amp;gt; Setting Up the Remote Connection -&amp;gt; Creating a DBCON Entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 09:30:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559619#M253175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-16T09:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Data to external database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559620#M253176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Max, I have used this before, I didn't know it was called DBLInk I just knew it by the transaction code DBCO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think this will solve my problem because we are on Solaris and the help text prerequisite says&lt;/P&gt;&lt;P&gt;"At least one Windows application server must be available on the R/3 system and the DBSL dynamic library (DLL) dbmssslib.dll must be installed on this server."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do not have any of our SAP systems running on Windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 09:39:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559620#M253176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-16T09:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Data to external database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559621#M253177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very sorry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you're right, I believe the correct name is DBconnect (not DBlink).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U should try to open a request to SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 09:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559621#M253177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-16T09:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Data to external database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559622#M253178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max,&lt;/P&gt;&lt;P&gt;Thanks, I appreciate you trying to help.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;David.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 09:49:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-to-external-database/m-p/1559622#M253178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-16T09:49:55Z</dc:date>
    </item>
  </channel>
</rss>

