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

Create hyperlinks on SAP GUI?

former_member382625
Participant
0 Likes
2,995

Hi,

Is it possible to create hyperlinks on SAP GUI using screen painter?

I am planning to do that but I do not find the right way to do it.

Thanks and Regards,

Neha

Hi,

Is it possible to create hyperlinks on SAP GUI using screen painter?

I am planning to do that but I do not find the right way to do it.

Thanks and Regards,

Neha

5 REPLIES 5
Read only

Read only

kakshat
Product and Topic Expert
Product and Topic Expert
0 Likes
1,074

Hi Neha,

Check the following thread - http://scn.sap.com/thread/879814 - for 's reply.

Read only

former_member382625
Participant
0 Likes
1,074

I was able to create a hyperlink by referring to the link http://scn.sap.com/thread/553026

It is a setting in the screen painter.

Now, I am trying to figure out how can I add the logic to open new screen on click of this link

Best Regards,

Neha

Read only

0 Likes
1,074

   CALL METHOD cl_gui_frontend_services=>execute
      EXPORTING
        document = 'www.google.com'   " Url needs to be opened
      EXCEPTIONS
        OTHERS   = 1.

Read only

0 Likes
1,074

Thanks. I was able to put hyperlink and clicking on it opens google now. But I want to add multiple links and open different screens on click. How do I distinguish which link has been clicked?

For buttons there is function code, is there anything similar for hyperlinks/ texts as well?

Best Regards,

Neha