11-13-2015 12:58 PM
Hi experts,
I have a requirement to give a dynamic link in the body of email.
the dynamic link may look like http://okucis96.od.cssdom.com:8001/sap/bc/webdynpro/sap/bs_ovp_bp?CREQUEST=000000000737&CRTYPE=ZCUST...
I have this link in a variable of type String.
How can i put tis in <a href> tag.
I tried the below code. Its not working.
data : OV_URL type string.
**code to get dynamic link into OV_URL
CONCATENATE '<A HREF="&OV_URL&">' OV_URL '</A>' INTO LS_OBJ_CON.
APPEND LS_OBJ_CON TO LT_OBJ_CON.
Output will be a hyperlink but the link will be something like tis- saphtmlp://htmlviewer.sap.com/051Mei{P7jMYmAQBsfE7jG/&OV_URL&
Please suggest where im going wrong.
Thanks,
Kavya
11-13-2015 1:32 PM
Hi,
The mail body needs to be a text HTML.
What are you using to send the mail ?
The reason I am asking i because of this:
Wild guess
Try
CONCATENATE '<A HREF=' OV_URL '>' OV_URL '</A>' INTO LS_OBJ_CON.
Regards .
11-13-2015 1:32 PM
Hi,
The mail body needs to be a text HTML.
What are you using to send the mail ?
The reason I am asking i because of this:
Wild guess
Try
CONCATENATE '<A HREF=' OV_URL '>' OV_URL '</A>' INTO LS_OBJ_CON.
Regards .
11-16-2015 6:00 AM
Hi,
I used this.
CONCATENATE '<A HREF="' OV_URL '">' 'CLICK HERE' '</A>' INTO LS_OBJ_CON
Its working fine now.
Thanks,
Kavya.
11-16-2015 6:04 AM
11-16-2015 6:25 AM
Hi Kavya,
Can you please make this thread as answered; as you get the solution.
Thanks and Regards,
Venkata