Application Development and Automation 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: 
Read only

function module for hyperlink

Former Member
0 Likes
1,434

function module for hyperlink

6 REPLIES 6
Read only

Former Member
0 Likes
983

Hi

U should use the option HOTSPOT, but you should explain what you exactly need to do.

Max

Read only

Former Member
0 Likes
983

check the below ones...

SIMO_OBJECT_EDIT

SIMO_OBJECT_SHOW

SIMO_OBJECT_TITLE

DSYS_OUTLINE_OBJECTS

DSYS_SHOW_FOR_F1HELP

SIMO_OBJECT_SHOWX

SIMO_OBJECT_TITLEX

V80P_PAOBJ_SETZEN

Read only

Former Member
Read only

Former Member
0 Likes
983

Hi shilpa,

It is possible with the GUI function modules.

You can call GUI_RUN Function module with

Command as IEXPLORE.EXE and parameter as WWW.GOOGLE.COM, it will work.

regards,

keerthi

Read only

ferry_lianto
Active Contributor
0 Likes
983

Hi Shilpa,

In addition to Max's suggestion, please check this sample program from other thread.

report zrich_0001.
 
data: begin of itab occurs 0,
      url(1000) type c,
      end of itab.
 
itab-url  = 'http:\www.sap.com'.  append itab.
itab-url  = 'http:\help.sap.com'.  append itab.
itab-url  = 'http:\www.sdn.sap.com'.  append itab.
itab-url  = 'http:\www.bpx.sap.com'.  append itab.
 
loop at itab.
  format hotspot on.
  write:/ itab-url.
  hide itab-url.
  format hotspot off.
 
endloop.
 
at line-selection.
 
  data: url type string.
 
  url = itab-url.
  call method cl_gui_frontend_services=>execute
    exporting
      document = url.

Hope this will help.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
983

REPORT zkb_test.

DATA: v_string TYPE string VALUE 'http://sap.com'.

START-OF-SELECTION.

WRITE / v_string HOTSPOT ON.

AT LINE-SELECTION.

CALL FUNCTION 'CALL_BROWSER'

EXPORTING

url = 'http://sap.com'

EXCEPTIONS

frontend_not_supported = 1

frontend_error = 2

prog_not_found = 3

no_batch = 4

unspecified_error = 5

OTHERS = 6.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

Regards

Kathirvel