cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert a hyperlink in mail content for workflow

Former Member
0 Kudos

Experts,

I want to insert a hyperlink in mail content when i use sendmail type step in workflow.

How to do it?

Thanks you very much!

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

Switch on to the Graphical Editor ie: GOTO ---> change editor.

Line Type: "/="

Line Text: <a href = "&URL&">CLick here </a>

Its temperamental, if "/=" doesnt work then use "/", but the thing in using "/" is it cuts the URL after 60 chars or so.

Hope this will help you.

Regards,

Dhanalakshmi L

Former Member
0 Kudos

Hi,

Switch on to the Graphical Editor ie: GOTO ---> change editor.

Line Type: "/="

Line Text: <a href = "&URL&">CLick here </a>

Its temperamental, if "/=" doesnt work then use "/", but the thing in using "/" is it cuts the URL after 60 chars or so.

Hope this will help you.

Regards,

Dhanalakshmi L

Former Member
0 Kudos

Hi,

Switch on to the Graphical Editor ie: GOTO ---> change editor.

Line Type: "/="

Line Text: <a href = "&URL&">CLick here </a>

Its temperamental, if "/=" doesnt work then use "/", but the thing in using "/" is it cuts the URL after 60 chars or so.

Hope this will help you.

Regards,

Dhanalakshmi L

Former Member
0 Kudos

Hi,

Please follow the below link

Create a WF container element to hold the value of URL and pass it to the task level, Type name CFX_HYPERLINK.

Please search on saptechnical for more details.

Regards,

Manish

Former Member
0 Kudos

Hi Manish

I don't find the type CFX_HYPERLINK in sap dictionary.

Ken.Li

venkat_o
Active Contributor
0 Kudos

Hi Ken, You can use Anchor tag like below


     w_body_msg = '<a href=''https://login.yahoo.com/config/login_verify2?&.src=ym''>Yahoo mail</a>'.
     APPEND w_body_msg TO i_body_msg.
     CLEAR  w_body_msg.
Thanks Venkat.O

Former Member
0 Kudos

Hi, Venkat

Thanks you for your help!

I try to use '<a href=''https://login.yahoo.com/config/login_verify2?&.src=ym''>Yahoo mail</a>' in the mail, but

my outlook display the mail content is '<a href=''https://login.yahoo.com/config/login_verify2?&.src=ym''>Yahoo mail</a>',

is not a hyperlink.

Ken.Li