<?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 SAP witn Windows/SQL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-witn-windows-sql/m-p/3358960#M805916</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;One of my feloow associates has  SAP witn Windows/SQL and an external SQL database for Website purposes. &lt;/P&gt;&lt;P&gt;he  can read a table from the external database and load it in a SAP table. &lt;/P&gt;&lt;P&gt;but he  can't write the external table from SAP/ABAP. &lt;/P&gt;&lt;P&gt;How could he do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jan 2008 12:39:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-29T12:39:22Z</dc:date>
    <item>
      <title>SAP witn Windows/SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-witn-windows-sql/m-p/3358960#M805916</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;One of my feloow associates has  SAP witn Windows/SQL and an external SQL database for Website purposes. &lt;/P&gt;&lt;P&gt;he  can read a table from the external database and load it in a SAP table. &lt;/P&gt;&lt;P&gt;but he  can't write the external table from SAP/ABAP. &lt;/P&gt;&lt;P&gt;How could he do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 12:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-witn-windows-sql/m-p/3358960#M805916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T12:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAP witn Windows/SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-witn-windows-sql/m-p/3358961#M805917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As it's explained in abaphelp for exec keyword) If you have update &lt;/P&gt;&lt;P&gt;rights to the external table, then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exec sql. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uptade table ... &lt;/P&gt;&lt;P&gt;Endexec &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P&gt;Exec sql. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert into table (field list) values (value list) &lt;/P&gt;&lt;P&gt;Endexec. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should do the task. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(you don't need to put the performing form part of the exec) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exact sintax for update or insert varies from RDBMS to RDBMS (but &lt;/P&gt;&lt;P&gt;many of them rely on insert into to add new rows and update to change &lt;/P&gt;&lt;P&gt;current values stored in a given row. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have an internal table holding the values to be updated then a &lt;/P&gt;&lt;P&gt;loop like the following is mandatory: &lt;/P&gt;&lt;P&gt;loop at youritab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exec sql &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt; Update routine in native sql &amp;gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End exec &lt;/P&gt;&lt;P&gt;Endloop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chaitanya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 05:40:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-witn-windows-sql/m-p/3358961#M805917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T05:40:39Z</dc:date>
    </item>
  </channel>
</rss>

