Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

format of data in text file attachment

Hi Experts,

I have created a program which send a mail to the user with a text fire attached. In the text file I want the format something like this:

this is the first line

this is the second line

this is the third line

The oupt put in the text file is appearing like this:

this is the first line this is the second line this is the third line

I have used the class attributes cl_abap_char_utilities=>CR_LF, cl_abap_char_utilities=>NEWLINE. to make some modifications. But it is not working.

IF I use the above class attributes and make the file format as XLS , it is working fine.

Any suggestions.

thanks

sankar

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question