05-13-2011 7:08 AM
Hi,
I tried to set_priority function in CL_BCS, and it doesn't work as I expected. I'd like it to be the same behavior as the email in outlook, which can see as 'High Priority'. How can I get the effect with ABAP?
In addition, is it possible to set a reminder (same as outlook email) for email in ABAP?
Thanks,
Miao
05-13-2011 8:50 AM
Check the method set_priority in class cl_bcs.
send->set_priority( i_priority = '1' ). "1-->high priority
05-13-2011 9:05 AM
Thanks Keshav.
However, it doesn't work.
send->set_priority( i_priority = '1' ). "1-->high priority.
I Googled it and find the following "solution".
Set the importance of the document, like the following:
l_document->set_importance( i_importance = '1' ).
call method l_send_request->set_document( l_document ).
The email will become high importance, because of the document is high importance.
I don't know why CL_BCS works like the strange behavior?
Best regards,
Miao
05-13-2011 9:19 AM
05-13-2011 9:23 AM
Thanks Miao .. Im glad you got the solution
I am still not sure how to set the outlook like "reminder" with CL_BCS.
You can try with Work Flow to acheive this.
05-23-2011 8:01 AM
Thanks.
I think the Work Flow can solve the issue.
However, since the framework of workflow is too heavy for our scenario, the initial idea is to try to replace workflow with simple email notification.
05-13-2011 9:20 AM
I am still not sure how to set the outlook like "reminder" with CL_BCS.