<?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: doubt in Commit work in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-commit-work/m-p/1791459#M340478</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;COMMIT WORK can also be within the loop. It depends on the requirement.&lt;/P&gt;&lt;P&gt;Its better to have commit work once after the loop, but suppose there are going to be huge volume of data then having commit work after the loop would lead to short dump with message 'TIME_OUT'.&lt;/P&gt;&lt;P&gt;But commit work cannot be made in general, this could lead to problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should be a logical end of processing of one loop. &lt;/P&gt;&lt;P&gt;When handling large volume of data can be used like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     if ld_count gt 1000.         &lt;/P&gt;&lt;P&gt;       clear ld_count.            &lt;/P&gt;&lt;P&gt;       commit work.               &lt;/P&gt;&lt;P&gt;     endif.                       &lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2006 08:06:31 GMT</pubDate>
    <dc:creator>Sathish</dc:creator>
    <dc:date>2006-12-20T08:06:31Z</dc:date>
    <item>
      <title>doubt in Commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-commit-work/m-p/1791457#M340476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I m using BAPI_CHARACT_CREATE to create a characteristcs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after calling this bapi i have to give commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in that characteristics i m passing some 3 charateristics value.&lt;/P&gt;&lt;P&gt;The problem which i m facing is the characteristics is getting saved 3 times with different internal.char number &amp;amp; the characteristics value is stored onces i.e first characteristics value is stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to know where to give the bapi_transaction_commit either inside the loop r outside the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to do mass updation. if i give inside the loop means i didnt think it will be mass updation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one clear me.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 07:04:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-commit-work/m-p/1791457#M340476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T07:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in Commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-commit-work/m-p/1791458#M340477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to do commit once only after calling this BAPI. This BAPI is for creating characteristics and not for assigning charachetersitics values....you can assign allowed values, default values etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 07:26:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-commit-work/m-p/1791458#M340477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T07:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in Commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-commit-work/m-p/1791459#M340478</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;COMMIT WORK can also be within the loop. It depends on the requirement.&lt;/P&gt;&lt;P&gt;Its better to have commit work once after the loop, but suppose there are going to be huge volume of data then having commit work after the loop would lead to short dump with message 'TIME_OUT'.&lt;/P&gt;&lt;P&gt;But commit work cannot be made in general, this could lead to problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should be a logical end of processing of one loop. &lt;/P&gt;&lt;P&gt;When handling large volume of data can be used like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     if ld_count gt 1000.         &lt;/P&gt;&lt;P&gt;       clear ld_count.            &lt;/P&gt;&lt;P&gt;       commit work.               &lt;/P&gt;&lt;P&gt;     endif.                       &lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 08:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-commit-work/m-p/1791459#M340478</guid>
      <dc:creator>Sathish</dc:creator>
      <dc:date>2006-12-20T08:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in Commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-commit-work/m-p/1791460#M340479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kalpanshri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The problem will not be with commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. But minor problem may be with the source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Make sure u are passing different CHARACTDETAIL&lt;/P&gt;&lt;P&gt;    in all those 3 calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;As per the FM documentation,&lt;/P&gt;&lt;P&gt;it is advisable to call commit work,&lt;/P&gt;&lt;P&gt;AFTER EACH call of this FM.&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>Wed, 20 Dec 2006 09:07:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-commit-work/m-p/1791460#M340479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T09:07:22Z</dc:date>
    </item>
  </channel>
</rss>

