title: get_selected_rows from alv after handler PAI logic
body: <p>I have an ALV in container on screen <code>0100</code>. It's created via class <code>CL_SALV_TABLE</code>.</p>
  
  <p>The problem is that I can't get selected row via <code>go_alv_dms-&gt;get_selections( )-&gt;get_selected_rows( )</code> after pressing a button on the screen (2 on the screenshot).</p>
  
  <p>I can access the selected rows with no problem if the button is in the ALV status bar (1 on the screenshot) though. It seems like pressing the button outside of ALV cleans selections of it.</p>
  
  <p><img src="https://i.stack.imgur.com/8cKOu.png" alt="enter image description here"></p>
  
  <p>Register selection when show ALV:</p>
  
  <pre><code>  ...
    lo_selections = go_alv_dms-&gt;get_selections( ).
    lo_selections-&gt;set_selection_mode( if_salv_c_selection_mode=&gt;row_column ).
    lo_events = go_alv_dms-&gt;get_event( ).
    CREATE OBJECT go_handler.
    SET HANDLER go_handler-&gt;on_user_command2 FOR lo_events.
    ...
  </code></pre>
  
  <p>PAI of the screen button logic:</p>
  
  <pre><code> go_handler-&gt;on_user_command2( gv_ok_0100 ).
  </code></pre>
  
  <p>Method <code>on_user_command2</code>:</p>
  
  <pre><code>    case gv_ok_0100.
        when 'OK'.
           ...
           lt_rows = go_alv_dms-&gt;get_selections( )-&gt;get_selected_rows( ).
           ...
      ENDCASE.
  </code></pre>