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: 

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

Former Member
0 Kudos
1,272

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

former_member196331
Active Contributor
0 Kudos
146

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.

0 Kudos
146

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.

Former Member
146

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.

former_member186746
Active Contributor
0 Kudos
146

Hi,

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

Kind regards, Rob Dielemans

Tomas_Buryanek
Active Contributor
146

Hello,

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

-- Tomas --

Jelena
Active Contributor
0 Kudos
146

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

Former Member
146

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