<?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: ALV scroll in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-scroll/m-p/1252790#M145402</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;it is simple , i did it once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to set it . you will get the selected row from double click . using that call the method set_selected_row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  METHOD DOUBLE_CLICK .
    CLEAR: V_ROW,V_COLUMN,V_ROW_NUM.
    V_ROW  = E_ROW_ID.
    V_COLUMN = E_COLUMN_ID.
    V_ROW_NUM = ES_ROW_NO.
    "do some thing here like in your case show another alv
    PERFORM SET_SELECTED_CELL.
  ENDMETHOD.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM SET_SELECTED_CELL .
  IF NOT V_ROW IS INITIAL
   AND NOT V_COLUMN IS INITIAL
   AND NOT V_ROW_NUM IS INITIAL.
    CALL METHOD G_GRID-&amp;gt;SET_CURRENT_CELL_VIA_ID
      EXPORTING
        IS_ROW_ID    = V_ROW
        IS_COLUMN_ID = V_COLUMN
        IS_ROW_NO    = V_ROW_NUM.

  ENDIF.
ENDFORM.                    " SET_SELECTED_CELL&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Apr 2006 14:24:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-12T14:24:21Z</dc:date>
    <item>
      <title>ALV scroll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-scroll/m-p/1252789#M145401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;       I have a  editable Alv grid display.I have event double click.when i double click on a particular line one of the column gets a checked sign.My problem is that once i double click the cursur goes to the starting of the list display.I want it to be at the same row i double clickd.Does any one how to slovw this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks And regards&lt;/P&gt;&lt;P&gt;Ahasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 14:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-scroll/m-p/1252789#M145401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T14:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: ALV scroll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-scroll/m-p/1252790#M145402</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;it is simple , i did it once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to set it . you will get the selected row from double click . using that call the method set_selected_row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  METHOD DOUBLE_CLICK .
    CLEAR: V_ROW,V_COLUMN,V_ROW_NUM.
    V_ROW  = E_ROW_ID.
    V_COLUMN = E_COLUMN_ID.
    V_ROW_NUM = ES_ROW_NO.
    "do some thing here like in your case show another alv
    PERFORM SET_SELECTED_CELL.
  ENDMETHOD.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM SET_SELECTED_CELL .
  IF NOT V_ROW IS INITIAL
   AND NOT V_COLUMN IS INITIAL
   AND NOT V_ROW_NUM IS INITIAL.
    CALL METHOD G_GRID-&amp;gt;SET_CURRENT_CELL_VIA_ID
      EXPORTING
        IS_ROW_ID    = V_ROW
        IS_COLUMN_ID = V_COLUMN
        IS_ROW_NO    = V_ROW_NUM.

  ENDIF.
ENDFORM.                    " SET_SELECTED_CELL&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 14:24:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-scroll/m-p/1252790#M145402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T14:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: ALV scroll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-scroll/m-p/1252791#M145403</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 think you are doing a REFRESH_TABLE_DISPLAY. For that method there are some parameters. when you pass the values for that, the list will stay at the same place where the user has clicked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS_STABLE TYPE LVC_S_STBL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set the values IS_STABLE-ROW = 'X' and IS_STABLE-COL =  'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should fix the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please close the thread if this resolves the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 14:25:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-scroll/m-p/1252791#M145403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T14:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: ALV scroll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-scroll/m-p/1252792#M145404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   i will try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ahasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 14:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-scroll/m-p/1252792#M145404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T14:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: ALV scroll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-scroll/m-p/1252793#M145405</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;in my case i called this method SET_CURRENT_CELL_VIA_ID, this will set the row,cell we clicked .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 14:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-scroll/m-p/1252793#M145405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T14:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: ALV scroll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-scroll/m-p/1252794#M145406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if you are not calling REFRESH, you can make a call to this method so that the position doesn't change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't have to find the current position, by this method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please close the thread if this resolves the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 14:30:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-scroll/m-p/1252794#M145406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T14:30:53Z</dc:date>
    </item>
  </channel>
</rss>

