<?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: Problem with EVENT 01 in Table maintenance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-event-01-in-table-maintenance/m-p/6495808#M1420970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kusuma, &lt;/P&gt;&lt;P&gt;  I dont think the event 01 , has any thing to do with deleting data from table , it is just used to do some check / modification before the data is saved in the table,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After deleting the data , please save it and exit from the transaction and then again check if the data was deleetd or not , because i assume that the deleting is done as the last step .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please feel free to revert in case of more questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Dec 2009 07:21:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-31T07:21:26Z</dc:date>
    <item>
      <title>Problem with EVENT 01 in Table maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-event-01-in-table-maintenance/m-p/6495807#M1420969</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 have used event 'before saving to database table' (01) in table maintenance generator and done some changes to the fileds. when I enter values they are getting saved in the database. but if i delete any entry form table maintenance and when I try to save, values are not getting deleted from database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code in the event form is :&lt;/P&gt;&lt;P&gt;FORM abc.&lt;/P&gt;&lt;P&gt;DATA: F_INDEX LIKE SY-TABIX. "Index to note the lines found&lt;/P&gt;&lt;P&gt;LOOP AT TOTAL.&lt;/P&gt;&lt;P&gt;IF &amp;lt;ACTION&amp;gt; = desired constant.&lt;/P&gt;&lt;P&gt;READ TABLE EXTRACT WITH KEY TOTAL.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;F_INDEX = SY-TABIX.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;CLEAR F_INDX.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Make desired changes to the line TOTAL&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TOTAL-uname = sy-uname.&lt;/P&gt;&lt;P&gt;TOTAL-udate = sy-datum&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MODIFY TOTAL.&lt;/P&gt;&lt;P&gt;CHECK F_INDX GT 0.&lt;/P&gt;&lt;P&gt;EXTRACT = TOTAL.&lt;/P&gt;&lt;P&gt;MODIFY EXTRACT INDEX F_INDX.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone solve this problem.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kusuma K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2009 06:57:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-event-01-in-table-maintenance/m-p/6495807#M1420969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-31T06:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with EVENT 01 in Table maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-event-01-in-table-maintenance/m-p/6495808#M1420970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kusuma, &lt;/P&gt;&lt;P&gt;  I dont think the event 01 , has any thing to do with deleting data from table , it is just used to do some check / modification before the data is saved in the table,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After deleting the data , please save it and exit from the transaction and then again check if the data was deleetd or not , because i assume that the deleting is done as the last step .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please feel free to revert in case of more questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2009 07:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-event-01-in-table-maintenance/m-p/6495808#M1420970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-31T07:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with EVENT 01 in Table maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-event-01-in-table-maintenance/m-p/6495809#M1420971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kusuma,&lt;/P&gt;&lt;P&gt;For deleting a entry from database, you need to use the primary keys.&lt;/P&gt;&lt;P&gt;On the basis of index, it won't work.&lt;/P&gt;&lt;P&gt;Try this using Primary Key.&lt;/P&gt;&lt;P&gt;I hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Nidhi kothiyal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2009 07:22:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-event-01-in-table-maintenance/m-p/6495809#M1420971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-31T07:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with EVENT 01 in Table maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-event-01-in-table-maintenance/m-p/6495810#M1420972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You logic will work when any of the record is modified .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to consider the case in which a record is deleted from the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check rhis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Harsh Bhalla on Dec 31, 2009 1:38 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2009 08:02:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-event-01-in-table-maintenance/m-p/6495810#M1420972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-31T08:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with EVENT 01 in Table maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-event-01-in-table-maintenance/m-p/6495811#M1420973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all. Problem is solved. I need to check status of the action. STATUS-ACTION should be equal to HINZUFUEGEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kusuma K.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kusuma kurapati on Dec 31, 2009 2:09 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2009 08:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-event-01-in-table-maintenance/m-p/6495811#M1420973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-31T08:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with EVENT 01 in Table maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-event-01-in-table-maintenance/m-p/6495812#M1420974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kusuma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below give link,may be it can give you some lead&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=93454609" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=93454609&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2009 08:39:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-event-01-in-table-maintenance/m-p/6495812#M1420974</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2009-12-31T08:39:50Z</dc:date>
    </item>
  </channel>
</rss>

