02-06-2008 9:27 PM
Hi Folks.
In a BAdI I have the reference of a ALV-Object (CL_GUI_ALV_GRID), which is shown on the screen. I know only this reference, there is no other information and I have no access to the programm data.
Now I want to read the whole content of the data table of this ALV-Object. The method get_selected_cells give me the selected cells but only from single selected cells. The other methods get selected* export only the index but not the content of the cell.
Does anybody know a way to read all datas, no matter which cells are selected?
Thanks for your help.
02-07-2008 8:26 AM
See somewhere if you can find a call to method set_table_for_first_display. Two parameters are the field catalog and the data table it_outtab.
If you can get this table into say a field symbol you should then be able to manipulate it in your application.
A break-point in your Badi might help to find where the display is coming from.
Cheers
jimbo