SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating email attachment with > 255 char per record

Former Member
0 Kudos
114

Hi,

We want to generate an email with excel attachment through ABAP program. To do the same, we are trying to use FM 'SO_DOCUMENT_SEND_API1'.

It looks like it only allows 255 characters per record however we want include upto 700 chracters per record. Does anyone know a way out to overcome this problem?

Note - We do not want to wrap the text to next line.

Thank you

1 REPLY 1

Former Member
0 Kudos
85

Hi:

I would advice to make the copy of this function module SO_DOCUMENT_SEND_API1 and change the packing_list-doc_size = '700'..

Hopefully it would be helpful to solve the problem.

Regards

Shashi