<?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 display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/8832551#M1683368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can calculate the number of '&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Kreditor' (and all other required calculations which you want ) using your internal table. But ALV could not be used for the same. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Where do you planned to display the number in the ALV ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Manu B&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2012 10:15:49 GMT</pubDate>
    <dc:creator>former_member209920</dc:creator>
    <dc:date>2012-06-13T10:15:49Z</dc:date>
    <item>
      <title>ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/8832550#M1683367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;Iam outputting some datas on to the screen using ALV.&lt;/P&gt;&lt;P&gt;The code used is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA: go_alv_grid TYPE REF TO cl_gui_alv_grid,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gs_layout TYPE slis_layout_alv.&lt;/P&gt;&lt;P&gt;&amp;nbsp; gs_layout-lights_fieldname = 'TRAFFIC'.&lt;BR /&gt;&amp;nbsp; gs_layout-colwidth_optimize = 'X'.&lt;BR /&gt;&amp;nbsp; gs_layout-zebra = 'X'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_structure_name = 'ZOFFPOS'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is_layout&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gs_layout&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t_outtab&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gt_offpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/110371" width="450" /&gt;&lt;BR /&gt;Please refer the attached image to see the output.&lt;BR /&gt;Now I have the following reqirements.&lt;/P&gt;&lt;P&gt;1. I want to claculate the number of "Kreditor"(Field Name in the image)&lt;BR /&gt;I sorted the field according to kreditor.Is there a way to show the Number(In this example 3).&lt;/P&gt;&lt;P&gt;2.&lt;BR /&gt;Want to calculate the number of lines per "Kreditor".&lt;/P&gt;&lt;P&gt;3.The "Betrag" field need to be summed up per "Kredior" ,when it is sorted per Lieferant&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;4.The "Betrag" field need to be summed Per "Soll/Haben" Field.(S and H)&lt;/P&gt;&lt;P&gt;Is there any way in ALV to achive this.&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;BR /&gt;P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 14:59:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/8832550#M1683367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-12T14:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/8832551#M1683368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can calculate the number of '&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Kreditor' (and all other required calculations which you want ) using your internal table. But ALV could not be used for the same. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Where do you planned to display the number in the ALV ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Manu B&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 10:15:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/8832551#M1683368</guid>
      <dc:creator>former_member209920</dc:creator>
      <dc:date>2012-06-13T10:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/8832552#M1683369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay,If I have to calculate all the requirements looping through the itab,What would be elegant way to display it.&lt;/P&gt;&lt;P&gt;Can I display it in the same dynpro(alv Dynpro) using write statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 11:35:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/8832552#M1683369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-13T11:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/8832553#M1683370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can display the these details in TOp_OF_PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or I guess the better way would using events like "CLICK' on some column give details of that column i.e. suppose if you click on the column 'KREDITOR', it will give the umber of Distinct 'KREDITORS' etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 04:11:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/8832553#M1683370</guid>
      <dc:creator>former_member209920</dc:creator>
      <dc:date>2012-06-14T04:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/8832554#M1683371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 09:01:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/8832554#M1683371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-14T09:01:57Z</dc:date>
    </item>
  </channel>
</rss>

