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

Interactive Report using set_table_for_first_display

Former Member
0 Likes
642

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

4 REPLIES 4
Read only

Former Member
0 Likes
468

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.

Read only

Former Member
0 Likes
468

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.

Read only

venkat_o
Active Contributor
0 Likes
468

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

Read only

Former Member
0 Likes
468

Thanks