Sending PDF via Email and coding in workflow

Dear Experts,
Following is my Requirement
When a Sales order is created, Delivery gets created automatically in Background. When Delivery is created based on the materials we would decide to which user an email should be sent. To the Email a PDF should be attached with the list of materials.
To do this I have created a workflow with the Event LIKP. The Event is getting Triggered but where can i write the code to fetch the materials of Delivery and decide the email id of User based on materials. Alsoto attach as PDF i understand i need to write the code. All this code where can i write in Workflow.
Please kindly help.
Regards
Sam.

Dear Vinoth,
Thanks for your reply. I have a solution which works through badi but the client wants it to be done by Workflow.
Also  there are many other Workflow Developments where in between the Workflow steps some coding is needed.
So Can you please guide me where i can write the coding i n workflow after the event is triggered.
Regards
Sam

Similar Messages

  • I have been taking photos with my Ipad for several months and sending them via email and Facebook.  Now it will transfer photos to FB but not email addresses.   What could be the problem?          email an

    Have been taking photos with my Ipad and sending them to email address and FB.  For some reason it will now send photos to FB but not my email address.  What could be the problem?

    Does your email provider have a limit on the total file size allowed on their server? It could be that emails with photos send in the past are still on your email server. They might even be in the servers trash folder. If the total MB of those emails exceeds the amount allowed then no additional emails can be received. Try using a web mail page to check and edit what's on the email server.

  • Sending pdf via email: pdf is not returned from function module

    Hi all.
    I am having trouble sending a pdf form as an attachment to an email.
    After calling the funtion module that is creating the PDF, field pdf of the return parameter /1bcdwb/formoutput should be used to create the attachment.
    But the field PDF is empty after calling the function module - only the field xml is given back.
    What did I miss?
    Thank you for your help and best regards, Kathrin!

    Hi Kathrin,
    See below for the example:
    ls_outputparams-getpdf = 'X'.
    CALL FUNCTION 'FP_JOB_OPEN'
         CHANGING
           ie_outputparams = ls_outputparams
         EXCEPTIONS
           cancel          = 1
           usage_error     = 2
           system_error    = 3
           internal_error  = 4
           OTHERS          = 5.
    If you setup the job like this then the pdf parameter will be filled with the XSTRING data for the generated PDF.
    Regards,
    Ryan Crosby

  • Deny user's sending pdf via email, so the option is not available

    HI,
    i have some sensitve data that i would like to create a variaty of PDFs for and have them availabe on my company intranet, i need users to be able to open and read these documents, but not edit them in any way, eg, no printing/ saving/ emailing/ editing of the content,/ screen shots/ or highlighting the content and pasting it into another document,  all i want them to be able to do is "READ ONLY"
    is Adobe Acrobat Pro the solution that i can use to do this with and HOW,
    please respond ASAP
    Todd

    East LT is trying to limit 'scraping' for a user who already has the file open - even with DRM that's simply a case of PrintScreen > Create PDF > From Image > OCR.
    'Clean rooms' are actually very simple to implement, and many small organizations do it in preference to the  investments required for DRM. You just need to put a computer in a locked office, make sure it's unplugged from the Internet and have a supervisor stand behind the person as they use it. We've had systems like that running on construction sites to prevent people 'borrowing' the plans - in which case it was a laptop chained to the wall in the security guard's cabin. The guard is already there so it cost nothing.
    LCDRM is all well and good, but we must be honest - unless Adobe re-open the Document Center service, it's beyond the budgets of anyone other than enterprise-class customers.

  • I recently turned off my imessege to get out of a group message, Then once i turned it back on, it said waiting for activation, but now sends imessages via email and my mobie number is blacked out! I've tryed everything :(

    I have tryed resetting network settings, changed the dns,  reset the time zone the lot lease help me!!

    Read here:
    http://support.apple.com/kb/TS4268

  • Embedded Reader send copy via email

    Good morning,
    our users use embedded Reader XI (11.0.10) for displaying PDFs within an intranet homepage. They want to email the embedded pdf from there, too. 
    When the PDF is opened in the IE11 browser and the users click on the email button “Send copy via Email” , and get a question "How would you like to email this document: Link or copy".
    When clicked on copy nothing happens – when clicked on “send as link” it works fine.
    Does anyone know how to fix the issue?
    Kind regards,
    Tobias

    Good morning,
    our users use embedded Reader XI (11.0.10) for displaying PDFs within an intranet homepage. They want to email the embedded pdf from there, too. 
    When the PDF is opened in the IE11 browser and the users click on the email button “Send copy via Email” , and get a question "How would you like to email this document: Link or copy".
    When clicked on copy nothing happens – when clicked on “send as link” it works fine.
    Does anyone know how to fix the issue?
    Kind regards,
    Tobias

  • To convert Smart Form output to PDF format and send it via email.

    Hi Friends,
    Could any one please tell me, how to convert the Smart Forms output to PDF format and send it via email to customer. If any one have the code, kindly mail me to [email protected]
    Thanks & Regards,
    John

    Refer the links -
    how to convert smartform into pdf and send through mail
    Smartform as PDF attachment to a mail.
    smartform pdf and mail
    smartform to pdf to mail
    Regrads,
    Amit
    Reward all helpful replies.

  • To convert Sap Script output to PDF format and send it via email.

    Hi Friends,
    Could any one please tell me, how to convert the Sap Script output to PDF format and send it via email. If any one have the code, kindly mail me to [email protected]
    Thanks & Regards,
    John

    Plese check this sample code from other thread.
    REPORT zzz_jaytest .
    Types Declaration
    TYPES : BEGIN OF ty_pa0001,
    pernr TYPE pa0001-pernr,
    bukrs TYPE pa0001-bukrs,
    werks TYPE pa0001-werks,
    END OF ty_pa0001.
    Internal Table Declaration
    DATA : i_pa0001 TYPE STANDARD TABLE OF ty_pa0001, "For pa0001 Details
    i_otf TYPE STANDARD TABLE OF itcoo, "For OTF data
    i_content_txt TYPE soli_tab, "Content
    i_content_bin TYPE solix_tab, "Content
    i_objhead TYPE soli_tab,
    Work Area Declaration
    w_pa0001 TYPE ty_pa0001, "For pa0001 Details
    w_res TYPE itcpp, "SAPscript output
    "parameters
    w_otf TYPE itcoo, "For OTF
    w_pdf TYPE solisti1, "For PDF
    w_transfer_bin TYPE sx_boolean, "Content
    w_options TYPE itcpo, "SAPscript output
    "interface
    Variable Declaration
    v_len_in TYPE so_obj_len,
    v_size TYPE i.
    Constants Declaration
    CONSTANTS : c_x TYPE c VALUE 'X', "X
    c_locl(4) TYPE c VALUE 'LOCL', "Local Printer
    c_otf TYPE sx_format VALUE 'OTF', "OTF
    c_pdf TYPE sx_format VALUE 'PDF', "PDF
    c_printer TYPE sx_devtype VALUE 'PRINTER', "PRINTER
    c_bin TYPE char10 VALUE 'BIN', "BIN
    c_name TYPE string VALUE 'C:\ZZZ_JAYTEST.PDF',"Downloading
    "File Name
    c_form(11) TYPE c VALUE 'ZZZ_JAYTEST'. "Form Name
    START-OF-SELECTION.
    Selecting the records from pa0001
    SELECT pernr bukrs werks FROM pa0001
    INTO TABLE i_pa0001 UP TO 10 ROWS.
    Setting the options
    w_options-tdcopies = 1 ."Number of copies
    w_options-tdnoprev = c_x."No print preview
    w_options-tdgetotf = c_x."Return of OTF table
    w_options-tddest = c_locl."Spool: Output device
    Opening the form
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    form = c_form
    device = c_printer
    language = sy-langu
    OPTIONS = w_options
    IMPORTING
    RESULT = w_res.
    LOOP AT i_pa0001 INTO w_pa0001.
    Writting into the form
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    element = 'MAIN'
    window = 'MAIN'.
    ENDLOOP.
    Closing the form
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
    RESULT = w_res
    TABLES
    otfdata = i_otf
    EXCEPTIONS
    unopened = 1
    bad_pageformat_for_print = 2
    send_error = 3
    spool_error = 4
    codepage = 5
    OTHERS = 6.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Converting OTF data to single line
    LOOP AT i_otf INTO w_otf.
    CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
    INTO w_pdf.
    APPEND w_pdf TO i_content_txt.
    ENDLOOP.
    Converting to PDF Format
    CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
    EXPORTING
    format_src = c_otf
    format_dst = c_pdf
    devtype = c_printer
    CHANGING
    transfer_bin = w_transfer_bin
    content_txt = i_content_txt
    content_bin = i_content_bin
    objhead = i_objhead
    len = v_len_in
    EXCEPTIONS
    err_conv_failed = 1
    OTHERS = 2.
    v_size = v_len_in.
    Downloading the PDF File
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    bin_filesize = v_size
    filename = c_name
    filetype = c_bin
    TABLES
    data_tab = i_content_bin.
    The extension is put the it_mailpack-obj_name parameter of 'SO_NEW_DOCUMENT_ATT_SEND_API1'.

  • I tried sending the Adobe pdf file of a poster via email and it said the file was too large to send.  How do I remedy this?

    I tried sending an Adobe pdf file of a poster via email and it wouldn't go through because it said the file was too large.  How do I remedy this?

    Lots of free file hosters out there. Mediafire.com as an example. Upload a file there, copy and paste the download link you are given into your email to the client, then delete it as soon as the client successfully downloads it. Mediafire has 10 gb storage for free accounts.
    Email is limited to 10 MB on attachments. So that's where file hosting comes in.

  • The problem is with the new operating system  and sending photo via email when used in my iPad.   From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow.

    The problem is with the new operating system  and sending photo via email when used in my iPad.
    From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow. This is solved by saving the email as a draft and opening the email again from mail.
    Can you amend he system to allow emails to be sent from photo as previously.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • I am finish my project and want to end to another person by email the project so that they can burn a dvd to be displayed at our Church. Normally I would burn the DVD myself but have to send it via email. how to they press it to dvd.Thanks

    I have finished my FCP X project and in the past I would burn a copy but since I am out of town I need to send it via email. The peron is able to view the project when it comes by email but I am wondering how can they burn a dvd copy of it to display at the Church for our announcements.  The person I am sending it to has a Mac too. Thanks

    First off, you're not likely to be able to email it. Most email systems limit the size of messages (and their attachments) since email isn't really designed for large transfers. It's not uncommon to see 50MB as a cap. Unless you're working on an especially small project you're likely to exceed this limit.
    Instead you should consider creating a disk image of your DVD and using a public file service such as DropBox or YouSendIt.
    If you create a disk image (.dmg) file that simulates a full burned DVD, the reciever can burn that to disk using Disk Utility on their machine. They don't need FCP X on their side.

  • Goodreader will allow me to send a PDF via email but my notes wont go?

    I do apologize as I am very new to this. I did just download goodreader onto my iPad 2. It is very simple to use but I do have an issue. I was forwarding a PDF via email. I attached a note along with it, just above my signature. The email did go to a PC and the attachment was their, but the note and signature was attached as another attachment as a .txt file. The odd thing is, if I copy the email to myself it shows the note and signature? I hope i explained this situation so that it is understandable and thanks for any advise. Really am a big fan of the Apple products, even have a new iPhone 4 being delivered tomorrow.
    G

    Yes, but selecting the icon only gives me the option to print.

  • I cannot view the family sharing invitation. My wife has sent it multiple times Via email and text yet I haven't had a notification, but when I attempt to send to her she receives the notification. Help please?

    I cannot view the family sharing invitation. My wife has sent it multiple times Via email and text yet I haven't had a notification, but when I attempt to send to her she receives the notification. Help please?

    There are a lot of posts in the forums today with people having problems with iMessage.   There was also a published outage yesterday, so it's possible there are still some issues that may be impacting you both.
    I would just wait it out - I'm sure it will be sorted out soon.

  • When I select a photo on my iPhone and send it via email, the receipient receives it sideways. Any way to fix that?

    When I select a photo on my iPhone and send it via email, the receipient receives it sideways. Any way to fix that?

    When you took this photograph your phone was being held in that way. Sideways, try taking the photo straight on. Or it is the Picture file itself, open up the application you edit photos with and rotate it to be proper orientation. I recently had the same problem but you either have to retake or edit it at this point.

  • Ipad and iPhone not able to send photos via email or text

    My iPad2 and iPhone (5s) are not able to send photos via emails or texts. They communicate with each other in sharing the photos but I can't send them out anywhere. Anyone have suggestions?

    You can choose Outlook Express by following steps:
    1) Launch Starter Edition.
    2) Choose Edit menu >> Preferences or press Ctrl + K, to launch preference dialog.
    3) Choose Email from side menu on preference dialog.
    4) in Client, 'Send Email Using :' set"Outlook Express" and press 'Ok'
    You are reasy to share your images.Let me know if it helps.
    Cheers!!!
    Agrawal

Maybe you are looking for