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

Sending mail using FM

Former Member
0 Likes
636

Please use a more meaningful subject in future

Hi Expert,

The requirement is to send mail with the subjet line having more than 100 character.

I am using FM 'SO_NEW_DOCUMENCT_SEND_API1'. It has import parameter DOCUMENT_DATA where we can maintain subject, but upto 50 char only .

What to do for sending mail with more than 50 char in the subject line???

Thanks in advance,

Reg,

Akhtar.

Edited by: Matt on Jul 13, 2009 12:52 PM

6 REPLIES 6
Read only

Former Member
0 Likes
602

hi

we can not have the subject line more than that.

regards

geeta gupta

Read only

GauthamV
Active Contributor
0 Likes
602

Use this.

class : CL_BCS.

Method : SET_MESSAGE_SUBJECT.

Read only

Former Member
0 Likes
602

Hi,

Check my reply here

Read only

venkat_o
Active Contributor
0 Likes
602

Hi Akthar, <li> Using SO_NEW_DOCUMENCT_SEND_API1 function module, not possible to set Subject more than 50 char. <lI> Instead you can use CL_BCS class to send mail. You can send same with what you want. <li> Demo programs on that class are BCS_EXAMPLE_n. Where n = 1 to 7. Thanks Venkat.O

Read only

saumya_govil
Active Contributor
0 Likes
602

Hi Akhtar,

Use class CL_BCS method SET_MESSAGE_SUBJECT to achieve this.

Regards,

Saumya

Read only

matt
Active Contributor
0 Likes
602

Please use a more meaningful subject in future