<?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: COMMIT statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180241#M999174</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;Do not lock the table before Deleting the entry. Try deleting the entry without using the FM 'ENQUEUE_E_TABLEE'. It should get deleted then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nadim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2008 08:55:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-17T08:55:26Z</dc:date>
    <item>
      <title>COMMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180235#M999168</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;I want to delete records from an custom table and I am writing a DELETE statement. Before the delete statement, i am calling a function module  'ENQUEUE_E_TABLEE' for locking the table.&lt;/P&gt;&lt;P&gt;When I execute the program/report, the entries are still existing in the custome table and it is not deleting.&lt;/P&gt;&lt;P&gt;Do i need to use commit work statement after the DElete statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so why is it mandatory to use COMMIT for deleting entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For inserting records in the custom table , if i don't use the COMMIT statement, the records are still inserting in the table. Why is it so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 08:49:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180235#M999168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T08:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180236#M999169</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; No need to use commit statement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just write...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; parameters: p_f1 like &amp;lt;db&amp;gt;-f1&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; start-of-selection.&lt;/P&gt;&lt;P&gt;&amp;gt; DELETE FROM &amp;lt;database table name&amp;gt; where f1 = p_f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen.I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 08:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180236#M999169</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-07-17T08:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180237#M999170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would suggest you to get SAP help as much as possible cause some time we can misconcept but SAP never.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just press F1 on commit statement you will get your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 08:53:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180237#M999170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T08:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180238#M999171</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; Locking the table (ENQUEUE) is not compulsory for deleting an entry. &lt;/P&gt;&lt;P&gt;It is absolutely necessary for Editing a table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So no need of ENQUEUE statement. Just use DELETE  dbnam WHERE condition.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Kothand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 08:53:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180238#M999171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T08:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180239#M999172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;Database transactions ar only closed when a commit work follows any databse operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE without a explicid commit may work because the sap-system causes the databse to do implicid commits i.e. when changing the screen, displaing a popup, a list ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 08:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180239#M999172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T08:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180240#M999173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;see this link..&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/erp2005_ehp_03/helpdata/EN/41/7af4dda79e11d1950f0000e82de14a/frameset.htm" target="test_blank"&gt;http://help.sap.com/erp2005_ehp_03/helpdata/EN/41/7af4dda79e11d1950f0000e82de14a/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will help..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 08:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180240#M999173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T08:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180241#M999174</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;Do not lock the table before Deleting the entry. Try deleting the entry without using the FM 'ENQUEUE_E_TABLEE'. It should get deleted then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nadim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 08:55:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180241#M999174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T08:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180242#M999175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;For inserting records in the custom table , if i don't use the COMMIT statement, the records are still inserting in the table. Why is it so?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system calls implicit COMMIT statements at points in processing anyway. The statement is available in ABAP so you can create your own explicit commit...rollback routines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 08:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-statement/m-p/4180242#M999175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T08:55:37Z</dc:date>
    </item>
  </channel>
</rss>

