2005 Sep 21 8:43 AM
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.
2005 Sep 21 2:45 PM
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
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.
2005 Sep 21 8:51 AM
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
2005 Sep 21 8:54 AM
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
2005 Sep 21 8:58 AM
Hi,
If you want to use hotspots with a single click, istead double click, use:
WRITE 'HOTSPOT' HOTSPOT.
Svetlin
2005 Sep 21 9:23 AM
U can enable the
HOTSPOToption in the fieldcatalog for the particular column u want to highlight.
2005 Sep 21 2:45 PM
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
2005 Sep 21 4:37 PM
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
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |