Hi Mike,<br><br>We can create the excel document in the background.And mail them as attachments.<br><br>The
input for the function module must be-- the column headers, object
type(for mail: RTF,for attache:XLS) the data(separated by TAB),
document size among other things. The FM doc has more details.
<br>The export parameter DOCUMENT_DATA should have the document size(calcuation of size is expalined in fm doc), doc name.<br>The object_header has the XLS attch name;<br>data is filled in contents_txt ; <br>the documents size, no. of lines etc are to be filled in packing_list(for mail and attach );specify recepients in reclist
<br>=========================<br> exporting<br> DOCUMENT_DATA<br> PUT_IN_OUTBOX = 'X'<br> COMMIT_WORK = 'X'<br> tables<br> packing_list = objpack
<br> object_header = objhead<br> contents_txt = objtxt<br> receivers = reclist<br>===============================<br clear="all"><br>-- <br>
With Regards,<br>Jay