format of data in text file attachment
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.