Skip to Content
0
Former Member
Feb 05, 2008 at 11:53 AM

Send mail through CL_BCS class with normal priority

330 Views

Hello guys!!!

I'm trying to send email through CL_BCS class, and it's work fine!

But, always sent with high priority, and I need to send whith normal priority.

I tried this:

  DATA: o_send_request TYPE REF TO cl_bcs,
        o_document     TYPE REF TO cl_document_bcs.

  o_document = cl_document_bcs=>create_document(
                 i_type       = 'HTM'
                 i_text       = msgbody
                 i_subject    = subject
                 i_importance = '5' ).

And this:

  CALL METHOD o_send_request->send_request->setu_priority
    EXPORTING
      i_priority = o_send_request->cp_priority_normal.

Unfortunately, don't works.

Any idea?

Thanks!!!

Kleber S. Kiefer