<?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: User Command in Dynamic ALV Display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-command-in-dynamic-alv-display/m-p/1481349#M225133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before displaying ALV , store all the data in the fieldsymbol into another internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then display ALV with field symbol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after u click the pushbutton , get the seleted rows into another table using get_selected rows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now again call CALL METHOD cl_gui_alv_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;and give the new selected rows of internal table and refresh the grid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Aug 2006 13:45:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-17T13:45:02Z</dc:date>
    <item>
      <title>User Command in Dynamic ALV Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-command-in-dynamic-alv-display/m-p/1481348#M225132</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 have an requirement where i'm displaying Dynamic ALV grid by calling the method by passing the field Symbol in  it_outtab parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_alv_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this i'm creating a custom container in my screen container &lt;/P&gt;&lt;P&gt;CREATE OBJECT cl_gui_custom_container&lt;/P&gt;&lt;P&gt;        EXPORTING container_name = lv_container.&lt;/P&gt;&lt;P&gt;Now in the output every record is having a checkbox in the end.Now if the user check this checkbox n clicks on push button(added in Application toolbar) then this record should be kept and rest all the records should be deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be done if an internal table is passed to the method as the field symbol doesnt hold any data after the output is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any solution where this can be made possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sheetal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2006 13:21:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-command-in-dynamic-alv-display/m-p/1481348#M225132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-17T13:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: User Command in Dynamic ALV Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-command-in-dynamic-alv-display/m-p/1481349#M225133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before displaying ALV , store all the data in the fieldsymbol into another internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then display ALV with field symbol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after u click the pushbutton , get the seleted rows into another table using get_selected rows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now again call CALL METHOD cl_gui_alv_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;and give the new selected rows of internal table and refresh the grid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2006 13:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-command-in-dynamic-alv-display/m-p/1481349#M225133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-17T13:45:02Z</dc:date>
    </item>
  </channel>
</rss>

