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

former_member806481
Participant
0 Likes
4,817

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
Read only

Sandra_Rossi
Active Contributor
0 Likes
4,437

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
Read only

atharva21k51
Explorer
0 Likes
4,437

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

Read only

former_member751463
Participant
0 Likes
4,437

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.

Read only

0 Likes
4,437

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

Read only

0 Likes
4,437

* 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.

Read only

0 Likes
4,434

This is the error i am getting .

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

Read only

0 Likes
4,434

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

Read only

RaymondGiuseppi
Active Contributor
0 Likes
4,434

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)