<?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: How to get DATA from MYSQL database in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-data-from-mysql-database/m-p/1163444#M121133</link>
    <description>&lt;P&gt;Hi, is it possible to "select sum(field) from table " command in sap abap? because I ran into an statement error : &lt;A href="https://answers.sap.com/questions/13411257/select-sum-statement-from-abap-to-mysql.html" target="test_blank"&gt;https://answers.sap.com/questions/13411257/select-sum-statement-from-abap-to-mysql.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jun 2021 13:59:21 GMT</pubDate>
    <dc:creator>egglian970729</dc:creator>
    <dc:date>2021-06-15T13:59:21Z</dc:date>
    <item>
      <title>How to get DATA from MYSQL database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-data-from-mysql-database/m-p/1163440#M121129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to get all data from MYSQL database in to SAP Database tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My structure of both MYSQL and SAP tables are littlebit different..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I write BDC batch input directly from MYSQL tabls or I need to convert MYSQL tables in CSV format of EXCEL, or tab saperated sequencial file??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chetan Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 12:15:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-data-from-mysql-database/m-p/1163440#M121129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T12:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DATA from MYSQL database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-data-from-mysql-database/m-p/1163441#M121130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chetan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. There are two ways !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   a) using DBCON (secondary database connection)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   b) write z program for uploading data &lt;/P&gt;&lt;P&gt;      thru text files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. It dependsupon your requirement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 12:40:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-data-from-mysql-database/m-p/1163441#M121130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T12:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DATA from MYSQL database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-data-from-mysql-database/m-p/1163442#M121131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can do it many ways. But the first and foremost is the structure of MYSQL which you should have and you should the tcode to load them into std SAP tables. If the data is going to be loaded into Z tables then u can write your own program to uploade it. Other option little complicated is by use of IDocs if you know one which satisfies your requirement.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 13:42:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-data-from-mysql-database/m-p/1163442#M121131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T13:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DATA from MYSQL database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-data-from-mysql-database/m-p/1163443#M121132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this steps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating a DBCON Entry &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The database multi-connect information is stored in the SAP table DBCON. You can create a DBCON entry as follows:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;1. In the screen Maintain and set monitor multi-connect data, from the menu choose Goto ® Maintain DBCON. &lt;/P&gt;&lt;P&gt;2. Choose New DBCON entry. &lt;/P&gt;&lt;P&gt;The dialog box New DBCON entry appears. &lt;/P&gt;&lt;P&gt;3. Make entries in the following fields:&lt;/P&gt;&lt;P&gt;1.  Connection name: &lt;/P&gt;&lt;P&gt;Enter any name. This is the name by which your remote database connection is identified.&lt;/P&gt;&lt;P&gt;2.  Database system: MSS &lt;/P&gt;&lt;P&gt;This field must display MSS.&lt;/P&gt;&lt;P&gt;3.  DB server (instance): &lt;/P&gt;&lt;P&gt;Enter the name of the target SQL Server that you want to administer from your local SAP system.&lt;/P&gt;&lt;P&gt;4.  Database login: &lt;/P&gt;&lt;P&gt;SQL Server login with System Administrator privileges, that is this login should be member of the sysadmin fixed server role on the target SQL Server. If such a login does not exist, you have to create it on the target SQL Server. The SAP multi-connect mechanism allows both integrated security logins and the use of SQL Server authentication. For security reasons, we highly recommend to use integrated security (Windows authentication). If you use Windows security, leave this field empty.&lt;/P&gt;&lt;P&gt;5.  Password / Re-enter password : &lt;/P&gt;&lt;P&gt;If you have decided to use integrated security, leave these fields empty. Otherwise enter the password of the SQL Server login.&lt;/P&gt;&lt;P&gt;6.  Database name: &lt;/P&gt;&lt;P&gt;Enter the name of the target database.&lt;/P&gt;&lt;P&gt;7.  Database user:&lt;/P&gt;&lt;P&gt;For remote database monitoring, leave this field empty. This will ensure that the database connection has dbo privilege.&lt;/P&gt;&lt;P&gt;8.  Object source schema: &lt;/P&gt;&lt;P&gt;This database schema contains all SAP database monitor objects, for example, stored procedures, user defined functions and tables. They implement the low-level database monitor functions. &lt;/P&gt;&lt;P&gt;Make one of the following entries:&lt;/P&gt;&lt;P&gt;1.  If the target server is an SAP ABAP application of the same release than the source application server, and the SAP database objects (tables, views, stored procedure etc.) do not belong to the schema dbo, enter the  of the target SAP system.&lt;/P&gt;&lt;P&gt;2.  If the target server is an SAP ABAP application of the same release than the source application server, and the SAP database objects (tables, views, stored procedure etc) belong to the schema dbo, leave this field empty. &lt;/P&gt;&lt;P&gt;3.  In all other cases, enter any name for the schema. For more information on how to create the schema in the target database and to fill it with the necessary monitoring objects, see Creating an Object Source Schema and the SAP TSQL Objects.&lt;/P&gt;&lt;P&gt;9.  Keep connection open: &lt;/P&gt;&lt;P&gt;Leave this field empty. &lt;/P&gt;&lt;P&gt;10.  Other parameters:&lt;/P&gt;&lt;P&gt;Leave this field empty.&lt;/P&gt;&lt;P&gt;4. Choose SAVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Know databse connection name check DBCON table name &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Native SQL command &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;set connection 'Connection_string'&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;IF sy-subrc 0.&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;connect to 'Connection_string'&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;ENDIF.&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;SELECT CUST_CODE FROM CUSTOMER_MAP@IMPSCONN&lt;/P&gt;&lt;P&gt;INTO :ZIMPSCTCODE&lt;/P&gt;&lt;P&gt;WHERE SAP_CODE = :IT_IMPS_CUST-CUST_CODE&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Salil .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 07:32:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-data-from-mysql-database/m-p/1163443#M121132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-01T07:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DATA from MYSQL database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-data-from-mysql-database/m-p/1163444#M121133</link>
      <description>&lt;P&gt;Hi, is it possible to "select sum(field) from table " command in sap abap? because I ran into an statement error : &lt;A href="https://answers.sap.com/questions/13411257/select-sum-statement-from-abap-to-mysql.html" target="test_blank"&gt;https://answers.sap.com/questions/13411257/select-sum-statement-from-abap-to-mysql.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 13:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-data-from-mysql-database/m-p/1163444#M121133</guid>
      <dc:creator>egglian970729</dc:creator>
      <dc:date>2021-06-15T13:59:21Z</dc:date>
    </item>
  </channel>
</rss>

