Application Development 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: 

Alv

Former Member
0 Kudos

Hi all ,

On double click on the ALV grid , i want to read that row where clicked,

As the internal can be altered by sort or some other function , is it possible to read the same itab passed while calling the diplay method?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

SK,

Probably you should take care that the internal table is not altered in any place else. When you read the internal table data that has been selected, what it gives you is the row id no., you use that to read the original internal table and get the row selected. If you are looking for an internal table that is used by ALV Grid, there is none.

Regards,

Ravi

Note : Please reward the helpful answers.

4 REPLIES 4

Former Member
0 Kudos

SK,

Probably you should take care that the internal table is not altered in any place else. When you read the internal table data that has been selected, what it gives you is the row id no., you use that to read the original internal table and get the row selected. If you are looking for an internal table that is used by ALV Grid, there is none.

Regards,

Ravi

Note : Please reward the helpful answers.

Former Member
0 Kudos

Hi Ravi ,I want to read the read all the column info and the contents when the double click is trigered.

It may not be true if i rad the original itab, as it may alterd by a sort etc..

I want this column info , and contents passed to the program to use in a call transaction statement ( I may not use all column info for this though )

0 Kudos

SK,

What you said is partially true. I can't find a scenario that you have a report and you don't have a control over the contents of you ITAB. Can you exlain a little more.

If you look at the Double Click event, it gives you back the Row no (E_ROW) and Column Name (E_COLUMN) on which the Double click has happened.

Regards,

Ravi

Note : Please reward the useful posts.

Former Member
0 Kudos

tHANKS,iTS OVER .mY STUPIDITY