<?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: function module REUSE_ALV_GRID_DISPLAY - get displayed data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-get-displayed-data/m-p/9433987#M1739458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Wei-Ming&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As side by Rudiger Use &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;REUSE_ALV_GRID_DISPLAY&lt;/SPAN&gt; in the user command pass the below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; i_callback_user_command&amp;nbsp; = 'USER_COMMAND'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a routine user_command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;FORM user_command USING ucomm TYPE sy-ucomm&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs_selfield TYPE slis_selfield.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;case ucomm.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;read table it_final into wa_final index rs_selfield-tabindex.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in wa_final you will be getting which record you have selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt; Anand Raj.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 May 2013 07:03:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-05-08T07:03:03Z</dc:date>
    <item>
      <title>function module REUSE_ALV_GRID_DISPLAY - get displayed data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-get-displayed-data/m-p/9433984#M1739455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am looking for way to retrieve (a handle) to the displayed data from the reuse alv grid. What i have done is to insert a new fcode for my own search. My search is looking for some data on database and appending on the search result i want to select a specific line in the alv grid. The routine which do the search is placed in my program and the reuse alv is placed in a class. I get a handle to the grid with function module GET_GLOBALS_FROM_SLVC_FULLSCR. But how can i get a handle to the data which ist displayed? Is there a way? I tried with a 'dirty assigned' which is not working. Any other ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx, M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 17:00:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-get-displayed-data/m-p/9433984#M1739455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-07T17:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: function module REUSE_ALV_GRID_DISPLAY - get displayed data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-get-displayed-data/m-p/9433985#M1739456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wei-Ming,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you own the data yourself that you are requesting for! Don't search for your data in the depths of the ALV display code! You have them yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you call the REUSE_ALV_GRID_DISPLAY function module, you pass the data table. So your own program has the data table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Organize your code in such a way that the callback can access the original data. A "classical" approach is to have the data table as a global field gt_... in a report, and the callback being a subroutine inside of this same report. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 18:32:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-get-displayed-data/m-p/9433985#M1739456</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2013-05-07T18:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: function module REUSE_ALV_GRID_DISPLAY - get displayed data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-get-displayed-data/m-p/9433986#M1739457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rüdiger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your reply. You are right i own the data by my self. But the point is that i want to highlight some lines of the displayed grid after my search. I don't want to close the grid and reopen it with the highlighted lines.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 06:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-get-displayed-data/m-p/9433986#M1739457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-08T06:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: function module REUSE_ALV_GRID_DISPLAY - get displayed data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-get-displayed-data/m-p/9433987#M1739458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Wei-Ming&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As side by Rudiger Use &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;REUSE_ALV_GRID_DISPLAY&lt;/SPAN&gt; in the user command pass the below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; i_callback_user_command&amp;nbsp; = 'USER_COMMAND'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a routine user_command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;FORM user_command USING ucomm TYPE sy-ucomm&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs_selfield TYPE slis_selfield.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;case ucomm.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;read table it_final into wa_final index rs_selfield-tabindex.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in wa_final you will be getting which record you have selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt; Anand Raj.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 07:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-get-displayed-data/m-p/9433987#M1739458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-08T07:03:03Z</dc:date>
    </item>
  </channel>
</rss>

