‎2007 Apr 12 11:56 AM
Hi Folks
I want to send the script output as mail.
For this I want to know which parameter will stores the script output after generating the spool.
Regards,
Sreeram
‎2007 Apr 12 12:00 PM
Hi Sree ram,
Even before the spol is generated, you can get the OTF data from the tables parameter OTFDATA of the CLOSE_FORM function module.
Otherwise, if you have the spool number ready, then you can use the function module CONVERT_ABAPSPOOLJOB_2_PDF to convert the spool into pdf format which you can later send as an attachmnet using the fm:
SO_NEW_DOCUMENT_ATT_SEND_API1.
Regards,
Ravi
‎2007 Apr 12 12:00 PM
Hi Sree ram,
Even before the spol is generated, you can get the OTF data from the tables parameter OTFDATA of the CLOSE_FORM function module.
Otherwise, if you have the spool number ready, then you can use the function module CONVERT_ABAPSPOOLJOB_2_PDF to convert the spool into pdf format which you can later send as an attachmnet using the fm:
SO_NEW_DOCUMENT_ATT_SEND_API1.
Regards,
Ravi
‎2007 May 23 8:43 AM