Skip to Content
avatar image
Former Member

want to send email from cl_bcs which will open outlook screen before sending

Hi All,

I want to send email from cl_bcs class but before sending it should open Outlook screen such that i can edit my contents .

I didnt found any page which can help me all r showing how to send email which will not open outlook screen it will help to send email directly in back end.

Regard,

Rewati Raman

Add comment
10|10000 characters needed characters exceeded

  • What exactly would you edit that you cannot do programmatically? What is the business requirement?

  • Former Member

    Hi Jelena Perfiljeva,

    The requirement is like before sending the email i need to get the outlook screen which contain whole content ....in that contain i can edit some line ...

    Also i need to add some templates to the mails ..and template should filled with my data .

    The template should contain SAP header logo and some yellow background and lots of coloring i need to add.

    Regard,

    Rewati Raman

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Dec 01, 2016 at 01:40 PM

    CL_BCS is not suitable to open an outlook window. Instead, in creates emails directly, not touching outlook. If you really like to have outlook popping up, search for ABAP OLE integration for outlook. But be warned, thats neither easy nor nice. Also, you have to deal with the restrictive outlook security settings of different users.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 01, 2016 at 03:18 PM

    Hello,

    you can try method cl_bcs->short_message( ... ). It allows users to modify e-mail content before sending it.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 01, 2016 at 11:36 AM
    -1

    I hope not possible, I am not recommending to you than Develop a Zscreen, map the cl_bcs fields then send the Data. with Cl_bcs.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks NewB To Abap.

      I resolve my issue with SAP UI5 mailtrigger() method but i want to do this requirement from backend.

      The issue with UI5 is i can send only strings and maximum 2 Byte of data i can add as string.

  • Dec 01, 2016 at 02:28 PM

    Hi,

    Why not just use transaction S00 from there users can create and send emails from SAP

    Kind regards, Rob Dielemans

    Add comment
    10|10000 characters needed characters exceeded