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

Hyperlink

Former Member
0 Likes
957

I want to output a HYPERLINK to the Enduser when they run a Script, based on the input they give the HYPERLINK will be varied.

Whether it is possible in ABAP? Whats the syntax to achieve the above task.

Thanks.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
898

<i>I want to output a HYPERLINK to the Enduser when they run a <b>Script</b></i>

A sapscript form?

If so, sapscript forms are not interactive, so it is not possible.

You can however achieve this in a ABAP list display and a custom dynpro.

Regards,

Rich Heilman

6 REPLIES 6
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
899

<i>I want to output a HYPERLINK to the Enduser when they run a <b>Script</b></i>

A sapscript form?

If so, sapscript forms are not interactive, so it is not possible.

You can however achieve this in a ABAP list display and a custom dynpro.

Regards,

Rich Heilman

Read only

0 Likes
898

hi,

we cannot insert Hyperlink in SAP Script as the enduser cannot establish an interaction with the script output once he loses the control however it is possible to put the same for ALV's and report here is the link which gives you an idea as how it can be done '

Regards,

Santosh

Read only

0 Likes
898

Thanks Rich. I want to achieve this thru ABAP.

How to do that? and what is the SYNTAX?

Thanks.

Read only

0 Likes
897

hi Rohini,

I guess it is not possible to do that way with ABAP relating to SAP Scripts ...

Read only

0 Likes
897

Here is a sample program of how it can be done within an ABAP list display.



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.

Regards,

Rich Heilman

Read only

0 Likes
897

IN simple terms, in my ABAP Report program I want to do

Write: 'Please Click the hyperlink ', www.google.com.

I want to make www.google.com as a Hyperlink.

Thanks.