<?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 Grid Column Select in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-select/m-p/1083090#M98425</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 am using the function 'REUSE_ALV_GRID_DISPLAY' and would to know in the user_command form when user is selecting a column, like the functionality of row_selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my program i need the user to choose a column and push a button. i must know in the user command form what column was selected and if it is chosen and not just the head marked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;Roi Grosfeld&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 Nov 2005 10:13:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-27T10:13:07Z</dc:date>
    <item>
      <title>ALV Grid Column Select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-select/m-p/1083090#M98425</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 am using the function 'REUSE_ALV_GRID_DISPLAY' and would to know in the user_command form when user is selecting a column, like the functionality of row_selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my program i need the user to choose a column and push a button. i must know in the user command form what column was selected and if it is chosen and not just the head marked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;Roi Grosfeld&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Nov 2005 10:13:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-select/m-p/1083090#M98425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-27T10:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Column Select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-select/m-p/1083091#M98426</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;You need to call the FM REUSE_ALV_GRID_LAYOUT_INFO_GET in your user-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this fm there's the parameter ET_MARKED_COLUMNS where you should get out the informations you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: max bianchi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Nov 2005 11:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-select/m-p/1083091#M98426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-27T11:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Column Select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-select/m-p/1083092#M98427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, in the USER_COMMAND form, you can do like following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: it_mark  type SLIS_T_FIELDCAT_ALV.
  CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET'
       IMPORTING
            ET_MARKED_COLUMNS         =  it_mark[].
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;call this function in USER_COMMAND form, the selected column will be stored in it_mark.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will be helpful&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Nov 2005 12:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-select/m-p/1083092#M98427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-27T12:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Column Select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-select/m-p/1083093#M98428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;the form used to process the user_command event has a parameter which you can use to determine which column was selected (fieldname) and which row too (tabindex).&lt;/P&gt;&lt;P&gt;Eg, the following only operates if the Customer number or Name columns have been acted on and reads the underlying internal table based on the index....&lt;/P&gt;&lt;P&gt;FORM user_command&lt;/P&gt;&lt;P&gt; USING i_ucomm     LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;       i_selfield  TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE i_selfield-fieldname.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CUSTOMER OR CUSTOMER NAME.......&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WHEN 'KUNNR' OR 'NAME1'.&lt;/P&gt;&lt;P&gt;      READ TABLE t_dtl ASSIGNING &amp;lt;detail&amp;gt; INDEX i_selfield-tabindex.&lt;/P&gt;&lt;P&gt;      CHECK sy-subrc = 0.&lt;/P&gt;&lt;P&gt;..........................&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Nov 2005 23:43:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-column-select/m-p/1083093#M98428</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2005-11-27T23:43:09Z</dc:date>
    </item>
  </channel>
</rss>

