<?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: Processing internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-internal-table/m-p/4954736#M1155190</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;Have the internal table in the format.... Vendor..currency and amount...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now... use AT END of CURRENCY....and COLLECT statements.... and process these within a loop..... try the F1 help for these statements for accurate syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Dec 2008 09:04:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-15T09:04:44Z</dc:date>
    <item>
      <title>Processing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-internal-table/m-p/4954734#M1155188</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;I have an internal table which has vendor, amount and currency fields. There are more than one currency exists for each vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each vendor, I have to add the amount per currency field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I don't know how many currencies exists.hence I cannot use the statement if waers = 'EUR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u please let me know the logic to do this task?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 08:34:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-internal-table/m-p/4954734#M1155188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T08:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Processing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-internal-table/m-p/4954735#M1155189</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 internal table on the basis of vendor and currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort &amp;lt;internal_table&amp;gt; ascending by lifnr waers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now start a loop in internal table and use at end of waers ,like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at &amp;lt;interbal_table&amp;gt;.&lt;/P&gt;&lt;P&gt;l_lifnr = &amp;lt;internal_table&amp;gt;-lifnr.&lt;/P&gt;&lt;P&gt;l_amount1 = &amp;lt;internal_table&amp;gt;-amount.&lt;/P&gt;&lt;P&gt;l_amount = l_amount1 + l_amount2.&lt;/P&gt;&lt;P&gt;l_waers = &amp;lt;internal_table&amp;gt;-waers.&lt;/P&gt;&lt;P&gt;at end of waers.&lt;/P&gt;&lt;P&gt;move l_lifnr to &amp;lt;iternal_table2&amp;gt;-lifnr.&lt;/P&gt;&lt;P&gt;move l_amount to &amp;lt;iternal_table2&amp;gt;-amount.&lt;/P&gt;&lt;P&gt;move l_waers to &amp;lt;iternal_table2&amp;gt;-waers.&lt;/P&gt;&lt;P&gt;append &amp;lt;internal_table2&amp;gt;.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;l_amount2 = l_amount.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now , &amp;lt;internal_table2&amp;gt; contains the sum of amount per curency field for each vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: siddharth kumar on Dec 15, 2008 9:46 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 08:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-internal-table/m-p/4954735#M1155189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T08:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Processing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-internal-table/m-p/4954736#M1155190</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;Have the internal table in the format.... Vendor..currency and amount...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now... use AT END of CURRENCY....and COLLECT statements.... and process these within a loop..... try the F1 help for these statements for accurate syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 09:04:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-internal-table/m-p/4954736#M1155190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T09:04:44Z</dc:date>
    </item>
  </channel>
</rss>

