Skip to Content
0

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

Dec 01, 2016 at 11:29 AM

450

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded

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

0
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

0
* Please Login or Register to Answer, Follow or Comment.

4 Answers

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

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.

Share
10 |10000 characters needed characters left characters exceeded
Tomas Buryanek Dec 01, 2016 at 03:18 PM
1

Hello,

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

Share
10 |10000 characters needed characters left characters exceeded
Kali Charan 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.

Show 1 Share
10 |10000 characters needed characters left 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.

0
Rob Dielemans Dec 01, 2016 at 02:28 PM
0

Hi,

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

Kind regards, Rob Dielemans

Share
10 |10000 characters needed characters left characters exceeded