Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9146

Re: cl_gui_alv_grid get_selected_rows return empty lvc_t_row

$
0
0

Hi Omer,

 

 

Can you please the complete code or have u created any application toolbar buttons and have you write the logic under this.  I created one toolbar button and when i click on the button GET data is coming and it is filling rows also.

 

Please check your code once again.

 

 

MODULE user_command_0100 INPUT.

 

   DATA : lt_rows TYPE lvc_t_row.

   CASE sy-ucomm.

 

     WHEN 'BACKE'.

       LEAVE PROGRAM.

     WHEN 'GET'.

 

       CALL METHOD o_grid->get_selected_rows

         IMPORTING

           et_index_rows = lt_rows[]

*         et_row_no     =

         .

       IF lt_rows[] IS NOT INITIAL.

         BREAK-POINT.

       ENDIF.

   ENDCASE.

ENDMODULE.                 " USER_COMMAND_0100  INPUT




Thanks & Regards,

Raghunadh Kodali


Viewing all articles
Browse latest Browse all 9146

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>