<?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: Event code in table maintenance generator in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-code-in-table-maintenance-generator/m-p/10181382#M1823153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sankil&lt;/P&gt;&lt;P&gt;Some variable is not available in your code and you did not modify EXTRACT table.&lt;/P&gt;&lt;P&gt;Try to modify your code as blow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event has no standard routine. The following global data is available for the realization of the user routine:&lt;/P&gt;&lt;P&gt;•internal table TOTAL&lt;BR /&gt;•field symbols&lt;BR /&gt;•field symbols &amp;lt;ACTION&amp;gt; and &amp;lt;ACTION_TEXT&amp;gt;&lt;BR /&gt;•&amp;lt;STATUS&amp;gt;-UPD_FLAG&lt;BR /&gt;If internal table data are to be changed before saving, t he changes should be made in both the internal table &lt;/P&gt;&lt;P&gt;TOTAL and in the internal table EXTRACT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM abc.&lt;BR /&gt;DATA: F_INDEX LIKE SY-TABIX. "Index to note the lines found&lt;BR /&gt;LOOP AT TOTAL.&lt;BR /&gt;IF &amp;lt;ACTION&amp;gt; = desired constant.&lt;BR /&gt;READ TABLE EXTRACT WITH KEY &amp;lt;vim_xtotal_key&amp;gt;.&lt;BR /&gt;IF SY-SUBRC EQ 0.&lt;BR /&gt;F_INDEX = SY-TABIX.&lt;BR /&gt;ELSE.&lt;BR /&gt;CLEAR F_INDX.&lt;BR /&gt;ENDIF.&lt;BR /&gt;(make desired changes to the line TOTAL)&lt;BR /&gt;MODIFY TOTAL.&lt;BR /&gt;CHECK F_INDX GT 0.&lt;BR /&gt;EXTRACT = TOTAL.&lt;BR /&gt;MODIFY EXTRACT INDEX F_INDX.&lt;BR /&gt;ENDIF.&lt;BR /&gt;ENDLOOP.&lt;BR /&gt;SY-SUBRC = 0.&lt;BR /&gt;ENDFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer event 01: &lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Archer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2014 08:10:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-03-06T08:10:43Z</dc:date>
    <item>
      <title>Event code in table maintenance generator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-code-in-table-maintenance-generator/m-p/10181380#M1823151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Need to call event in Table maintenance generator of the z table. I have to use 1st event (Select ’01’ – Before saving data in the database).&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Need to do fallowing job: Table cleaning : Delete all records with value year =&amp;lt; 2011 -New rule :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No save can be done with value (Pst Var, PA,PSA, Cost = ‘ *,*,*,*’). I am attaching table entry with this mail, I have written the code for this but not sure please suggest me modification if required for this.Because i have never done this before. Thanks and Regards Sankil&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 06:21:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-code-in-table-maintenance-generator/m-p/10181380#M1823151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-06T06:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Event code in table maintenance generator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-code-in-table-maintenance-generator/m-p/10181381#M1823152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sankil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to check in debugging and have a look at TOTAL and EXTRACT internal table values. Read the values from these table and proceed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabehet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 07:11:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-code-in-table-maintenance-generator/m-p/10181381#M1823152</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-03-06T07:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Event code in table maintenance generator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-code-in-table-maintenance-generator/m-p/10181382#M1823153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sankil&lt;/P&gt;&lt;P&gt;Some variable is not available in your code and you did not modify EXTRACT table.&lt;/P&gt;&lt;P&gt;Try to modify your code as blow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event has no standard routine. The following global data is available for the realization of the user routine:&lt;/P&gt;&lt;P&gt;•internal table TOTAL&lt;BR /&gt;•field symbols&lt;BR /&gt;•field symbols &amp;lt;ACTION&amp;gt; and &amp;lt;ACTION_TEXT&amp;gt;&lt;BR /&gt;•&amp;lt;STATUS&amp;gt;-UPD_FLAG&lt;BR /&gt;If internal table data are to be changed before saving, t he changes should be made in both the internal table &lt;/P&gt;&lt;P&gt;TOTAL and in the internal table EXTRACT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM abc.&lt;BR /&gt;DATA: F_INDEX LIKE SY-TABIX. "Index to note the lines found&lt;BR /&gt;LOOP AT TOTAL.&lt;BR /&gt;IF &amp;lt;ACTION&amp;gt; = desired constant.&lt;BR /&gt;READ TABLE EXTRACT WITH KEY &amp;lt;vim_xtotal_key&amp;gt;.&lt;BR /&gt;IF SY-SUBRC EQ 0.&lt;BR /&gt;F_INDEX = SY-TABIX.&lt;BR /&gt;ELSE.&lt;BR /&gt;CLEAR F_INDX.&lt;BR /&gt;ENDIF.&lt;BR /&gt;(make desired changes to the line TOTAL)&lt;BR /&gt;MODIFY TOTAL.&lt;BR /&gt;CHECK F_INDX GT 0.&lt;BR /&gt;EXTRACT = TOTAL.&lt;BR /&gt;MODIFY EXTRACT INDEX F_INDX.&lt;BR /&gt;ENDIF.&lt;BR /&gt;ENDLOOP.&lt;BR /&gt;SY-SUBRC = 0.&lt;BR /&gt;ENDFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer event 01: &lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Archer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 08:10:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-code-in-table-maintenance-generator/m-p/10181382#M1823153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-06T08:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Event code in table maintenance generator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-code-in-table-maintenance-generator/m-p/10181383#M1823154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi nabheet,&amp;nbsp;&amp;nbsp; I have check in debugging values are showing proper but message what&amp;nbsp; i need when given 4 fields * need to pop up with message,which is not reflecting at all also in debugging. Thanks Sankil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 09:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-code-in-table-maintenance-generator/m-p/10181383#M1823154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-06T09:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Event code in table maintenance generator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-code-in-table-maintenance-generator/m-p/10181384#M1823155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi nabheet,&amp;nbsp; I have check in debugging values are showing proper but message what&amp;nbsp; i need when given 4 fields * need to pop up with message,which is not reflecting at all also in debugging. Thanks Sankil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 11:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-code-in-table-maintenance-generator/m-p/10181384#M1823155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-06T11:45:29Z</dc:date>
    </item>
  </channel>
</rss>

