Skip to Content


Jun 22, 2017 at 02:40 PM


avatar image

Dear all,

I tried to use SO_NEW_DOCUMENT_ATT_SEND_API1 to send email with attachment in a text file. However, each line forces to contain 255 characters, it will append some space to the line if not enough 255 characters. How to prevent that. Thanks

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Mike Pokraka Jun 22, 2017 at 03:12 PM

Please use the BCS classes, CL_DOCUMENT_BCS and friends. There is a ton of info here on SCN and demo programs in your systems.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

+1. Also every possible question about SO_NEW_DOCUMENT_ATT_SEND_API1 have already been answered on SCN when it was the thing over 10 years ago. But these days - just stop using it.


Thanks, I was searching for that blog when I posted my answer, couldn't find it.