<?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: Create Multiple Assets With Single Commit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-assets-with-single-commit/m-p/12652248#M2015099</link>
    <description>&lt;P&gt;I Checked Again , i'm sure that that there is no commit neither rollback , but  i noticed by using tcode sm50 that all db updates are cleared after calling the log screen once it is appeared so it isn't supposed to post the last one also .&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 08:26:28 GMT</pubDate>
    <dc:creator>i_elsayed</dc:creator>
    <dc:date>2023-04-03T08:26:28Z</dc:date>
    <item>
      <title>Create Multiple Assets With Single Commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-assets-with-single-commit/m-p/12652246#M2015097</link>
      <description>&lt;P&gt;I'm Trying to create multiple assets using BAPI BAPI_FIXEDASSET_CREATE1 like below&lt;/P&gt;
  &lt;P&gt;Loop at itab.&lt;/P&gt;
  &lt;P&gt;call BAPI_FIXEDASSET_CREATE1&lt;/P&gt;
  &lt;P&gt;append it_log.&lt;/P&gt;
  &lt;P&gt;Endloop.&lt;/P&gt;
  &lt;P&gt;then i show all return results in alv and if there is no error i show button to post that runs BAPI_TRANSACTION_COMMIT&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;but the problem is that it commits the only last asset not the all assets , so please help .&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2161611-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2023 22:24:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-assets-with-single-commit/m-p/12652246#M2015097</guid>
      <dc:creator>i_elsayed</dc:creator>
      <dc:date>2023-04-02T22:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create Multiple Assets With Single Commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-assets-with-single-commit/m-p/12652247#M2015098</link>
      <description>&lt;P&gt;Check your program again, there's NO SURPRISE with commit and rollback. What you describe could happen ONLY if a rollback was done. Commit works on ALL preceding updates (since last commit/rollback).&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 06:38:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-assets-with-single-commit/m-p/12652247#M2015098</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-04-03T06:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create Multiple Assets With Single Commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-assets-with-single-commit/m-p/12652248#M2015099</link>
      <description>&lt;P&gt;I Checked Again , i'm sure that that there is no commit neither rollback , but  i noticed by using tcode sm50 that all db updates are cleared after calling the log screen once it is appeared so it isn't supposed to post the last one also .&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 08:26:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-assets-with-single-commit/m-p/12652248#M2015099</guid>
      <dc:creator>i_elsayed</dc:creator>
      <dc:date>2023-04-03T08:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create Multiple Assets With Single Commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-assets-with-single-commit/m-p/12652249#M2015100</link>
      <description>&lt;P&gt;Not sure, but the dynpro, in the middle of BAPI executions, would trigger some &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abendb_commit.htm#@@ITOC@@ABENDB_COMMIT_1"&gt;implicit database commit&lt;/A&gt; that would break your list of BAPI call.&lt;/P&gt;&lt;P&gt;Could you&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Execute the BAPI in another LUW (e.g. CALL FUNCTION ... DESTINATION NONE) insure to keep the session alive&lt;/LI&gt;&lt;LI&gt;Execute first the BAPIs in test mode, and then execute them in standard mode and COMMIT them&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 03 Apr 2023 08:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-assets-with-single-commit/m-p/12652249#M2015100</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-04-03T08:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create Multiple Assets With Single Commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-assets-with-single-commit/m-p/12652250#M2015101</link>
      <description>&lt;P&gt;If you use the SQL trace, you will see that displaying a screen does an implicit database commit, it's why.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 12:24:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-assets-with-single-commit/m-p/12652250#M2015101</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-04-03T12:24:37Z</dc:date>
    </item>
  </channel>
</rss>

