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 in email body using SO10 text

Bharath84
Participant
0 Likes
3,015

Hi All,


I have created a standard text in SO10 which contains the email body text. In this text I have given &GV_URL&. In my program I have called READ_TEXT and TEXT_SYMBOL_REPLACE.
GV_URL Contains
<a href=https://something.aaa.jhjahd.sdf:9898/sap/bc/gui/sap/its/webgui/?sap-client=100~transaction=ZTEST">Click Here</a><BR>.

But ">Click Here</a><BR> is getting truncated in LT_LINES after TEXT_SYMBOL_REPLACE.

CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = lt_mailsubject
TABLES
object_content = lt_mailtxt
receivers = lt_mailrecipients.

I am not getting Click Here as hyperlink. Please let me know where I am missing.

Thanks,
HT

Hi All,


I have created a standard text in SO10 which contains the email body text. In this text I have given &GV_URL&. In my program I have called READ_TEXT and TEXT_SYMBOL_REPLACE.
GV_URL Contains
<a href=https://something.aaa.jhjahd.sdf:9898/sap/bc/gui/sap/its/webgui/?sap-client=100~transaction=ZTEST">Click Here</a><BR>.

But ">Click Here</a><BR> is getting truncated in LT_LINES after TEXT_SYMBOL_REPLACE.

CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = lt_mailsubject
TABLES
object_content = lt_mailtxt
receivers = lt_mailrecipients.

I am not getting Click Here as hyperlink. Please let me know where I am missing.

Thanks,
HT

1 REPLY 1
Read only

Former Member
1,593

Hi,

Please check this thread on using CL_BCS and CL_DOCUMENT_BCS.

https://archive.sap.com/discussions/thread/1271220

Kind regards, Rob Dielemans