2009 Nov 12 9:52 AM
Hi ,
Please guid eme how to use Interactive ALV report using "set_table_for_first_display" .
I am trying to create Interactive ALV Report , i know the same procedure using REUSE_ALV_GRID_DISPLAY'.
But same things i have to create using OOPS concept .
Please give me Sample code .
Regards,
Sandeep
Hi ,
Please guid eme how to use Interactive ALV report using "set_table_for_first_display" .
I am trying to create Interactive ALV Report , i know the same procedure using REUSE_ALV_GRID_DISPLAY'.
But same things i have to create using OOPS concept .
Please give me Sample code .
Regards,
Sandeep
2009 Nov 12 9:57 AM
Hi,
For getting interactive reports using set_table_for_first_display
you have to define the local class for handling the events of hotspot click for cl_gui_grid_display.
After that before using the method set_table_for_first_display you have to set the event handler for the grid.
Then using this event you can navigate to the secondary list by getting the row id.
2009 Nov 12 10:00 AM
The steps are same for both oops and procedural methods -
1. Create layout/fieldcat
2. Enable the field " on which you need to have a second lists" as hotspot in fieldcat.
3. write the code to generate second list in the event subroutine.
2009 Nov 13 3:37 AM
Hi Sandeep, <li>Check the below link which will help you to develop double click event using OOPs <li><b><u>[Double click event - cl_gui_alv_grid|http://an-abaper.blogspot.com/2009/08/double-click-event-clguialvgrid.html]</u></b> Thanks Venkat.O
2010 Jun 28 11:51 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |