on 12-18-2009 9:45 AM
Hi,
In our requirement we have already an output type 'NEU' for printing the PO output. We are using standard print program
SAPFM06P and form name is ZOUM_F001_PO
In addition to this we have created two more output types say 'ZNE1' & 'ZNE2'.
When user triggers output type 'ZNE1' the output should be similar as with output type 'NEU' with addition of terms and condition.
When user triggers output type 'ZNE2' the SAP output generated above should be sent as e-mail.
For output type 'ZNE1' :
Please provide me some inputs regarding should i need to embed any code in SAPFM06P with the help of any enhancement or should i create a new page in the form ZOUM_F001_PO which was used for the output type 'NEU'.
For output type 'ZNE2':
For sending SAP script output as e-mail do i need to do changes in standard print program SAPFM06P .
Please help me out.
Regards,
Bhanu.R
Hi Bhanuphani,
To send a Sapscript as e-mail, you need to convert the spool request to PDF and send the e-mail with the PDF attached.
Please, check out for the first step FM CONVERT_ABAPSPOOLJOB_2_PDF and CONVERT_OTFSPOOLJOB_2_PDF.
To send the e-mail, check FM SO_NEW_DOCUMENT_ATT_SEND_API1 and Class CL_BCS.
There are plenty of examples in SDN.
Cheers,
Andrés.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.