‎2009 Aug 18 6:32 AM
Hi,
I am using the function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send smartform data in CSV file format.
In this FM, Tables parmeter CONTENTS_BIN has length 255.
My data lengthe exceeding the length 255. how to handle this. is there any other function module to send mail in CSV format.
Regards,
Selvapriya S.
‎2009 Aug 18 7:11 AM
HI,
The CONTENTS_BIN in FM SO_NEW_DOCUMENT_ATT_SEND_API1 is the table with field of length 255. You can substring your data upto length 255 and keep on appending the data to your content bin's internal table.
‎2009 Aug 18 6:58 AM
Hi,
Check this WIKI
[https://wiki.sdn.sap.com/wiki/display/Snippets/Tosendamailattachmentwithmorethan255charactersinaline]
Regards,
Vik
‎2009 Aug 18 7:11 AM
HI,
The CONTENTS_BIN in FM SO_NEW_DOCUMENT_ATT_SEND_API1 is the table with field of length 255. You can substring your data upto length 255 and keep on appending the data to your content bin's internal table.