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: 

Urgent, how to send a mail from SAP with subject line more than 50 chars

Former Member
0 Kudos

Hi,

Will u please tell me how to send an email from SAP with subject line > 50 chars. I have used the function module SO_NEW_DOCUMENT_ATT_SEND_API1 for sending mail.

In this FM DOCUMENT_DATA with structure SODOCCHGI1

has a field SO_OBJ_DES with length 50 chars. If possible please send me sample code.

Regards,

Praba.

4 REPLIES 4

former_member188685
Active Contributor
0 Kudos

I think subject line will be maximum of 50 chars if you use that FM.

Regards

vijay

0 Kudos

Hi,

Is there anyother way to send a mail with subject line > 50 chars. I have to send a mail from SAP only with subject line > 50 chars.

Thanks,

Praba.

0 Kudos

Hi,

may be you can copy the FM to your own FM and try modify the parameters. may be that can solve your problem.

where ever you find the SO_OBJ_DES.

that is one possible solution.but you need to copy and modify.

Regards

vijay

Former Member
0 Kudos

Prabavathi,

I am having the same issue. I'm curious to know if you ever found a solution. I looked into copying the function module and changing the parameters, but there are numerous FM's associated with this process. It would take forever to change them all. I'd appreciate knowing how you handled this issue.

Thank You!

Dionne