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: 

Hyperlink creation for an input field in screen in module pool screen

mahesh_jagnani
Participant
0 Kudos

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

6 REPLIES 6

Sandra_Rossi
Active Contributor

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.

0 Kudos

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

0 Kudos

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.

If you make it an output field, you'll get a hand over the field :

raymond_giuseppi
Active Contributor

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

Sandra_Rossi
Active Contributor
0 Kudos

Did you ever see in any software an input field with a hyperlink? Hyperlinks are on output fields. Could you clarify?