on 12-09-2012 11:26 AM
Hi,
I have a requirement, in which I need to send the hyperlink in a Email for displaying the CRM quotation document.
I have pasted the link like this <A href="googlehttp://www.google.com">google</A> in Send Mail activity.
My requirement is only google should appear in the Email and when the user clicks on that it should open the link www.google.com.
I am able to see google as per my requirement and able to open the link from SOST but in Email it appears as <A href="googlehttp://www.google.com">google</A>.
Please suggest how can I format this URL.
I don't want to write the logic using SO_NEW_DOCUMENT_ATT_SEND_API1 FM, I want to use only standard Send Mail acitvity.
Regards,
Rajesh Akarte
Hello Rajesh !
Change the format as follows :
<A HREF="http://www.google.com">
</A>
Regards,
S.Suresh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh,
.
Thanks for the reply. But is not the solution. I have tried to do the following thing and upto certain exten it worked.
I have maintained the Output format for RAW text as HTM in SCOT transaction.
Now the format is coming correctly. But now new problem arised. Complete mail is coming in one line.
any clue.
Hi,
I have finish this requirement and have followed below process to to achieve this.
Mail IN HTML with Hyperlink
1. Mail sent by send mail activity is in text format.
SCOT setting should be maintained for converting the RAW text to HTM format.
Procedure to maintain the above setting is as below.
i. Go the transaction SCOT and click on SMTP.
ii. Click on SET button opposite to Internet.
iii. Select drop down entry as HTM for RAW text.
iv. If HTM option is not available in the drop down list then, maintain the entry for this in the table SXCONVERT2.
v. Save and come out of the transaction.
2. Above setting in SCOT will convert the text mail into HTML, but it will come in a single line.
To do the alignment we write the complete mail in send mail activity in HTML format.
Open the sap script editor for writing the mail .
i.e.
* <html>
* <body>
* Hi,<(><<)>br>
* <(><<)>br>
* Please Approve the Quotation "ATION.OBJECT_ID& .<(><<)>br>
*
* &HYPERLINK1&
= &HYPERLINK2&
= &HYPERLINK3&
= &HYPERLINK4&<(><<)>br>
* <(><<)>br>
* Regards<(><<)>br>
* System Admin<(><<)>br>
* <(><<)>br>
* </body>
* </html>
&HYPERLINK1& 2,3 and 4 are variables which contains the weblink for displaying the quotation.
Hyperlink I had to display contained more that 255 chars so I divided the address into 4 variables each variable has the length 72.
For displaying the hyperlink in a mail as only one text use the format as below
<a href="www.google.com">Google</a>
This way we can send the hyperlink through send mail activity.
I hope it will solve many peoples problem.
Regards,
Rajesh Akarte
Hi Rajesh,
We have created a webdynpro application which creates costcenter.when i click on submit button it should trigger work flow with a mail, which contains the url of application.For that i am using the FM SAP_WAPI_CREATE_EVENT and passing url through the input container.But in work flow i am not getting the URL value which i passed.can u please tell me what would be the issue.
Thanks
Naresh
Hi Naresh,
Check the below link for, it may help.
http://beepdf.com/doc/104680/complete_guide_for_events_in_workflows_in_sap_ecc_6_0.html
If it doesn't help then, let me know how r u passing the value to the container.
Hi Rajesh,
I followed your steps but the HTML tags still got displayed.
And my link that are less than 100 characters still gets truncated.
What might went wrong?
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
I need an urgent help from you. This is about your reply in SDN.
I need to display hyperlink in email.
But I got hyperlink as below.
I have seen your reply for the hyperlink issue in
Then I added new value 'HTM' to the table SXCONVERT2
But I am getting error message in SOST
when i changed the RAW TYPE to HTM in SCOT.
Coding relevant to hyperlink
But In SOST, hyperlink is working successfully.
I dont know the reason why mail is not getting triggered now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.