<?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: currency-wise subtotal in normal interactive reporting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-wise-subtotal-in-normal-interactive-reporting/m-p/6184081#M1373671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks  gautham,&lt;/P&gt;&lt;P&gt; but i want to achieve it through interactive reporting &lt;STRONG&gt;not ALV&lt;/STRONG&gt;. again thank you for your answer.&lt;/P&gt;&lt;P&gt;i know it will be achieved through &lt;STRONG&gt;control statements in internal table&lt;/STRONG&gt; but fail to achieve that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2009 17:59:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-07T17:59:06Z</dc:date>
    <item>
      <title>currency-wise subtotal in normal interactive reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-wise-subtotal-in-normal-interactive-reporting/m-p/6184079#M1373669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have two tables &lt;STRONG&gt;vbap&lt;/STRONG&gt;, &lt;STRONG&gt;vbak&lt;/STRONG&gt;. in the report i have to print &lt;STRONG&gt;vbeln&lt;/STRONG&gt;, &lt;STRONG&gt;netwr&lt;/STRONG&gt; from  &lt;STRONG&gt;vbap&lt;/STRONG&gt; table &amp;amp; &lt;STRONG&gt;waerk&lt;/STRONG&gt; from vbak table.&lt;/P&gt;&lt;P&gt;now for every change in the currency a subtotal will be printed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. suppose i have 15 rows in the list. there are 6 &lt;STRONG&gt;dem&lt;/STRONG&gt;(currency), 5 &lt;STRONG&gt;usd&lt;/STRONG&gt; (currency), 4 &lt;STRONG&gt;euro&lt;/STRONG&gt; (currency).&lt;/P&gt;&lt;P&gt;the summation of 6 dem's will be printed, 5 usd's will be printed, 4 euro's will be printed. how this can be achieved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 14:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-wise-subtotal-in-normal-interactive-reporting/m-p/6184079#M1373669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T14:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: currency-wise subtotal in normal interactive reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-wise-subtotal-in-normal-interactive-reporting/m-p/6184080#M1373670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  fieldcatalog-fieldname   = 'NETWR'.
  fieldcatalog-seltext_l   = 'TRANSACTION CURRRENCY'.
  fieldcatalog-cfieldname   = 'WAERS'.  --&amp;gt; this willl give you currencywise subtotal
  fieldcatalog-do_sum   = 'X'.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 14:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-wise-subtotal-in-normal-interactive-reporting/m-p/6184080#M1373670</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2009-10-07T14:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: currency-wise subtotal in normal interactive reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-wise-subtotal-in-normal-interactive-reporting/m-p/6184081#M1373671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks  gautham,&lt;/P&gt;&lt;P&gt; but i want to achieve it through interactive reporting &lt;STRONG&gt;not ALV&lt;/STRONG&gt;. again thank you for your answer.&lt;/P&gt;&lt;P&gt;i know it will be achieved through &lt;STRONG&gt;control statements in internal table&lt;/STRONG&gt; but fail to achieve that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 17:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-wise-subtotal-in-normal-interactive-reporting/m-p/6184081#M1373671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T17:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: currency-wise subtotal in normal interactive reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-wise-subtotal-in-normal-interactive-reporting/m-p/6184082#M1373672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you are directly relating the field definition as their data elements then vbeln would be char10, netwr is a curency and waerk is currency key(char type).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so&lt;/P&gt;&lt;P&gt;create you final table as:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;types: begin of gty_final,
             vbeln type vbak-vbeln,
             netwr type vbap-netwr,
             waerk type vbak-waerk,
           end of gty_final. 

loop at gt_vbap into gs_vbap.
  clear : gs_vbak.
  read table gt_vbak into gs_vbak with key vbeln = gs_vbap-vbeln.
  if sy-subrc = 0.
     gs_final-vbeln = gs_vbap-vbeln.
     gs_final-netwr = gs_vbap-netwr.
     gs_final-waerk = gs_vbak-waerk.
     COLLECT gs_final into gt_final.
   endif.  
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 18:30:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-wise-subtotal-in-normal-interactive-reporting/m-p/6184082#M1373672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T18:30:46Z</dc:date>
    </item>
  </channel>
</rss>

