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: 

hotspot

Former Member
0 Kudos

hi to all,

can any one tell me....in interactive report im getting various reports one by one by double click on the current report....but i wanted to know how can i get the another report by clicking only from particulat column to column and particular row to row.....

i know select from one row and one column by using sy-cucol and sy-curow....how can i do with two or multiple rows and columns.

raju.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

To go to different reports based on where the user has clicked:


      read table notif_int index selfield-tabindex.
      check sy-subrc = 0.
      if sy-cucol >= 12 and
         sy-cucol <= 19 and not
         notif_int-service_order is initial.
        " Display Service Order
        set parameter: id 'ANR' field notif_int-service_order.
        call transaction 'IW33' and skip first screen.
      else.
        " Display Notification
        set parameter: id 'IQM' field notif_int-notification.
        call transaction 'IW53' and skip first screen.
      endif.

Rob

6 REPLIES 6

Vinod_Chandran
Active Contributor
0 Kudos

Hi Raju,

Use the HIDE statement when you write the list.

HIDE <var>.

E.g. HIDE W_NAME.

When you double click or click on this line the value of W_NAME will have the value from the selected line.

Cheers

Vinod

Lakshmant1
Active Contributor
0 Kudos

Hi Raju,

Have a look at demo programs

DEMO_LIST_GET_CURSOR

DEMO_LIST_SET_CURSOR_1

DEMO_LIST_SET_CURSOR_2

DEMO_LIST_SET_CURSOR_3

Thanks

Lakshman

Former Member
0 Kudos

Hi,

If you want to use hotspots with a single click, istead double click, use:

WRITE 'HOTSPOT' HOTSPOT.

Svetlin

Former Member
0 Kudos

U can enable the

HOTSPOT

option in the fieldcatalog for the particular column u want to highlight.

Former Member
0 Kudos

To go to different reports based on where the user has clicked:


      read table notif_int index selfield-tabindex.
      check sy-subrc = 0.
      if sy-cucol >= 12 and
         sy-cucol <= 19 and not
         notif_int-service_order is initial.
        " Display Service Order
        set parameter: id 'ANR' field notif_int-service_order.
        call transaction 'IW33' and skip first screen.
      else.
        " Display Notification
        set parameter: id 'IQM' field notif_int-notification.
        call transaction 'IW53' and skip first screen.
      endif.

Rob

Former Member
0 Kudos

Use Hide statement with the required fields.

Then u can achieve the required functionality.

check for sample programs like DEMO_LIST_GET_CURSOR etc.

satish