Skip to Content
0

Send TXT file by fm : SO_NEW_DOCUMENT_ATT_SEND_API1

Aug 23, 2017 at 01:00 PM

59

avatar image
Former Member

I want to sent TXT file as a mail attachement, I am using

SO_NEW_DOCUMENT_ATT_SEND_API1

where I am passing my internal table (to be send in mail attachmnet )

Tables

contents_bin = dwn

dwn is of type : dwn LIKE solisti1

Suppose dwn contains

1 ABC Hello

2 XYZ World

currently MY o/p in mail comes

1 ABC hello 2 XYZ World

But I want in same format as as seen in table dwn

1 ABC Hello

2 XYZ World

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

2 Answers

Mike Pokraka Aug 23, 2017 at 02:09 PM
0

Or use the slightly more modern CL_BCS* classes.

Share
10 |10000 characters needed characters left characters exceeded
Horst Keller
Aug 23, 2017 at 01:24 PM
0

Add a line break to each line, e.g. via

line && |\n|. 

?

Share
10 |10000 characters needed characters left characters exceeded