Skip to Content
0
Former Member
Feb 18, 2009 at 10:04 PM

Attachment format ( Sending thru external email from ABAP program)

30 Views

Hi everybody,

I am using this function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send out the text file as attachment to Lotus Notes email.

I received the email with the text file.

But the format of the text file is not what user require. The text file format should be :

Header line

column1 | column2

Item Detail

column1 | column2 | column3

column1 | column2 | column3

Trailer

column1

But when I open the attachment, the text file show :

Header line | column1 | column2 | Item Detail | column1 | column2 | column3 .......................Trailer

All showing in one line.

I tried with the following sentences: con_cret TYPE x VALUE '0D' but it doesn´t work, when the file is opened with a Explorer its OK, but If I download to PC or I open the file in the TCODE SOST, the file shows a wrong format with enter in hexadecimal format.

I would like to check with you all, how do I rectify it.

Thank you very much.

Best Regards,

Edited by: Sergio Leon on Feb 18, 2009 11:04 PM