Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Selecting rows in ALV Grid using Classes

Former Member
0 Likes
385

I am displaying the output in ALV grid format.

Now i am using cl_gui_alv_grid->Get_selected_ROWS to get the row index selected by User and on clicking a button it will take us to another screen which will hold the values of the selected row.

Problem Faced: But when we again go back to the first screen and select another row or same rows and click this button the selected rows index remains initial, that value is not getting captured.

I cleared the parameters and refershed grid also.

But the problem is not yet solved.

Please Give me the solution.

Regards,

Balaji.

2 REPLIES 2
Read only

Former Member
0 Likes
341

Hi,

Just check in debug mode if u r getting the correct index ...

Read only

0 Likes
341

Hi Lavanya,

I did debugging also.

First time Get_Selected_rows is working fine.

But Second time it is failed.