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

Alv

Former Member
0 Likes
671

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
Read only

Former Member
0 Likes
649

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.

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?

4 REPLIES 4
Read only

Former Member
0 Likes
650

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.

Read only

Former Member
0 Likes
649

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 )

Read only

0 Likes
649

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.

Read only

Former Member
0 Likes
649

tHANKS,iTS OVER .mY STUPIDITY