12-07-2005 1:58 PM
hi!
i am working on an alv report.
instead of using the double double technique i would like to use a hyperlink.
how do i do it?
regards
yifat
12-07-2005 2:07 PM
Hot SPOT is Hyperlink in ALV.
SPecify in fieldcatalog of that field HOTSPOT = 'X'.
that will work like a link..
x_fieldcat-fieldname...
x_fieldcat-hotspot = 'X'.
regards
vijay
12-07-2005 2:08 PM
hi,
in the fieldcatalog , one option is there
it_fldcat-fldname-hotspot = 'X'.
this will make the hyperlin instead of double clicking
pls reward points if useful
12-07-2005 2:11 PM
u have to use the double technique to go to next screen. Even if u use HOTSPOT it just shows a hand cursor on that particular field. When u press the field with the hand cursor then it will go to the next screen. This is one way of double technique.
Hope, U have to either way use this technique.
Pl. award appropriate points if helpful.
12-07-2005 2:12 PM
hi!
i did it and got line under the field, but how do i get it to transaction iw53 for example?
regards
yifat
12-07-2005 2:18 PM
12-07-2005 3:03 PM
Hi,
You can use event hotspot_click.
in evenhandler .
Call Transaction IW53.
12-07-2005 3:23 PM
Hi Underline you will get in some GUI settings and you may not in some settings..
but it will work like as a hyperlink..
12-07-2005 2:13 PM
Hi Yifat,
Using Hotspot is a single Click only ..it acts like a Link..
Check it, please reward for helpful answers..
vijay
12-07-2005 6:29 PM
Hi
As others have mentioned , use hotspot = 'X' in fieldcatalogue.
Then you will have to handle it in the perform that you write for user command . This perform name should be passed to the CALLBACK USERCOMMAND parameter of you ALV fm. :
for user_command using p_ucomm type sy-ucomm
p_Selfld tyle slis_selfield.
CASE p_ucomm.
WHEN '&IC1'. "Double click
IF p_selfld-fieldname = 'Your fieldname'
w_pmnoteno = p_selfld-value.
Call transaction 'IW23' and skip first screen
endif.
ENDCASE.
endform.
-Kalidas
12-07-2005 7:05 PM
What method are you using, object oriented ALV or function module?
Srinivas