<?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: Retrieving data from ALV grid on previous level in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-data-from-alv-grid-on-previous-level/m-p/6664093#M1446748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am afraid there is no direct way of getting entire row data once you change content of your table. You can however:&lt;/P&gt;&lt;P&gt;- store previous level data in some &lt;EM&gt;tmp&lt;/EM&gt; table&lt;/P&gt;&lt;P&gt;- when you pick F3 then use &lt;EM&gt;tabindex&lt;/EM&gt; of &lt;EM&gt;slis_selfield&lt;/EM&gt; which should hold index of selected row. &lt;/P&gt;&lt;P&gt;- then just read your &lt;EM&gt;tmp&lt;/EM&gt; table using that index to get appropriate row data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Mar 2010 08:13:17 GMT</pubDate>
    <dc:creator>MarcinPciak</dc:creator>
    <dc:date>2010-03-03T08:13:17Z</dc:date>
    <item>
      <title>Retrieving data from ALV grid on previous level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-data-from-alv-grid-on-previous-level/m-p/6664092#M1446747</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 developing a report using ALV Grid, there is no OO involved.&lt;/P&gt;&lt;P&gt;The report is showing salary data at any department level in the company, and you can navigate to a lower level by clicking any cell in one of the displayed lines.&lt;/P&gt;&lt;P&gt;Since the layout at each level is identical, I'm using the same internal table for all levels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem is: I have displayed level 1, then the user has clicked a cell after which I have displayed level 2, the user then presses F3 and clicks a new cell in the level 1 list - now my internal table do not have the level 1 data since it holds the level 2 data, however I need the data in order to present the correct new level 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the form I specify in the i_callback_user_command form I immediately get the value of the cell the user has pressed from the slis_selfield parameter, but this is not necessarily the key field that I need, so I need some way of retrieving data for the entire row, not just the one field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope someone will be able to help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Claus Christensen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2010 07:47:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-data-from-alv-grid-on-previous-level/m-p/6664092#M1446747</guid>
      <dc:creator>clausl_christensen</dc:creator>
      <dc:date>2010-03-03T07:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving data from ALV grid on previous level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-data-from-alv-grid-on-previous-level/m-p/6664093#M1446748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am afraid there is no direct way of getting entire row data once you change content of your table. You can however:&lt;/P&gt;&lt;P&gt;- store previous level data in some &lt;EM&gt;tmp&lt;/EM&gt; table&lt;/P&gt;&lt;P&gt;- when you pick F3 then use &lt;EM&gt;tabindex&lt;/EM&gt; of &lt;EM&gt;slis_selfield&lt;/EM&gt; which should hold index of selected row. &lt;/P&gt;&lt;P&gt;- then just read your &lt;EM&gt;tmp&lt;/EM&gt; table using that index to get appropriate row data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2010 08:13:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-data-from-alv-grid-on-previous-level/m-p/6664093#M1446748</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-03-03T08:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving data from ALV grid on previous level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-data-from-alv-grid-on-previous-level/m-p/6664094#M1446749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer, I was hoping there was a way of accessing the Grid directly, but I'll make it work with a multi-level internal table instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Claus Christensen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 07:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieving-data-from-alv-grid-on-previous-level/m-p/6664094#M1446749</guid>
      <dc:creator>clausl_christensen</dc:creator>
      <dc:date>2010-03-05T07:33:00Z</dc:date>
    </item>
  </channel>
</rss>

