Skip to Content

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

CSV as email attachment - leading spaces

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

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