on 05-08-2009 10:16 AM
Hi,
I have a requirement when the driver program (custom program) for sapscript is executed ,the output of sapscript has to be sent as a email attachment to desired people(s) Email accounts .
How can I do it?.. could you provide any points for thisu2026.
Thanks in advance .
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on May 8, 2009 10:22 AM
Get the output data in the OTF format in close_form under table OTFDATA
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT =
RDI_RESULT =
TABLES
OTFDATA =
Call below mentioned function module to convert otf format of smart form to pdf format
CALL FUNCTION 'CONVERT_OTF'.
Convert PDF from 132 to 255.
For sending mail
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.