06-16-2008 10:33 AM
hi,
in his function module SO_NEW_DOCUMENT_ATT_SEND_API1 am passing 2 lines in packing_list-body_num to 2 lines,after sending mail to recipient, when he open that text file he is getting whole data in single line. Is there any changes we need to in coding to get 2 lines in the text file.
Please provide valuable suggestions/...............
06-16-2008 10:39 AM
it depands on how ur appending the data into objbin table.
concatinate CL_ABAP_CHAR_UTILITIES=>CR_LF at end of each line.
Edited by: S.r.v.r.Kumar on Jun 16, 2008 3:10 PM
06-16-2008 10:39 AM
it depands on how ur appending the data into objbin table.
concatinate CL_ABAP_CHAR_UTILITIES=>CR_LF at end of each line.
Edited by: S.r.v.r.Kumar on Jun 16, 2008 3:10 PM
06-16-2008 10:40 AM
the text file for the messagebody is passed thourgh CONTENTS_TXT
kind regards
arthur
06-16-2008 10:41 AM
When u r filling the data in the object table fill it in two lines...
06-16-2008 10:48 AM
open the files in BINARY MODE (and not text mode)
This will take care of
the NEW LINE Character
which is present in text files (at the end of each line)
Check this...
/people/thomas.jung3/blog/2004/09/07/sending-e-mail-from-abap--version-46d-and-lower--api-interface
06-16-2008 11:02 AM