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 for multiple variables in SO10 text

former_member806481
Participant
0 Kudos

https://&LS_HOST-FQHOSTNAME&:&LS_HOST-PORT&/sap/bc/ui2/flp#ZME28-manage?

sap-client=&SY-MANDT&&LV_FIORI&&LV_LANGU&#&PR_ID&

I have the above text written in SO10 text is there any way i can make it as hyper link

example :

It should be displayed as (APPROVAL) and on clicking it should open the above link in google chrome

8 REPLIES 8

Sandra_Rossi
Active Contributor
0 Kudos

So you have a "https..." text in your Standard Text, but it's not sufficient to make SAP consider it's an hyperlink. It will just be a text. Where do you display/print this Standard Text?

You may search the forum/SAP Web site with your favorite Web search engine. I see many answers for search below. Based on the results, if it still doesn't solve, you may anyway refine your query/provide more information.

"standard text" "hyperlink" site:sap.com

atharva21k
Explorer
0 Kudos

I am displaying this link in an email

All i want to know is how do I write the variables in this text .......... between double quotes or single quotes

former_member751463
Participant
0 Kudos

Hi,

Try the below code below. Pass the URL value from the calling program.

 '<a href= &&URL&&   > APPROVAL </a>' 
URL = https://&LS_HOST-FQHOSTNAME&:&LS_HOST-PORT&/sap/bc/ui2/flp#ZME28-manage?sap-client=&SY-MANDT&&LV_FIO...

Thanks,

Aditya.

0 Kudos

it says that </a> character unknown (error)

0 Kudos

* xxxxx Text xxxx <a href= <URL> > APPROVAL </a> Text

Send me the screenshot of error and the format should be as per above. I am using you are reading the SO10 text in your code and then replacing the URL value after reading it.

0 Kudos

This is the error i am getting .

Also sorry for giving the wrong information i am creating this text as a DIALOG TEXT (SE61).

0 Kudos

ALSO IF I COULD TELL ME THAT HOW CAN I HARDCODE IT IN THE CODE .....I WILL TRY BOTH WAYS

raymond_giuseppi
Active Contributor
0 Kudos

Keep using variables in the SO10 text, but evaluate those before adding the text to the mail main html text (e.g. FM READ_TEXT followed by TEXT_CONTROL_REPLACE, eventually also TEXT_SYMBOL_REPLACE)