Skip to Content
0
Former Member
Oct 19, 2005 at 03:21 PM

Convert data to MSWORD, MSEXCEL or PDF

173 Views

Hi,

I have a requirement of sending SAP std report output as an attachment via email. I am thinking of using SUBMIT TO MEMORY or SPOOL and then get the data from there and convert and send as file attachment using SO_DOCUMENT_SEND_API1 or class CL_BCS. The file is required to be sent as MSWORD or MSEXCEL or PDF which can be decided by having a parameter on selection screen..

But I am not sure on how to convert data after retrieving it back from Memory or spool. There are a few function modules to convert. Can anyone give me the names please in each case like

For Spool to PDF function CONVERT_ABAPSPOOLJOB_2_PDF can be used

For Spool to Excel ?

For Spool to Word ?

For memory to PDF ?

For memory to Word ?

For memory to Excel ?

Regards,

Vin