<?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: condition1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition1/m-p/2611403#M599037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use SORT &amp;amp; Control break logic..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT itab BY doc_no tax.&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;AT NEW tax.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This will check any change in doc_no tax combination.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Write your logic&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT itab BY doc_no.&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;AT NEW doc_no.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This will check any change in doc_no. &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Write your logic&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Aug 2007 10:46:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-04T10:46:18Z</dc:date>
    <item>
      <title>condition1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition1/m-p/2611402#M599036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all experts&lt;/P&gt;&lt;P&gt;Doc no           tax             amt&lt;/P&gt;&lt;P&gt;01                    11           100&lt;/P&gt;&lt;P&gt;01                    12              200&lt;/P&gt;&lt;P&gt;02                     13             25&lt;/P&gt;&lt;P&gt;02                      13              75&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc no           tax             amt&lt;/P&gt;&lt;P&gt;01                   11             100&lt;/P&gt;&lt;P&gt;01                   12              200&lt;/P&gt;&lt;P&gt;02                    13             100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process : first I check the doc no than check tax no&lt;/P&gt;&lt;P&gt;If both are sama as previous then I sum the amt. just&lt;/P&gt;&lt;P&gt;Like at 02 doc no. in  first loop system check doc no = 01&lt;/P&gt;&lt;P&gt;Tax = 11 amt = 100.&lt;/P&gt;&lt;P&gt;At second loop system check doc no is same but tax is not sama.&lt;/P&gt;&lt;P&gt;At third time doc no = 02 tax = 13 amt = 25.&lt;/P&gt;&lt;P&gt;At forth time system check doc no is same, tax is also same then sum the amt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me for write the condition for checking the doc no and tax.&lt;/P&gt;&lt;P&gt;Please given me sample code for that.&lt;/P&gt;&lt;P&gt;Thanks in advance and reward also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard : deep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2007 10:31:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/condition1/m-p/2611402#M599036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-04T10:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: condition1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition1/m-p/2611403#M599037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use SORT &amp;amp; Control break logic..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT itab BY doc_no tax.&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;AT NEW tax.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This will check any change in doc_no tax combination.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Write your logic&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT itab BY doc_no.&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;AT NEW doc_no.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This will check any change in doc_no. &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Write your logic&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2007 10:46:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/condition1/m-p/2611403#M599037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-04T10:46:18Z</dc:date>
    </item>
  </channel>
</rss>

