<?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: SET_SELECTED_ROWS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-selected-rows/m-p/3576816#M861009</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;If you've solved your problem close this post, anyway you're right if you use the method set_table_for_first_display u need to call set_selected_rows after calling set_table_for_first_display, but this method should be called once, in the next step it should call the method for refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say bye bye to m.cerdelli&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2008 15:12:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-19T15:12:33Z</dc:date>
    <item>
      <title>SET_SELECTED_ROWS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-selected-rows/m-p/3576813#M861006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;i'm trying to maintain selected rows after refresh, with method in subject, but it doesn't work.&lt;/P&gt;&lt;P&gt;could you help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 14:10:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-selected-rows/m-p/3576813#M861006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T14:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: SET_SELECTED_ROWS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-selected-rows/m-p/3576814#M861007</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;U should call that method before refreshing your output. Can you post the code where u call the method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 14:18:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-selected-rows/m-p/3576814#M861007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T14:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: SET_SELECTED_ROWS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-selected-rows/m-p/3576815#M861008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;i'v solved the problem: i'm not using method table_refresh, but set_tabke_for_first_display.&lt;/P&gt;&lt;P&gt;in this cases method set_selected_rows had to be called after...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL METHOD grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;             is_layout            = ls_layout&lt;/P&gt;&lt;P&gt;             it_toolbar_excluding = lt_toolbar_excl[]&lt;/P&gt;&lt;P&gt;             is_variant           = ls_variant&lt;/P&gt;&lt;P&gt;             i_save               = 'X'&lt;/P&gt;&lt;P&gt;             i_default            = 'X'&lt;/P&gt;&lt;P&gt;           CHANGING&lt;/P&gt;&lt;P&gt;             it_fieldcatalog      = lt_fieldcat[]&lt;/P&gt;&lt;P&gt;             it_sort              = lt_sort[]&lt;/P&gt;&lt;P&gt;             it_outtab            = gt_outtab[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  &amp;gt; Mantenere rihe marcate&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      PERFORM set_selected_rows TABLES gt_outtab.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  set_selected_rows&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FORM set_selected_rows TABLES   pt_outtab STRUCTURE gt_outtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA lt_rows TYPE lvc_t_row.&lt;/P&gt;&lt;P&gt;    DATA l_rows LIKE LINE OF lt_rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT gt_outtab WHERE mark = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      l_rows-index = sy-tabix.&lt;/P&gt;&lt;P&gt;      APPEND l_rows TO lt_rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL METHOD grid-&amp;gt;set_selected_rows&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        it_index_rows = lt_rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDFORM.                    " set_selected_rows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyway...thank you (i hope to talk with you in italian, next time...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s. regards from m.cerdelli (ex amc), friends of luca maionchi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 14:32:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-selected-rows/m-p/3576815#M861008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T14:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: SET_SELECTED_ROWS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-selected-rows/m-p/3576816#M861009</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;If you've solved your problem close this post, anyway you're right if you use the method set_table_for_first_display u need to call set_selected_rows after calling set_table_for_first_display, but this method should be called once, in the next step it should call the method for refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say bye bye to m.cerdelli&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 15:12:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-selected-rows/m-p/3576816#M861009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T15:12:33Z</dc:date>
    </item>
  </channel>
</rss>

