<?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: contol break event problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/contol-break-event-problem/m-p/7225519#M1524317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;Consider an internal table of following type &lt;/P&gt;&lt;P&gt;Month  Region Person Department&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use AT NEW  Field3, then it is triggered when ever Field3 changes as well as whenever value in its preceding column change.&lt;/P&gt;&lt;P&gt;It considers the columns till Field3 as key, and any change in one of these values triggers AT NEW.&lt;/P&gt;&lt;P&gt;Now using AT NEW Month, will trigger at new whenever Month changes.&lt;/P&gt;&lt;P&gt;However if you use AT NEW person, then it will be triggered even if Month or Region changes, not just Person.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing I would like to mention.&lt;/P&gt;&lt;P&gt;Once you use at new month which works fine and then you try to use at new region, then you should use another internal table having the following structure.&lt;/P&gt;&lt;P&gt;Region Month Person Department&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ON CHANGE of gets triggered when ever the mentioned field changes.However this is obsolete now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Aug 2010 08:09:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-04T08:09:59Z</dc:date>
    <item>
      <title>contol break event problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/contol-break-event-problem/m-p/7225518#M1524316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Good day guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ive dev the smart form for sales. i need to cal the total sales per month as well as Region wise and branch wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont the total sales per month. now i need to cal the region wise.&lt;/P&gt;&lt;P&gt;so i used the code as below as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
sort itab by region.
loop at itab into wa.
at new region.
sum.
append wa to itab2.
clear:wa.
endat
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;iam bit confuse with at new and on chage of.. plz let me know how to cal the region wise.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;chandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 07:47:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/contol-break-event-problem/m-p/7225518#M1524316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-04T07:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: contol break event problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/contol-break-event-problem/m-p/7225519#M1524317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;Consider an internal table of following type &lt;/P&gt;&lt;P&gt;Month  Region Person Department&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use AT NEW  Field3, then it is triggered when ever Field3 changes as well as whenever value in its preceding column change.&lt;/P&gt;&lt;P&gt;It considers the columns till Field3 as key, and any change in one of these values triggers AT NEW.&lt;/P&gt;&lt;P&gt;Now using AT NEW Month, will trigger at new whenever Month changes.&lt;/P&gt;&lt;P&gt;However if you use AT NEW person, then it will be triggered even if Month or Region changes, not just Person.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing I would like to mention.&lt;/P&gt;&lt;P&gt;Once you use at new month which works fine and then you try to use at new region, then you should use another internal table having the following structure.&lt;/P&gt;&lt;P&gt;Region Month Person Department&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ON CHANGE of gets triggered when ever the mentioned field changes.However this is obsolete now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 08:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/contol-break-event-problem/m-p/7225519#M1524317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-04T08:09:59Z</dc:date>
    </item>
  </channel>
</rss>

