10-07-2008 4:54 PM
hi all,
I am using the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send csv files as attachment. I am getting the file with a lot leading spaces in my file (except the first line is proper)
Please note that i am adding the line breaks manually in the table.
for ex: i am getting the file as
name,id,contactno,city
'aaa','123','9867847594','ABCD'
'bbb','456','9789269369','BNDR'
whats the reason? how can i delete them?
any ideas
10-08-2008 4:47 PM
06-19-2012 1:30 PM
Hi, for remove leading spaces in csv attachement apply OSS Note 1408083
04-23-2015 10:47 PM
Hi,
Concatenate cl_abap_char_utilities=>cr_lf before every line/record of the file.
This should resolve the issue.
Thanks,
Anupam