Skip to Content
avatar image
Former Member

Send TXT file by fm : SO_NEW_DOCUMENT_ATT_SEND_API1

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Aug 23, 2017 at 02:09 PM

    Or use the slightly more modern CL_BCS* classes.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 23, 2017 at 01:24 PM

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

    line && |\n|. 

    ?

    Add comment
    10|10000 characters needed characters exceeded