Skip to Content
0

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

Nov 28, 2016 at 01:54 PM

496

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded

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

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raymond Giuseppi
Nov 29, 2016 at 06:58 AM
2

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

Share
10 |10000 characters needed characters left characters exceeded
Sandra Rossi Nov 28, 2016 at 06:14 PM
1

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.

Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

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.

0

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

oze8o.png (1.2 kB)
1