Application Development 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: 

Hyperlink to a variable in SO10

Former Member
0 Kudos

Hi Folks,

I tried to search but couldn't find any relevant answers to my query. So posting this thread.

I have a variable that holds email id i.e. &lv_email_id&. So when i run my smartform the text is printed as below -

Please pay remittance to mmishra@xyz.com

Now i want a hyperlink in my SO10 text and when i click on it this should go to outlook.

Any help or suggestions shall be highly appreciated. Struggle going on 🙂

Thanks much - Manas

8 REPLIES 8

Sandra_Rossi
Active Contributor
0 Kudos

Where does your smart form go, and in which format? (is it converted into an HTML form? In which application does it appear to the user?)

thanga_prakash
Active Contributor

Hi,

You can create Hyperlink in the smartform by using the tags <%W> and </>.

Also refer to the link below.

http://help.sap.com/saphelp_47x200/helpdata/en/03/7560eccf0d11d3b565006094192fe3/frameset.htm

Former Member
0 Kudos

Hi Sandra,

Its an correspondence smartform executed via a z-program and sends smartform output in PDF.

Let me know if you need any other info.

Thanks much,

Manas Mishra

Sandra_Rossi
Active Contributor

Thanks. So Thanga Prakash has given a correct answer:

<%W>mailto:mmishra@xyz.com</>

Former Member
0 Kudos

Hi Prakash,

Using <%W>&lv_email_id </> will only highlight the variable.

How can i click on that and it shall navigate to outlook.

Thanks,

Manas

0 Kudos

Hi Manas,

You have to use it as mailto: before the email address, like below.

<%W>mailto:mmishra@xyz.com</>

To navigate it to outlook, you have set default mail as outlook in the local machine as explained below based on the OS of your machine.

https://www.google.co.in/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=default%20mail%20to%2...

former_member203305
Active Contributor
0 Kudos

Hi, if you download the PDF file, the hyperlink is automatic for email or URL. I did like that and no problem

Regards

Former Member
0 Kudos

Hi Sandra,

Thanks for replying.

This is a correspondence smartform and called using program -

RFKORD10. This is converted to PDF and sent via email.

Please let me know if you need any other info.

Thanks much,

Manas