Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to set priority (like outlook eamil) with ABAP, CL_BCS?

Former Member
0 Kudos

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

6 REPLIES 6

kesavadas_thekkillath
Active Contributor
0 Kudos

Check the method set_priority in class cl_bcs.


send->set_priority( i_priority = '1' ).  "1-->high priority

0 Kudos

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

0 Kudos

After some more investigation, I found this is the solution.

0 Kudos

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.

0 Kudos

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.

Former Member
0 Kudos

I am still not sure how to set the outlook like "reminder" with CL_BCS.