Creating Excel sheets in background [slightly OT]--use

jayachandhra raya jayraya at gmail.com
Mon Nov 6 19:50:47 EST 2006


Hi Mike,

We can create the excel document in the background.And mail them as
attachments.

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.
The export parameter DOCUMENT_DATA should have the document size(calcuation
of size is expalined in fm doc), doc name.
The object_header has the XLS attch name;
data is filled in contents_txt ;
the documents size, no. of lines etc are to be filled in packing_list(for
mail and attach );specify recepients in reclist
=========================
        exporting
          DOCUMENT_DATA
          PUT_IN_OUTBOX              = 'X'
          COMMIT_WORK                = 'X'
         tables
              packing_list               = objpack
              object_header              = objhead
              contents_txt               = objtxt
              receivers                  = reclist
===============================

-- 
With Regards,
Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20061107/4dfbfc8a/attachment.htm


More information about the SAP-WUG mailing list