‎2009 Sep 03 10:33 AM
Hi All,
I want to make a field in the custom screen is to be hyperlink enabled.
If user click on this field then an external website will be opened.
How to achieve this?
‎2009 Sep 03 10:45 AM
Hi,
For creating hyperlink in a module pool program ....
u can either create an alv list in that u can make a col or a field of the table a hyperlink
and call FM CALL_BROWSER
for that u need to use structure LVC_S_HYPE like u use for creating field catalog....
where u can pass the component HREF of LVC_S_HYPE to the field...
or check out the following wiki
[https://wiki.sdn.sap.com/wiki/display/ABAP/HYPERLINKinALV]
Hope u got the idea ...
Best of Luck !!!
Regards
Ravi
‎2009 Sep 03 10:45 AM
Hi,
For creating hyperlink in a module pool program ....
u can either create an alv list in that u can make a col or a field of the table a hyperlink
and call FM CALL_BROWSER
for that u need to use structure LVC_S_HYPE like u use for creating field catalog....
where u can pass the component HREF of LVC_S_HYPE to the field...
or check out the following wiki
[https://wiki.sdn.sap.com/wiki/display/ABAP/HYPERLINKinALV]
Hope u got the idea ...
Best of Luck !!!
Regards
Ravi
‎2009 Sep 08 5:34 AM
Hi,
In PBO, Create the Hotspot on the filed on which you wants to create hyperlink. In case if it is a button, you just have to add afunction code to it.
In PAI, check for the sy-ucomm or ok-code and call FM CALL_BROWSER accordingly, for example,
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
URL = 'www.sdn.sap.com '
Regards,
Rajneesh
‎2009 Sep 08 9:56 AM
Hi All,
Thanks to both of you.
I am able to create a list box and open URL from my custom screen.
‎2009 Dec 22 9:38 AM
I am trying to open a website from a subscreen text field . I have set GUI Status with function code 'PICK' for F2 . The function module CALL_BROWSER is called at the PAI of the screen . But it is not working . When I am clicking on the text field with hyperlink,which I have brought by checking the ' Response to double click ' .,the cursor returns back to the first input field of the main screen.Pls advise.