11-28-2016 1:54 PM
Hello Experts,
I have an input field in module pool screen.
The requirement is to make it hyperlink so that we user see the screen in display mode and take the cursor there and can click on that input field.
it should open the link in separate browser.
Can you please tell how can we achieve that.
Thanks
Mahesh
11-28-2016 6:14 PM
Already asked many times. It's called a "hotspot" field to make it "underlined" + the mouse icon becomes a hand when the mouse moves over the field. When it's clicked, it's like a double click (function code PICK). To open the link in web browser, use for instance cl_abap_browser=>show_url.
11-29-2016 5:49 AM
Hello Sandra,
Thanks for reply. I have an input field. Can you please tell how to make it hotspot? In the element list->display attribute I made checked the check box for respond to double click but no hand icon is coming when I put the cursor there.Thanks - Mahesh
11-29-2016 8:10 AM
My bad. See Raymond's answer for good answer. You might also use the HTML control to define the hyperlink, seems more natural than ABAP list and ALV grid.
11-29-2016 11:58 AM
If you make it an output field, you'll get a hand over the field :
11-29-2016 6:58 AM
AFAIK in SAP GUI only classic list and ALV allow for a true hotspot attrribute on a field (also of course embedded html) In screen dynpro you can only set the double-click sensitive attribute, even the online documentation named it 'hotspot', but that's not a true hotspot, so don't expect the hand icon, nor single click respond. So basically this is not possible. (Of course you could create an alv grid without header and only one field, one record, input enabled, or a small embedded html but IMHO it's not worth it...)
Regards,
Raymond
11-29-2016 1:29 PM
Did you ever see in any software an input field with a hyperlink? Hyperlinks are on output fields. Could you clarify?