01-17-2006 2:46 AM
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?
01-17-2006 3:00 AM
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.
01-17-2006 3:00 AM
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.
01-17-2006 3:27 AM
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 )
01-17-2006 3:42 AM
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.
01-17-2006 3:45 AM