<?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: ALV sum various columns problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sum-various-columns-problem/m-p/6153637#M1369023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The question is not very clear but, u can try this.&lt;/P&gt;&lt;P&gt;while populating the field catalog try using &lt;/P&gt;&lt;P&gt;set_column_name,&lt;/P&gt;&lt;P&gt;set_short_text, &lt;/P&gt;&lt;P&gt;set_medium_text,&lt;/P&gt;&lt;P&gt;set_long_text for the extra fileds added.&lt;/P&gt;&lt;P&gt;if possible make it clear what exactly r u using asin, the reuse alv's or oo alv's or object alv's.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2009 06:18:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-16T06:18:15Z</dc:date>
    <item>
      <title>ALV sum various columns problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sum-various-columns-problem/m-p/6153636#M1369022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm doing a report on ABAP for a timesheet of the current month. The output i want is similar to this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Year      Month     Type         Item       #days  tue-1      wed-2    thu-3 ...
2009     September  Project    Project1      3        1        1          1
2009     September  Project    Projec2       5        1        1          0
2009     September  Task       Task1         1        0        1          0
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field #days is a sum of all the days columns for september next right to the #days column.&lt;/P&gt;&lt;P&gt;I can have an SQL wich can extract all the data to fill year,month,type,item and #days. But then, i need to flat these #days in the correct days column. I think i can do it with 2 sqls, but then i need to join these data to display it right.&lt;/P&gt;&lt;P&gt;Finally, present that data in an ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a structure defined in ABAP dictionary with all the static fields. The columns representing the days (sat-1,sun-2,...) are not in the structure.&lt;/P&gt;&lt;P&gt;I've tried to define a new structure wich include the old one and define the remaining columns, but i can't show the fields defined in this extra structure, only the static fields defined in ABAP dictionary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is probably simple, but i'm just starting in ABAP, and this seems odd and confusing right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's your advice to solve this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 10:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sum-various-columns-problem/m-p/6153636#M1369022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-15T10:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: ALV sum various columns problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sum-various-columns-problem/m-p/6153637#M1369023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The question is not very clear but, u can try this.&lt;/P&gt;&lt;P&gt;while populating the field catalog try using &lt;/P&gt;&lt;P&gt;set_column_name,&lt;/P&gt;&lt;P&gt;set_short_text, &lt;/P&gt;&lt;P&gt;set_medium_text,&lt;/P&gt;&lt;P&gt;set_long_text for the extra fileds added.&lt;/P&gt;&lt;P&gt;if possible make it clear what exactly r u using asin, the reuse alv's or oo alv's or object alv's.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 06:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sum-various-columns-problem/m-p/6153637#M1369023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-16T06:18:15Z</dc:date>
    </item>
  </channel>
</rss>

