<?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 ALV dynamic selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-dynamic-selection/m-p/3463133#M832213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written a ALV report by joining BKPF and FAGLFLEXA table...I have used FM REUSE_ALV_GRID_DISPLAY...&lt;/P&gt;&lt;P&gt;Now the user wants a dynamic selection on the selection screen to choose fields on which he wants to summarize the values...&lt;/P&gt;&lt;P&gt;I display 25 fields and the user wants to summarize on few of them...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide some inputs on how I can do that...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no clue on how to begin...and what i shud do...&lt;/P&gt;&lt;P&gt;Coding samples will be helpful tooo....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Mar 4, 2008 6:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2008 22:08:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-04T22:08:54Z</dc:date>
    <item>
      <title>ALV dynamic selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-dynamic-selection/m-p/3463133#M832213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written a ALV report by joining BKPF and FAGLFLEXA table...I have used FM REUSE_ALV_GRID_DISPLAY...&lt;/P&gt;&lt;P&gt;Now the user wants a dynamic selection on the selection screen to choose fields on which he wants to summarize the values...&lt;/P&gt;&lt;P&gt;I display 25 fields and the user wants to summarize on few of them...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide some inputs on how I can do that...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no clue on how to begin...and what i shud do...&lt;/P&gt;&lt;P&gt;Coding samples will be helpful tooo....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Mar 4, 2008 6:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 22:08:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-dynamic-selection/m-p/3463133#M832213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T22:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV dynamic selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-dynamic-selection/m-p/3463134#M832214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nothing fancy...You only need to check on the catalog...If the field is passed as parameter you add this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
READ TABLE S_SUMARIZE WITH KEY
LOW = 'BLART'.
IF SY-SUBRC EQ 0.
FIELDCATALOG-DO_SUM = 'X'.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You got an SELECT-OPTIONS with the fields that should get sumarize...For everyfield in the catalog you ask if they are contained in the LOW field of the SELECT-OPTIONS...When true...add DO_SUM...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 23:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-dynamic-selection/m-p/3463134#M832214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T23:08:50Z</dc:date>
    </item>
  </channel>
</rss>

