on 09-30-2008 8:00 AM
Hi,
I need to pass the organization email_id into the smartfrom.I findout that there are three parameter in the interface mail_sended ,mail_reciepient and mail_Appobj .I guess i have to use one of them but not know via which one i have to do that.
please anyone can guide me in this ?
Prem.
Hi ,
In the form interface they have parameter for the mail sender.
But i didn't see use of these parameter.Already there are parameter given.I just wanted to know how i should used that.
Please in respect to these field give the answer
Anyways thanks you tried for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi prem kumar,
data:
t_receivers type table of somlreci1
with header line.
if p_mail eq 'X'.
clear t_receivers.
t_receivers-receiver = p_mailid.
t_receivers-rec_type = 'U'.
append t_receivers.
elseif p_fax eq 'X'.
clear t_receivers.
t_receivers-receiver = p_faxno.
t_receivers-rec_type = 'F'.
t_receivers-com_type = 'FAX'.
append t_receivers.
endif. " IF P_MAIL EQ 'X'
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
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.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.