Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Send CSV file through mail.

Former Member
0 Likes
794

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
630

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.

2 REPLIES 2
Read only

Former Member
0 Likes
630

Hi,

Check this WIKI

[https://wiki.sdn.sap.com/wiki/display/Snippets/Tosendamailattachmentwithmorethan255charactersinaline]

Regards,

Vik

Read only

Former Member
0 Likes
631

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.