Mail Invoice in PDF as Email using Workflow

Dear all,
We are having a requirement to mail the invoice to the customer using worflow.
The workflow has to execute on a certain date and mail should be sent to Customer which will have invoice as attachment in PDF form. Everything shld happen automatically.
Is there any standard workflow available for this ?
Is it possible to have a direct link with message type config in NACE ?
Thanks in Advance.
Regards,
Vivek

In NACE, in the FORM routine convert the Smartform or SapScript form to PDF and use the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send this file as an attachment to the required receipient.

Similar Messages

  • Sending Invoice as PDF in email

    Hello,
    I have a requirement where I have to send Proforma Invoice as PDF in email.
    Now, the Proforma Invoice is already using output type to Print and when I see the routines in Tcode NACE
    It uses RVADAUS1 Program where it calls RV_EXPORT_DOCUMENT_PRINT function module to generate the Print document.
    This works fine.
    So, I created a new output type, copied the  RVADAUS1 to ZRVADAUS1 and modified the code where I am capturing the Spool generated through the original code and pass it to CONVERT_ABAPSPOOLJOB_2_PDF to convert it to PDF and then send it as an email.
    Now, the problem I am facing is that, I am not able to generate a Spool when I am using the medium ( '5' External Send ). So the further code of capturing Spool and convert to PDF and send as email fails.
    Any guidance is appreciated.
    Regards,
    DNP

    Hi Sudhanshu,
    Just before calling the function module RV_EXPORT_DOCUMENT_PRINT.
    I forced TNAPR-NACHA = '1'. and NAST-NACHA = '1'.
    which means I forced Transmission medium as 1(Print) instead of 5(External Send)
    This created a SPOOL.
    Regards,
    DNP
    Edited by: DNP on Aug 14, 2009 11:45 AM

  • Send email using Workflow

    Hi All,
    Has any one managed to send an email through Outlook using the Workflow process?
    If yes, would it be possible to share the solution?
    Responses would be appreciated.
    Regards
    Earl

    Workflow in current SAP doesnt support mail object.
    But the workaround is you can use workflow to change an business object UDF, and use Alert query to check UDF and send email.
    Frank

  • Workflow email using workflow variable

    hi All,
    I will have a moderate to high use of emails in my site using workflow. Every change in "mode" field, will send out an email. I have various teams who should be informed this this change. The email body/message remains the same only TO or
    CC will change upon criteria of tracks. I have groups created in sharepoint which have the key people from each team.
    Question:
    1. how can I use same email to avoid lot of work now and later if there are changes suggested to email.
    2. How can I dynamically choose the sharepoint group to send emails based out criteria in workflow.
    3. can I use Variable to decide the name of SharePoint group to whom the email is to be sent ?
    Thanks for your reply in advance.

    Hi Manish,
    If you would like to specify user in To or CC box dynamically, you could choose
    Workflow lookup for a user… when populated the select users box. And there you could select
    workflow variables and parameters, then specify the variables per your requirement.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How to mail invoice as pdf to customer

    hi all,
    i have to send a copy of the invoice as a pdf to the customer through mail, request you to kindly guide me how to configure this in the system.
    thanks & regards,
    padmanabhan

    Hi,
    SAP have created a standard program RSTXPDFT4 to convert your Sapscripts spools into a PDF format.
    Specify the spool number and you will be able to download the sapscripts spool into your local harddisk.
    Please note that it is not restricted to sapsciprts spool only. Any reports in the spool can be converted using the program 'RSTXPDFT4'.
    1.Run the program RSTXPDFT4 in se38
    2. Give the spool number and mention the directory and filename where to want to store the pdf file
    3. press execute
    MAIL: to Configure the Mail settings in the Tcode SCOT with the help of a basis person
    and use the Medium as MAIL (7) instead of 1(printout)
    and see that the receipient mail id (customer) are maintained properly and it should fired in the driver program..
    Just we have to check the Output from the fun module
    ADDR_GET_NEXT_COMM_TYPE which is there in driver program
    Reward points if useful
    Regards,
    Govind.

  • Not able to Open PDF in Email using CL_BCS

    Hello Experts,
    I am using CL_BCS to send an email that contains PDF as attachment.
    The PDF doucment should contain below text.
    "This is test system".
    Thanks.
    I am able to send an email that contains PDF as attachment. But while opening PDF document, I am getting internal error.
    Can you please suggest me any workaround for the same? It would be great if you can provide me sample code for the same.
    Regards,
    Amit

    hello,
    i am failure to open PDF in my new phone, do you know why? here is my phone data: www.eshopbing.com/ciphone-c6-16gb-30-smart-phone-with-windows-61-gps-wifi-p-600. html
    it's Windows 6.1, is it the same with Windows Mobile Emulator 6.5? please tell me if you know. Thank you very much.

  • ZERS - Invoice as PDF and Email

    Hello,
    We have created a new Output Type ZERS copied from ERS. And created a new SAPScript ZERS_PRINT which is agained copied from MR_PRINT and Print Program ZMR_PRINT. Whenever MRRL is run, it's creating the invoice output Spool. Now, the users want to covert the Spool to PDF and then email. Can anybody please let me know if you have done that similar functionality or how can I do this?
    Where in the Print Program I can write my custom code?
    Thanks a lot for the help.

    Thanks Karthik,
    Like I mentioned, we have copied the standard print program into a Z-print program. And in FM "MRM_ENTRY_ERS", I do see FM "OPEN_FORM". And in the parameter structure "ITCPO" we have option for "TDGETOTF". My question is  how to set this flag?
    Do I need to go in Change mode for FM "MRM_ENTRY_ERS"? Please let me know.
    Or Should I copy this FM into a Z- FM? Can anybody please let me know.
    Thanks a lot for the help.
    Edited by: lope jie on Apr 30, 2010 8:30 PM

  • Cannot add PDF to email-using Yahoo Email

    I use email Rocketmail(yahoo product) I am unable to attach PDFs to my outgoing emails, also use Nortons 360-virus/firewall.
    Thank you

    Could you describe the steps and where it is failing? For example, you can click a browse button to look for files, you can see the PDF files, you can choose a file and click the button, but the file doesn't actually attach? Et cetera.
    Can you attach other types of documents without a problem, or are multiple kinds of attachments affected?

  • Triggering E-mail for failed outbound idoc (Without using workflow)

    Hi Experts,
    In my secnario Idoc to file, where any failures of Idoc( Inbound/Outbound ) at SAP R/3 side will generate and send Emails to the required group. How to do this without using Work flow. If anybody knws please help me out its very urget.
    Regards,
    venkatesh

    Hi,
    Create a Distribution list using SO23 and add Users whom to recieve messages.
    Modify your Inbound function module to handle if idoc failed to post by calling the function module: SO_NEW_DOCUMENT_SEND_API1
    Reward points if it is helpful.
    Ashok

  • It possible to send a copy of invoice as pdf files to sales agents bye-mail

    Hi All,
    Please let me know, is it possible to send a copy of invoice as pdf files to sales agents by e-mail triggered by the invoicing or is it only possible manually through ZPDF.
    If Possible please let know how to achieve it.
    Aditya

    Hi Adi,
    Go through the link given below, Hope it helps.
    Sending Invoice as PDF in email
    http://wiki.sdn.sap.com/wiki/display/Snippets/Smartform%2bto%2bMail%2bas%2bPDF%2battachment
    Also go through the notes given below
    Note 454893 - CHECKLISTSD: Sales document output as an e-mail
    Note 753622 - Sending of body text and PDF attachment with medium 5
    Note 960088 - FAQ: Sending SD messages externally
    Regards,
    MT

  • Pdf in email body

    Dear friends, we are having in our company 6pc of iphone5 with latest sw.
    Is there any way to insert in a Existing mail body a pdf file by using the same way as we inserting a photo?
    Thanks

    Dear friend, thank you for help. I know how to send a PDF from a stored file.
    Sometime when I'm replying an email I have to keep the origin body and insert a PDF file like the way we using for the photo. Just touching the screen and insert a photo. This is good way to insert also a file or a PDF. But I don't have this selection. So I wonder if there is other way to attach a PDF in a existing message, expect your suggested and normal selection by choosing first the PDF and then type a new text body.

  • To send mail for cancelled jobs in SM37 to basis team using workflow.

    Dear All,
      I have a requirement to implement a workflow that will trigger a mail to basis team if there are any jobs with status Cancelled.
      I found a business object type 'BPJOB' which has an event Cancelled. I tried to test if the workflow is triggered when a job is cancelled using transaction SWELS. But it doesnt trigger any workflow.
      I tried finding a BADI/EXIT but there are no enhancements present for the transaction.
      We already have a report which will trigger an email to the concerned basis person when the job is cancelled but the client wants it using a workflow.
      I need to know whether there are any other ways to fulfill this reqt using workflow?
    Thanks & Regards,
    Supriya M.

    Hi SM
    try using BPJOB_SMAN, which is an object for Schedule Manager.
    check if it throws any event of BPJOB_SMAN.
    If yes, then use a WF which would send/notify mail to BASIS.
    Hope it helps.
    Aditya

  • How to configure oracle alerts to use Workflow mailer?

    Hello Guys:
    We were trying to setup oracle alerts using workflow mailer. I have created a dedicated mailer for handling oracle alerts related mail.
    Here is what I need to clarify:
    1. Having setup a new mailer for Oracle alert do I have to still configure the Options in Oracle Alerts. This is where you choose which type of mail u want to use ( like Unix mail,Windows NT mail )
    2.How do I tell oracle alert to use the new mailer that I created exclusively for this? While creating the mailer at some point I remember putting ALR in configuration form.
    I am on 11.5.10 CU2. I am on 11i.ATG_PF.H
    Regards,
    Bala

    Hi Hussain:
    Based on the note I realised that my oracle alerts will user unix sendmail. But then If u go to " Oracle Alert Options "
    -- > Mail systems -- I check Unix send mail
    -- > Mail server options ( Do I have to fill this section? )
    My guess is that the send mail will post the email to a IMAP account ( I created oraclealert account ) and IMAP account will push the alert email to Recipient
    Mail Database/Server Name --- imap.mydomain.com
    Mail Priority --- Normal
    Accounts
    Application Installation username Password
    Blank ** Blank ** oraclealert pwd
    Blank ** Blank ** oraclealert pwd
    ** - It wont allow me to choose an application.
    Is there a simple test to make sure that my oracle alert is working or not? I appreciate your help.
    Regards,
    Bala

  • How can I attach a PDF in an email, using javascript in PDF document?

    How can I attach a PDF in an email, using an interactive button in the PDF-document?
    I tried to create a form button with the menu action 'attach this PDF in an email'.
    This Send.to-action doesn't work with Microsoft.
    Does anyone has a solution by implementing a javascript-code for this in the PDF?

    Dick,
    Thanks for your replie.
    Nice alternative, but it still doesn't work on a Windows machine when the
    mail software from Microsoft doesn't react on PDF actions.
    You can do many things in Acrobat, but it is a problem when it doesn't work
    on Windows and iPad.
    So now I am looking for alternatives like  interactive magazine software
    (based on html5).
    2012/5/11 dick the flash <[email protected]>
       Re: How can I attach a PDF in an email, using javascript in PDF
    document?
    created by dick the flash <http://forums.adobe.com/people/dicktheflash>in
    JavaScript - View the full discussion<http://forums.adobe.com/message/4395927#4395927

  • Send PDF as email attachment using Outlook 2011 ERROR

    Every time I try to send a PDF as an email attachment, I get the following error:
    "An error occurred while trying to create a mail document.  Acrobat is unable to complete your request."
    Prior to getting this error, every time I sent an email Adobe would open the default Mail program on the mac. I  opened mail and changed the preference to use Outlook 2011 as the default mail program, but this did not correct the error.
    Any ideas?
    Thanks!

    AmbooS wrote:
    This is a known issue with Mac Outlook 2011 which is an unsupported version for Acrobat X. This will be supported in the next release.
    If adobe was smart it would be added in the update rather than in than in AcrobatXI  And while at it they need to add support for SeaMonkey and Thunderbird as well.  You've been ingnoring of Dissing Mozilla Products since OSX has been out.

Maybe you are looking for