I am trying to send a comma separated file as attachement in email using function module SO_NEW_DOCUMENT_ATT_SEND_API1.
I am filling OBJBIN table with the comman separated content and attribute OBJPACK-DOCTYPE = 'XLS'
I am getting data as attachement in mail but file is not in desire format. I am facing two problem
1. Every character in Attached file is separated by a space for example if I inserted 'Material,Vendor' in table OBJBIN. I am getting 'M a t e r i a l , V e n d o r' in attached file.
2. Each record which I want to insert in OBJBIN table has length 550 but the length of table OBJBIN is 255 characters .
Waiting for your help.....
Thanks,
Pawan.