2008 Dec 10 10:31 AM
hi
How to create a hyperlink for the text in the SO10 object which will be send via mail to the user?
I am having text of 117 char for which hyperlink needs to be created.
I have to use this in the SO10 object.
However i can not paste a link in one single line as its to long.
It takes atleast 2 lines.
So link showed in mail having the hyperlink for first line only.
How to create a link for entire text of 2 lines.?
2008 Dec 10 11:55 AM
Hi,
use function READ_TEXT, with:
ID = id in SO10
LANGUAGE = language of text in SO10
NAME = name of object in SO10
OBJECT = 'TEXT' constant
2008 Dec 10 12:01 PM
with the = sign you can say that the lines continues in the next line in so10
you perhaps have to switch to the old editor for this . but with the new he should do it automaticaly as a long line
kind regards
arthur
2008 Dec 10 12:12 PM
Example:
you create text in SO10 this way:
Text name: Z_MY_TEXT
Text id: ST
Language: EN
and text:
"Text line 1
Text line 2 ok ok"
So, in your program, you have to put this code:
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'ST'
language = 'EN'
name = 'Z_MY_TEXT'
object = 'TEXT'
TABLES
lines = t_itab.
So, t_itab should have 2 lines:
- Text line 1
- Text line 2 ok ok
2009 Jan 29 5:25 PM
Hi Sam,
Could you please explain how did you solve this issue?
Thanks a lot!
Renu
2010 Mar 22 5:25 PM
Hi,
I have a similar requirement that i have mail content which has to be maintained in SO10 text.
In that text i have 5-6 hyper text links to be displayed.I never worked on this Hyperlinks in standard texts
Could you please let me know the procedure how to create Hyper texts in SO10.
Vijetha
2013 Jan 18 11:31 AM
Hi Vijetha,
Try using HTML script in your SO10 object, as follows :
e.g : -
To goto SAP Help Page <a href="http://www.help.sap.com">click here</a>.
This will open SAP Help Library.
Hope this will help u ...
2013 Jan 18 12:01 PM
Hi Amit,
Solution provided by you is working when the link length is one line but it is not working for more than one line
Eg: say link is https://......80 [80 characters long]
I will give <a href="https://...72 [in first line]
73..80">click here</a> [in second line]
I will get the output as 73...80">click here
But i want only CLICK HERE in my output..
Please suggest solution.
Thanks,
Kavya
2013 Jan 17 8:05 AM
Hi Samir,
Even i am facing the similar issue.
1st line has hyperlink but not the second line.
Can you please let me know the solution implemented.
Thanks,
Kavya
2014 May 26 7:13 AM
Hi Kavya,
Have you found solution for this, will you please share it.
Thanks In Advance,
P$G.
2014 May 26 7:31 AM
Hi Guys,
Just a suggestion, can't we use URL Shortener, where we provide the full length of URL and it gives us the short URL to be used further.
Try using one from Google. Google URL Shortener - goo.gl/
And that shorten URL we can use in creating hyperlink in SO10.
Hope that helps.
Regards,
Naveen
2023 Aug 04 2:07 PM
I suggest to check SAP Note: 2314637 - Long URL link from SO10 text is destroyed in email body