on 06-14-2011 11:37 AM
Hi All,
We need to insert an URL in the email body for emails being sent out using workflow. Issue is that the URL is around 210 characters long. This gets truncated to 80 characters whenever the email is sent out. I found few notes related to this problem , however seems like most of them provide a solution to accommodate max length of URL as 132 characters, not longer than this.
We are already considering the following options --
1. Breaking up of actual URL into smaller pieces and displaying it as different variables in the email body
2. Using an alias in SICF
Is there any other workaround solution to this problem ?
thanks-
Harmeet.
Edited by: Harmeet Singh on Jun 14, 2011 4:08 PM
we used 3 different variables , broke the original URL into 3 pieces, and displayed them .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please use the follwoing FM in a task-mehtod to send mail.
CONCATENATE '<A HREF=' lv_link '>'
INTO ls_text.
APPEND ls_text TO lt_text.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = ls_document_data
document_type = 'HTM'
put_in_outbox = 'X'
commit_work = 'X'
TABLES
object_content = lt_text
receivers = lt_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Where lv_link is the varibale wihich holds thlink more than 132 charecters.
Thanks and regards,
SNJY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi-
Alternatively you can use class- CL_BCS to send email. This will work, i have used this
Vinoth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.