<?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: Avoid INSERT in LOOP for INSERTING third party DATABASE using NATIVE SQL COMMANDS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-insert-in-loop-for-inserting-third-party-database-using-native-sql/m-p/486465#M16179</link>
    <description>&lt;P&gt;" I understood that this can achieved using 
ADBC Framework(ABAP DATABASE CONNECTION), But currently we do not have 
SAP HANA system"&lt;/P&gt;&lt;P&gt;ADBC is not a HANA only technology. Use ADBC.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2017 08:18:10 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2017-03-29T08:18:10Z</dc:date>
    <item>
      <title>Avoid INSERT in LOOP for INSERTING third party DATABASE using NATIVE SQL COMMANDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-insert-in-loop-for-inserting-third-party-database-using-native-sql/m-p/486463#M16177</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;Hello Experts,

I am trying to update a database tables in a thirdparty system - with data 
which is extracted from SAP using NATIVE SQL COMMANDS.

LOOP at ITAB into WORK_AREA.
EXEC SQL.
&amp;lt;CODE&amp;gt;
&amp;lt;INSERT&amp;gt;
ENDECEC.
ENDLOOP.

The amount of data i am trying to INSERT is in MILLIONS and INSERT record byrecord is causing performance impacts. Now in order to avoid this is there
any alternate way to avoid INSERTING records between LOOP...ENDLOOP. Like
using a single INSERT statement for updating all records at once?

I came across same question in multiple thread - None of them had a respons
which would answer this? I understood that this can achieved using 
ADBC Framework(ABAP DATABASE CONNECTION), But currently we do not have 
SAP HANA system nor my client was inclined toward that at the moment.

Links which i came across:
&lt;A href="https://archive.sap.com/discussions/thread/1833935" target="test_blank"&gt;https://archive.sap.com/discussions/thread/1833935&lt;/A&gt;
&lt;A href="https://archive.sap.com/discussions/thread/1286350" target="test_blank"&gt;https://archive.sap.com/discussions/thread/1286350&lt;/A&gt;

CAN THIS BE DONE?

Any suggestion on this would be great. 

Greets,&amp;lt;br&amp;gt;Karthi.









&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Mar 2017 19:06:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-insert-in-loop-for-inserting-third-party-database-using-native-sql/m-p/486463#M16177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-03-28T19:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid INSERT in LOOP for INSERTING third party DATABASE using NATIVE SQL COMMANDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-insert-in-loop-for-inserting-third-party-database-using-native-sql/m-p/486464#M16178</link>
      <description>&lt;P&gt;Bulk access is available in ADBC since release 7.40, SP02. See &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_751_index_htm/7.51/en-US/index.htm?file=abenadbc_dml_ddl_bulk_abexa.htm"&gt;example&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 06:23:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-insert-in-loop-for-inserting-third-party-database-using-native-sql/m-p/486464#M16178</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2017-03-29T06:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid INSERT in LOOP for INSERTING third party DATABASE using NATIVE SQL COMMANDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-insert-in-loop-for-inserting-third-party-database-using-native-sql/m-p/486465#M16179</link>
      <description>&lt;P&gt;" I understood that this can achieved using 
ADBC Framework(ABAP DATABASE CONNECTION), But currently we do not have 
SAP HANA system"&lt;/P&gt;&lt;P&gt;ADBC is not a HANA only technology. Use ADBC.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 08:18:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-insert-in-loop-for-inserting-third-party-database-using-native-sql/m-p/486465#M16179</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2017-03-29T08:18:10Z</dc:date>
    </item>
  </channel>
</rss>

