<?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: logic in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic/m-p/4767170#M1117447</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;sort ur itab with A B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go with the control break event AT END OF B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sysytem will handle the remaining things,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When ur checking with B,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System first checks on B and then A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So even if the value of A changes and B reamins unchanged then also at end will trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A  B&lt;/P&gt;&lt;P&gt;1  2&lt;/P&gt;&lt;P&gt;2  2 &lt;/P&gt;&lt;P&gt;2  3&lt;/P&gt;&lt;P&gt;in the above case it will trigger every time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mr.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Nov 2008 09:59:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-10T09:59:31Z</dc:date>
    <item>
      <title>logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic/m-p/4767166#M1117443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: in future, please use a meaningful subject for your questions&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the internal table i  have 6 fields and I am looping it.&lt;/P&gt;&lt;P&gt;inside the loop i am checking&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT END of A.&lt;/P&gt;&lt;P&gt;--statements&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; ie. for end of fields A i am executing some statement same way I need to exectute or check for field B also that is when ever the field B changes I need to to execute the same set of statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am confusing with logic . can any one clarify this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Nov 10, 2008 11:57 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 09:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic/m-p/4767166#M1117443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-10T09:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic/m-p/4767167#M1117444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the order of the fields in the internal table matters as well: if field A is the first field in the internal table and B is the second, than AT END OF B will be a concatenation of A and B. Some example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A B&lt;/P&gt;&lt;P&gt;1  5&lt;/P&gt;&lt;P&gt;1  5&lt;/P&gt;&lt;P&gt;2  5&lt;/P&gt;&lt;P&gt;2  6&lt;/P&gt;&lt;P&gt;2  6&lt;/P&gt;&lt;P&gt;3  6&lt;/P&gt;&lt;P&gt;3  7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the values are like above, than AT END OF b will be true in lines 2nd, 3rd, 5th, 6th and 7th (pls. note again the value of A and B are taken together!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 09:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic/m-p/4767167#M1117444</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-11-10T09:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic/m-p/4767168#M1117445</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;  after you are done with AT END of A, you can start for B.&lt;/P&gt;&lt;P&gt;AT END OF A....&lt;/P&gt;&lt;P&gt;  statements...&lt;/P&gt;&lt;P&gt;ENDAT&lt;/P&gt;&lt;P&gt;AT END OF B...&lt;/P&gt;&lt;P&gt; statements...&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suganya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 09:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic/m-p/4767168#M1117445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-10T09:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic/m-p/4767169#M1117446</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  statement  ON CHANGE OF statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at &lt;/P&gt;&lt;P&gt;at new a .&lt;/P&gt;&lt;P&gt;...............&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on change of B.&lt;/P&gt;&lt;P&gt;..........................&lt;/P&gt;&lt;P&gt;endon.&lt;/P&gt;&lt;P&gt;endloop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: srinivasu bv on Nov 10, 2008 10:55 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 09:55:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic/m-p/4767169#M1117446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-10T09:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic/m-p/4767170#M1117447</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;sort ur itab with A B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go with the control break event AT END OF B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sysytem will handle the remaining things,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When ur checking with B,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System first checks on B and then A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So even if the value of A changes and B reamins unchanged then also at end will trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A  B&lt;/P&gt;&lt;P&gt;1  2&lt;/P&gt;&lt;P&gt;2  2 &lt;/P&gt;&lt;P&gt;2  3&lt;/P&gt;&lt;P&gt;in the above case it will trigger every time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mr.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 09:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic/m-p/4767170#M1117447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-10T09:59:31Z</dc:date>
    </item>
  </channel>
</rss>

