on 06-25-2009 1:40 PM
Hi Experts,
My requirement is to send a email with few lines of text to the body of the email along with the smartform.
As of now I can able to pass the subject line(SSFCOMPOP-TDTITLE) of the email. But I couldn't find a option to pass the body of the email
Can you throw light on how a body can be passed to the email when it is generated through a smartform.
Thanks & Regards,
Arun.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi arun,
data :
w_msg type i, " Message length
data:
t_message type standard table
of solisti1
with header line.
*" Body of the mail..................................................
clear t_message. refresh t_message.
t_message = 'This is a test mail'.
append t_message.
t_message = 'Thanks and Regards'.
append t_message.
t_message = 'Sravanthi'.
append t_message.
describe table t_message lines w_msg.
call function 'SO_DOCUMENT_SEND_API1'
exporting
document_data = w_docdata
put_in_outbox = 'X'
sender_address = w_sender
commit_work = 'X'
tables
packing_list = t_packing_list
contents_bin = t_objbin
contents_txt = t_message --> Pass the internal table here
receivers = t_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.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sravanthi,
Thanks for your reply.
But my requirement is little different.
When the smartform function module is called in that itself you can send a email to the concerned people. There is a option to give a subject line for the email, but doesn't have a option for body of the mail.
My question Is there any ways to populate the body of the email while calling the smartform function module.
Hope you understood my question.
Thanks & Regards,
Arun.
User | Count |
---|---|
80 | |
24 | |
12 | |
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.