Application Development and Automation 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: 
Read only

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

Former Member
0 Kudos
1,580

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

7 REPLIES 7
Read only

former_member196331
Active Contributor
0 Kudos
454

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.

Read only

0 Kudos
454

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.

Read only

Former Member
454

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.

Read only

former_member186746
Active Contributor
0 Kudos
454

Hi,

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

Kind regards, Rob Dielemans

Read only

Tomas_Buryanek
Product and Topic Expert
Product and Topic Expert
454

Hello,

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

-- Tomas --
Read only

Jelena_Perfiljeva
Active Contributor
0 Kudos
454

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

Read only

Former Member
454

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