<?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: Events in Table Maintenance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350117#M803550</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;As you already mentioned that table TOTAL has to be used to update the table fields at runtime in the Event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggest you to put a break point in the event and check for content in internal table Total and Extract.&lt;/P&gt;&lt;P&gt;You will get a good idea what exactly you have to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to these links below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="158887"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="156499"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer similar code required below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT TOTAL.&lt;/P&gt;&lt;P&gt;IF &amp;lt;ACTION&amp;gt; = AENDERN.&lt;/P&gt;&lt;P&gt;READ TABLE EXTRACT WITH KEY &amp;lt;VIM_XTOTAL_KEY&amp;gt;.&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_INDEX.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_CHANGED_ON = SY-DATUM.&lt;/P&gt;&lt;P&gt;WA_CHANGED_BY = SY-UNAME.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY TOTAL.&lt;/P&gt;&lt;P&gt;CHECK F_INDEX GT 0.&lt;/P&gt;&lt;P&gt;EXTRACT = TOTAL.&lt;/P&gt;&lt;P&gt;MODIFY EXTRACT INDEX F_INDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if this helps.&lt;/P&gt;&lt;P&gt;Manish&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2008 02:58:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-06T02:58:15Z</dc:date>
    <item>
      <title>Problem: Events in Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350116#M803549</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 am currently working on events in table maintenance... It is not working properly. My objective is to save automatically four fields; changed_on, changed_by, created_by, and created_on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used event 02 (after saving) , 01 (before saving) , and 05 (create new). The problem is when I update the table it does not reflect the changes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code in the update is:&lt;/P&gt;&lt;P&gt;IF ztab-CREATED_ON IS INITIAL.&lt;/P&gt;&lt;P&gt;MOVE SY-DATUM TO ztab-CREATED_ON.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;IF ztab_Created_BY IS INITIAL.&lt;/P&gt;&lt;P&gt;MOVE SY-UNAME TO ztab-CREATED_BY.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;MOVE SY-DATUM TO ztab-LCHANGED_ON.&lt;/P&gt;&lt;P&gt;MOVE SY-UNAME TO ztab_-LCHANGED_BY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone told me to use the table TOTAL. I am not quite sure how to use it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me regarding this problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 02:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350116#M803549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T02:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem: Events in Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350117#M803550</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;As you already mentioned that table TOTAL has to be used to update the table fields at runtime in the Event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggest you to put a break point in the event and check for content in internal table Total and Extract.&lt;/P&gt;&lt;P&gt;You will get a good idea what exactly you have to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to these links below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="158887"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="156499"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer similar code required below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT TOTAL.&lt;/P&gt;&lt;P&gt;IF &amp;lt;ACTION&amp;gt; = AENDERN.&lt;/P&gt;&lt;P&gt;READ TABLE EXTRACT WITH KEY &amp;lt;VIM_XTOTAL_KEY&amp;gt;.&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_INDEX.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_CHANGED_ON = SY-DATUM.&lt;/P&gt;&lt;P&gt;WA_CHANGED_BY = SY-UNAME.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY TOTAL.&lt;/P&gt;&lt;P&gt;CHECK F_INDEX GT 0.&lt;/P&gt;&lt;P&gt;EXTRACT = TOTAL.&lt;/P&gt;&lt;P&gt;MODIFY EXTRACT INDEX F_INDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if this helps.&lt;/P&gt;&lt;P&gt;Manish&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 02:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350117#M803550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T02:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem: Events in Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350118#M803551</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;We have a following custom table which contains the fields &amp;#147;Date on which record was created&amp;#148; and &amp;#147;Name of the person who created the object&amp;#148;. We would like to have these to be filled up with SY-DATUM and SY-UNAME respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the events, we can achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the following link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapliveinfo.blogspot.com/2007/12/events-in-table-maintenance-in-sap.html" target="test_blank"&gt;http://abapliveinfo.blogspot.com/2007/12/events-in-table-maintenance-in-sap.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,&lt;/P&gt;&lt;P&gt;Write a form routine in table maintanance generator.&lt;/P&gt;&lt;P&gt;1. SE11 &amp;gt; utilities &amp;gt; table maintenance generator&lt;/P&gt;&lt;P&gt;2. environment &amp;gt; modification &amp;gt; event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define the event and form routine to make use of the tigger. in the form routine define an object for the class and call the relevant method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or u can do it as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table maintenance generator is basically used to do table operations like (insert, delete, modify...).&lt;/P&gt;&lt;P&gt;if you create table maintenance for your table it will build a module pool program, by using you do the above operations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is the procedure to create table maintenance generator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create one function group.&lt;/P&gt;&lt;P&gt;2) after activating your Ztable, choose 'Utilities'----&amp;gt; 'Table maintenance genrator'.&lt;/P&gt;&lt;P&gt;3) then give the authorization group and function group created abobe in the next screen.&lt;/P&gt;&lt;P&gt;4) Then choose the "create" button in your application tool bar, which will creates the module pool program.&lt;/P&gt;&lt;P&gt;5) then create one Tcode by chosing "Transaction with parameters( parameter transaction)".&lt;/P&gt;&lt;P&gt;6) in transaction field give "SM30", select the check box "Skip initial screen".&lt;/P&gt;&lt;P&gt;7) in the below of that screen you can find the "Default values" frame.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; there under the "name of screen field" select the "View name' and 'update".&lt;/P&gt;&lt;P&gt;9) in value column against to "view name" give you table name, and against to "Update" put 'X' in capital letters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save it then you can straight away use this newly created Tcode to maintain your table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:- 1) make the modification while saving the data into your table using this newly generated program to carry out your validation (even though it looks like standard program; no need to enter the access key).&lt;/P&gt;&lt;P&gt;2) if you do any changes to your table and press the activate button automatically the table maintenace generator will be goes off, you need to create this again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Hema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 03:56:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350118#M803551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T03:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem: Events in Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350119#M803552</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 am now using this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT TOTAL.&lt;/P&gt;&lt;P&gt;MOVE TOTAL to lwa_total.&lt;/P&gt;&lt;P&gt;IF &amp;lt;ACTION&amp;gt; = AENDERN OR &amp;lt;ACTION&amp;gt; = NEUER_EINTRAG.&lt;/P&gt;&lt;P&gt;READ TABLE EXTRACT WITH KEY &amp;lt;vim_xtotal_key&amp;gt;.&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_INDEX.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CHECK F_INDEX GT 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*for created by&lt;/P&gt;&lt;P&gt;IF lwa_TOTAL-CREATED_ON IS INITIAL.&lt;/P&gt;&lt;P&gt;MOVE SY-DATUM TO lwa_TOTAL-CREATED_ON.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;IF lwa_TOTAL-CREATED_BY IS INITIAL.&lt;/P&gt;&lt;P&gt;MOVE SY-UNAME TO lwa_TOTAL-CREATED_BY.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*for last changed&lt;/P&gt;&lt;P&gt;MOVE SY-DATUM TO lwa_TOTAL-LCHANGED_ON.&lt;/P&gt;&lt;P&gt;MOVE SY-UNAME TO lwa_TOTAL-LCHANGED_BY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*update field&lt;/P&gt;&lt;P&gt;MOVE  Z157429_PICI-KOSTL TO lwa_total-KOSTL.&lt;/P&gt;&lt;P&gt;*MODIFY TOTAL INDEX f_index FROM lwa_TOTAL.&lt;/P&gt;&lt;P&gt;MOVE lwa_total to total.&lt;/P&gt;&lt;P&gt;modify total.&lt;/P&gt;&lt;P&gt;CHECK F_INDEX GT 0.&lt;/P&gt;&lt;P&gt;EXTRACT = TOTAL.&lt;/P&gt;&lt;P&gt;modify extract index f_index.&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;&lt;/P&gt;&lt;P&gt;But it seems the changes did not reflected on the record... did i missed something? thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 05:18:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350119#M803552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T05:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem: Events in Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350120#M803553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could the WA_CHANGED_ON and WA_CHANGED_BY be transferred to TOTAL? thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT TOTAL.&lt;/P&gt;&lt;P&gt;IF &amp;lt;ACTION&amp;gt; = AENDERN.&lt;/P&gt;&lt;P&gt;READ TABLE EXTRACT WITH KEY &amp;lt;VIM_XTOTAL_KEY&amp;gt;.&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_INDEX.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WA_CHANGED_ON = SY-DATUM.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WA_CHANGED_BY = SY-UNAME.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY TOTAL.&lt;/P&gt;&lt;P&gt;CHECK F_INDEX GT 0.&lt;/P&gt;&lt;P&gt;EXTRACT = TOTAL.&lt;/P&gt;&lt;P&gt;MODIFY EXTRACT INDEX F_INDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 05:39:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350120#M803553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T05:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem: Events in Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350121#M803554</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;any suggestions? thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 07:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350121#M803554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T07:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem: Events in Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350122#M803555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use event 21.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2008 14:21:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350122#M803555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-20T14:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem: Events in Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350123#M803556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;        Use only dialog event 05 (Creating New Entry).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards ,&lt;/P&gt;&lt;P&gt;Surendarreddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2008 06:48:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350123#M803556</guid>
      <dc:creator>suredarreddy_pulimamidi</dc:creator>
      <dc:date>2008-06-21T06:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem: Events in Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350124#M803557</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;Pls see the code which I had used in a similiar program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trust it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In event '01'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: BEGIN OF fs_total.&lt;/P&gt;&lt;P&gt;          INCLUDE STRUCTURE zconcur_sae_hist.&lt;/P&gt;&lt;P&gt;          INCLUDE STRUCTURE vimtbflags.&lt;/P&gt;&lt;P&gt;  DATA END OF fs_total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: fs_record TYPE zconcur_sae_hist,&lt;/P&gt;&lt;P&gt;        w_index LIKE sy-tabix,&lt;/P&gt;&lt;P&gt;        w_bukrs TYPE zconcur_sae_hist-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT total INTO fs_total.&lt;/P&gt;&lt;P&gt;    IF fs_total-vim_action = aendern OR&lt;/P&gt;&lt;P&gt;       fs_total-vim_action = neuer_eintrag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MOVE-CORRESPONDING fs_total TO fs_record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      fs_record-laeda = sy-datum.&lt;/P&gt;&lt;P&gt;      fs_record-aenam = sy-uname.&lt;/P&gt;&lt;P&gt;      	&lt;/P&gt;&lt;P&gt;       READ TABLE extract WITH KEY fs_total.&lt;/P&gt;&lt;P&gt;      	IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;      	  w_index = sy-tabix.&lt;/P&gt;&lt;P&gt;      	ELSE.&lt;/P&gt;&lt;P&gt;      	  CLEAR w_index.&lt;/P&gt;&lt;P&gt;      	ENDIF.                          " IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;      	&lt;/P&gt;&lt;P&gt;       MOVE-CORRESPONDING fs_record TO fs_total.&lt;/P&gt;&lt;P&gt;      	MODIFY total FROM fs_total.&lt;/P&gt;&lt;P&gt;      	&lt;/P&gt;&lt;P&gt;       CHECK w_index GT 0.&lt;/P&gt;&lt;P&gt;      MODIFY extract INDEX w_index FROM fs_total.&lt;/P&gt;&lt;P&gt;    ENDIF.                             " IF fs_total-vim_action = aendern&lt;/P&gt;&lt;P&gt;  ENDLOOP.                             " LOOP AT total&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 06:14:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350124#M803557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T06:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem: Events in Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350125#M803558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to use event 07 which I had hoped would be triggered when a field was edited. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the event and form defined under table maintenance and can view the code. The include generated is defined in the top include. However, when I edit a field nothing happens. I have a break point within my form, within the include, but nothing is ever triggered. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event 07 is "Before correcting the contents of a selected field". Which sounds like exactly what I need, but, what does it mean by 'selected field'?. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 11:39:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350125#M803558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T11:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem: Events in Table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350126#M803559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;   The changes are not reflected coz once data is saved ztab-CREATED_ON contain some value&lt;/P&gt;&lt;P&gt;then in your code in the update :&lt;/P&gt;&lt;P&gt;IF ztab-CREATED_ON IS INITIAL ---is not executed as ztab-CREATED_ON contain data .&lt;/P&gt;&lt;P&gt;MOVE SY-DATUM TO ztab-CREATED_ON.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;IF ztab_Created_BY IS INITIAL.&lt;/P&gt;&lt;P&gt;MOVE SY-UNAME TO ztab-CREATED_BY.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;MOVE SY-DATUM TO ztab-LCHANGED_ON.&lt;/P&gt;&lt;P&gt;MOVE SY-UNAME TO ztab_-LCHANGED_BY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same is applied for others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check it. removing this may solve ur problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 11:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-events-in-table-maintenance/m-p/3350126#M803559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T11:53:45Z</dc:date>
    </item>
  </channel>
</rss>

