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: 

Read out ALV Data Table

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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