<?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: Internal tables. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3393224#M814757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cna u explain u r requirement clerly so that i can send u the code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2008 06:50:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-11T06:50:19Z</dc:date>
    <item>
      <title>Internal tables.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3393223#M814756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one internal table with 6 fields.(client ID, date and amount so on....)&lt;/P&gt;&lt;P&gt;in internal table i have the data in 5 rows in 6 th row total of the amount field.(below the amount column)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my requirement is, check total amount with sum of amount field data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give the code for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp;regards,&lt;/P&gt;&lt;P&gt;PB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 06:42:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3393223#M814756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T06:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Internal tables.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3393224#M814757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cna u explain u r requirement clerly so that i can send u the code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 06:50:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3393224#M814757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T06:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Internal tables.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3393225#M814758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG&gt;PB&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: sum type i , (&lt;STRONG&gt;or the type of amount&lt;/STRONG&gt; )&lt;/P&gt;&lt;P&gt;       count type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;  sum = itab-amount + sum.&lt;/P&gt;&lt;P&gt;  if sy-index eq 5.&lt;/P&gt;&lt;P&gt;     exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab index 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sum ne itab-amount.&lt;/P&gt;&lt;P&gt;  write / 'Not similar'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plzz reward if it is useful,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mahi&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 06:53:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3393225#M814758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T06:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Internal tables.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3393226#M814759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it_itab.&lt;/P&gt;&lt;P&gt;field1    feield2        field3 - -- ---&lt;/P&gt;&lt;P&gt;1425    11/02/08     3,500&lt;/P&gt;&lt;P&gt;1426    11/02/08     2,500&lt;/P&gt;&lt;P&gt;1427    11/02/08     5,500&lt;/P&gt;&lt;P&gt;1428    11/02/08     6,500&lt;/P&gt;&lt;P&gt;1429    11/02/08     1,500&lt;/P&gt;&lt;P&gt;                    total 10,000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to check total is equal to sum of field3.&lt;/P&gt;&lt;P&gt;that mens check 10,000 eq sum of field3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;PB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 06:56:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3393226#M814759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T06:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Internal tables.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3393227#M814760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE internal table LINES lin --- with this you will get the number of rows in the field lin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at internal table.&lt;/P&gt;&lt;P&gt;v_flag = v_flag + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_flag_total = v_flag_total + amountfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if v_flag eq lin.&lt;/P&gt;&lt;P&gt; check v_flag_total eq the total amount field in the 6th row.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:my yahoo id is dina_karan10@yahoo.com&lt;/P&gt;&lt;P&gt;Get in touch if you still find the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinakaran.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 06:56:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3393227#M814760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T06:56:43Z</dc:date>
    </item>
  </channel>
</rss>

