<?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: Open Dataset, Update in Update Task and DB_COMMIT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-update-in-update-task-and-db-commit/m-p/14178291#M2042288</link>
    <description>&lt;P&gt;So, you are updating the table via an update function module that you call with CALL FUNCTION '...' IN UPDATE TASK.&lt;/P&gt;&lt;P&gt;You must trigger the update task via COMMIT WORK.&lt;/P&gt;&lt;P&gt;NB: the update task is not triggered by using CALL FUNCTION 'DB_COMMIT' (i.e. executes a database commit) which is only sending a commit instruction to the database.&lt;/P&gt;&lt;P&gt;Read the ABAP Documentation which explains that COMMIT WORK does many things, the 3rd step being the update task, the 5th step being the database commit (&lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapcommit.htm" target="_blank"&gt;https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapcommit.htm&lt;/A&gt;).&lt;/P&gt;</description>
    <pubDate>Tue, 12 Aug 2025 12:32:00 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2025-08-12T12:32:00Z</dc:date>
    <item>
      <title>Open Dataset, Update in Update Task and DB_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-update-in-update-task-and-db-commit/m-p/14177815#M2042282</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;To increase the performance of a scan and update, I switched to the OPEN DATASET and FETCH with Package Size.&lt;/P&gt;&lt;P&gt;The update happens in an Update Task and then I use FM DB_COMMIT. However, I find the updates are not happening. After debugging, I find that the updates must not in done in Update Task.&lt;/P&gt;&lt;P&gt;I did some googling and I could not find any answers on why? Does anyone have a clue?&lt;/P&gt;&lt;P&gt;Regards, Dean.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 17:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-update-in-update-task-and-db-commit/m-p/14177815#M2042282</guid>
      <dc:creator>dean_hinson2</dc:creator>
      <dc:date>2025-08-11T17:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Open Dataset, Update in Update Task and DB_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-update-in-update-task-and-db-commit/m-p/14178289#M2042287</link>
      <description>&lt;P&gt;Typo: it's not OPEN DATASET, it's OPEN CURSOR.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 07:39:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-update-in-update-task-and-db-commit/m-p/14178289#M2042287</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2025-08-12T07:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Open Dataset, Update in Update Task and DB_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-update-in-update-task-and-db-commit/m-p/14178291#M2042288</link>
      <description>&lt;P&gt;So, you are updating the table via an update function module that you call with CALL FUNCTION '...' IN UPDATE TASK.&lt;/P&gt;&lt;P&gt;You must trigger the update task via COMMIT WORK.&lt;/P&gt;&lt;P&gt;NB: the update task is not triggered by using CALL FUNCTION 'DB_COMMIT' (i.e. executes a database commit) which is only sending a commit instruction to the database.&lt;/P&gt;&lt;P&gt;Read the ABAP Documentation which explains that COMMIT WORK does many things, the 3rd step being the update task, the 5th step being the database commit (&lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapcommit.htm" target="_blank"&gt;https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapcommit.htm&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 12:32:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-update-in-update-task-and-db-commit/m-p/14178291#M2042288</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2025-08-12T12:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Open Dataset, Update in Update Task and DB_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-update-in-update-task-and-db-commit/m-p/14178603#M2042289</link>
      <description>&lt;P&gt;You are correct. My muli-tasking failed.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 12:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-update-in-update-task-and-db-commit/m-p/14178603#M2042289</guid>
      <dc:creator>dean_hinson2</dc:creator>
      <dc:date>2025-08-12T12:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Open Dataset, Update in Update Task and DB_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-update-in-update-task-and-db-commit/m-p/14178604#M2042290</link>
      <description>&lt;P&gt;Will do.... Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 12:02:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-update-in-update-task-and-db-commit/m-p/14178604#M2042290</guid>
      <dc:creator>dean_hinson2</dc:creator>
      <dc:date>2025-08-12T12:02:19Z</dc:date>
    </item>
  </channel>
</rss>

