on 05-03-2012 2:12 AM
HI Experts,
I have a requirement where I have to send email notification with only a simple specific body but the issue is that I need to send it as a 'TASK' in the recipients mailbox. And i dont need any attachment with the email.
Im using this FM -
What changes do i have to do to this FM so that I am able to send it as a task in the users outlook.
call function 'SO_DOCUMENT_SEND_API1'
exporting
document_data = gd_doc_data
put_in_outbox = 'X'
* SENDER_ADDRESS = SY-UNAME
* SENDER_ADDRESS_TYPE = 'B'
commit_work = 'X'
* IMPORTING
* SENT_TO_ALL =
* NEW_OBJECT_ID =
* SENDER_ID =
tables
packing_list = it_packing_list
* OBJECT_HEADER =
* contents_bin = it_attachment
contents_txt = it_message
* CONTENTS_HEX =
* OBJECT_PARA =
* OBJECT_PARB =
receivers = it_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
.
if sy-subrc = 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
SUBMIT rsconn01 WITH mode = 'INT'
AND RETURN.
endif.
Hi,
If you want to go ahead with workflows please follow the link. It might help
http://technet.microsoft.com/en-us/library/gg998764.aspx
Regards,
Sayan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Bhaumik,
Can you explain us bit more on the scenario. You can send a mail to outlook using ABAP Class. But what is the need here to act that as a TASK. Are you going to have any actions which will take place in that task. If So, why can't you create a simple workflow with Mail and Activity Step for handling the task and sending mail.
Regards
Nizamudeen SM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Rather than attaching a task in the email why don't you trigger a workflow which will take care of it.
Regards,
Sayan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.