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: 

ALV display Hotspot

0 Kudos

Hello Guys,

I need a hotspot in my alv on workplace. I am using alv display output like this.

How can i do it easy?


DATA gr_table TYPE REF TO cl_salv_table.
DATA: gr_display TYPE REF TO cl_salv_display_settings.
DATA: gr_columns TYPE REF TO cl_salv_columns_table.
DATA: gr_column TYPE REF TO cl_salv_column_table.

cl_salv_table=>factory(
IMPORTING
r_salv_table = gr_table
CHANGING
t_table = lt_alv2 ).

gr_table->get_columns( )->get( ).
gr_table->get_functions( )->set_all( abap_true ).

gr_columns = gr_table->get_columns( ).

gr_table->display( ).

5 REPLIES 5

mateuszadamus
Active Contributor

Hello elena222

http://zevolving.com/2008/09/salv-table-8-add-handle-hotspot/

Google is your friend. 😉

Kind regards,
Mateusz

0 Kudos

thank you ;D Is it possible to do it without a class?

0 Kudos

No. You need a class to handle the raised event.


Kind regards,
Mateusz

raymond_giuseppi
Active Contributor
0 Kudos

You can also find some samples in the forum wiki (click on link)

NB: but they require a local class definition to handle the click event (and more)

Sandra_Rossi
Active Contributor
0 Kudos

Please search the Web, lots of answers:

cl_salv_table hotspot site:sap.com