<?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: Problem in ALV reports! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-reports/m-p/7783378#M1585689</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'm not sure about your need but if you like sum up your fields , you can use &lt;STRONG&gt;do_sum&lt;/STRONG&gt; as below. Totals will appear automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT gt_fieldcat.
if gt_fieldcat-fieldname = 'YOUR_COLUMN'.
   gt_fieldcat-do_sum = 'X'.
endif.

  MODIFY gt_fieldcat.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Apr 2011 11:37:02 GMT</pubDate>
    <dc:creator>huseyindereli</dc:creator>
    <dc:date>2011-04-17T11:37:02Z</dc:date>
    <item>
      <title>Problem in ALV reports!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-reports/m-p/7783377#M1585688</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 want to generate a report in ALV using a combined fields from 2 tables... I have already created an internal table from these two DB table fields using the inner join. in the ALV report i want the reslt of each field to be displayed in the report.. for Example:&lt;/P&gt;&lt;P&gt;field1 in internal table contain (amount 13324.225   34432.214 ....ans so on) so in the ALV i want to calculate the result of all the entries regarding this particular field..&lt;/P&gt;&lt;P&gt;depending on a particular period of time which be choosen from a select-option..&lt;/P&gt;&lt;P&gt;please advice how to do that??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2011 09:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-reports/m-p/7783377#M1585688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-17T09:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in ALV reports!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-reports/m-p/7783378#M1585689</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'm not sure about your need but if you like sum up your fields , you can use &lt;STRONG&gt;do_sum&lt;/STRONG&gt; as below. Totals will appear automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT gt_fieldcat.
if gt_fieldcat-fieldname = 'YOUR_COLUMN'.
   gt_fieldcat-do_sum = 'X'.
endif.

  MODIFY gt_fieldcat.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2011 11:37:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-reports/m-p/7783378#M1585689</guid>
      <dc:creator>huseyindereli</dc:creator>
      <dc:date>2011-04-17T11:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in ALV reports!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-reports/m-p/7783379#M1585690</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;If you are creating the field catalog manually, then use &lt;SPAN __jive_macro_name="do_sum"&gt;&lt;/SPAN&gt; for that particular field you need the summation result. Otherwise if you are getting the field catalog using &lt;SPAN __jive_macro_name="reuse_alv_fieldcatalog_merge"&gt;&lt;/SPAN&gt; then give the loop and modify your field catalog for changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 10:08:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-reports/m-p/7783379#M1585690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-18T10:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in ALV reports!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-reports/m-p/7783380#M1585691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all,&lt;/P&gt;&lt;P&gt;Problem Resolved!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2011 05:31:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-reports/m-p/7783380#M1585691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-15T05:31:25Z</dc:date>
    </item>
  </channel>
</rss>

