Sending a pdf file as an attachment in the workflow.

Dear All,
In my workflow , i want to send a pdf file as an attachment.I know this topic has been discussed in earlier threads but i couldn't make out from them.So plz if possible do give simple detailed solution for better understanding.
Regards,
Geet Bijlani.

The SOFM Object should be created as follows.
1) get the relationship using class 'CL_BINARY_RELATION' using method 'READ_LINKS'
2) get the instance ID from INSTID_B
3) split the value according to the keyfields in SOFM and create object SOFM
4) bind each object to the Workitem or Email.
with regards,
Sudhahar R

Similar Messages

  • How do I send a pdf file by email

    How do I send a PDF file as an attachment to an email?

    Just like any other file...
    On Sat, Mar 7, 2015 at 12:16 AM, larrys19338374 <[email protected]>

  • Adapter Module Error-Sending excel file as an attachment of the mail

    Hi ,
    My scenario is as follows
    1)I am sending an excel file as an attachment of the mail.I need to read that excel attachment as a payload.
    So mail adapter is used in sender side.
      To configure this, have used standard PayloadSwapBean  module with proper module key.
      Next to convert excel to XML another custom adapter module is being used.
    Both this adapter module , I configured into the CC of sender mail adapter.
    The order in which adapter modules are being used in the sender CC are as follows
    1)localejbs/AF_Modules/PayloadSwapBean
    2)localejbs/MDPExcelToXMLConversion
    3)sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    MDPExcelToXMLConversion-Custom adapter module written to convert excel to xml.
    I am getting the following error
    exception caught during processing mail message [4899]com.sap.aii.af.lib.mp.module.ModuleException
    And also,
    no messages in coming MONI of PI.
    Pls suggest what to do.
    Thanks
    Ayan

    Shabarish,
    Will the ordering in which the adapter modules(In this case there are two-PayloadSwapBean & MDPExcelToXML) are appearing into Module tab of sender adapter matter?
    Firstly, what is happenning
    1)If I take out the custom  adapter module MDPExcelToXML and put only PayloadSwapBean  then it is successfully converting mail attachment into the main Payload i.e PayloadSwapBean   module is working.
    2)Nextly, my local code( i.e java code without including standard Module specific method like ejbActivate(),ejbPassivate(),process()  etc etc.)) for MDPExcelToXML is successfuly converting the excel file into the XML file.Then I am making the local code into adapter module specific code and deploying that.
    A few question arises here,
    Do I need to do any specific configurations here in PI for this particular things.Maybe both the adapter module is clashing with each other.
    And also using tracing and logging into my custom adapter module code.Getting the following error,
    java.io.IOException: Unable to read entire header; 116 bytes read; expected 512 bytes#
    Thanks
    Ayan

  • I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I am not aware of a way except for photos that allows you to select multiple files in an email. I even checked settings in the Adobe Reader app, and it does not show that ability.

  • How to send PDF file as an attachment in email?

    Hi Folks,
    I have successfully configured SMTP and by now I can successfully send normal text messages along with .TXT files. However, when I am trying to send an email along with .pdf file as an attachment, I am getting the mail in my inbox, but I cannot open the .pdf file! I am getting the following Acrobat error:
    Acrobat could not open 'abc.pdf' because it is either not a supported file type or because the file has been corrupted
    Can any help me in solving this problem?
    Thanks in advance
    Regards,
    Faisal

    Hi Vajha,
    Thanks alot for your kind reply. I also express my apologies for responding to your reply lately.
    I beleive all the links you have sent me are talking about ABAP coding. what I am interested in is,
    is there any configuration that I am missing in SCOT (Basis side)?
    Since I am not an ABAPER, so I carry out these activities.
    Can anyone please answer the following queries of mine:
    1. Can't we send any PDF attachment in a mail from R/3?
    2. Do we have to do it through coding only?
    3. In scot we have option "All formats except fllw". But it does not work for me. Any inputs?
    Thanks in advance.
    Regards,
    Faisal

  • Starting yesterday I can scan a pdf file in from the scanner and can not send a pdf in an email attachment

    Starting yesterday I can scan a pdf file in from the scanner and can not send a pdf in an email attachment.  What happened?  Windows 8

    Adobe Reader can't scan documents. What software do you use?

  • Can anyone tell me how to send a PDF file so that it opens up in the body of the email itself? Thanks

    Can anyone tell me how to send a PDF file so that it opens up in the body of the email itself? Thanks

    That is a function of the recipient's e-mail software understanding what your software sent.  If it doesn't it will always show as an icon or attachment.   It is also a function of both your internet provider and their internet provider accepting messages of that size, and a function of their download attachment settings in their e-mail program.  There is no way to guarantee it will appear inline in the attachment.   The best you can do is attach with Windows Friendly format.  To do that, use the attach toolbar icon that looks like a paperclip, (View menu -> Customize toolbar if invisible) on Mac OS X Mail when composing the message.   A checkbox appears in the file dialog box's bottom to make it Windows friendly when you navigate to pick the PDF file.  That makes it as universally compatible as possible.  It still may not appear inline, but at least you are less likely to be incompatible.

  • How do I change my email address when sending a PDF file:

    How do I change my email address (correct it) when sending a PDF file?

    You'll need to add the email address you want to use to Reader... If you're not prompted to do so when clicking the Submit button, you can do it via Edit - Preferences - Email Accounts.

  • Can you EXPORT A PDF file as an attachment in an Email to 1,000 subscribers

    Wish to send a PDF file to a group of subscribers ( 1,000 + ) thru an email attachment

    If this is the same PDF file for all the recipients then Sabian's reply is correct. If you're looking for a mail-merge operation (ie, send a customized version of the PDF to each recipient), that's a whole other matter.

  • When i send a PDF file to out side print, some of the things I aded dose not print. Is there a way I can "close" the PDF when i finish the work- so' every thing will be printed for sure

    when i send a PDF file to out side print, some of the things I aded dose not print.
    Is there a way I can "close" the PDF when i finish the work- so' every thing will be printed for sure

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback
    Or you can use your Apple ID to register with this site and go the Apple BugReporter. Supposedly you will get an answer if you submit feedback.
    Feedback via Apple Developer

  • How to open a pdf file and then attach it with images

    I am new to Indesign Server.
    I'm currently working on a pdf.
    I have a white blank pdf template.
    that I want to attach/glue it with images.
    How to open a pdf file and then attach it with images.
    Please, help me.
    Thanks.

    First step would be to make yourself familiar with InDesign desktop version.
    Whatever you intend to achieve, do it there manually. (see regular app docs or forums)
    Then try to automate your steps with scripting (see scripting docs or forum)
    If you can do it with a script in the desktop version, that script will likely also run in ID Server. (see server forum).
    If you can specify missing features not achievable thru scripting or manual use, reconsider to write a plugin (this forum).
    A seasoned C++ programmer will need a few months to learn the basics, wade thru tons of documentation etc. Alternatively consider to hire a consultant to do the development work for you.
    Dirk

  • Sending a PDF file as fax

    Hi,
    I have a requirement to send a PDF file as a fax to different fax numbers. Can anyone assist me on how to get this done. Can you please show me step-by-step.
    Thanks in advance

    Thanka a lot for the help so far,
    I have uploaded the file and below is the changes I made to the coding and within it is my question highlighted in green
    DATA: formoutput TYPE  fpformoutput,                " PDF FORM settings.
          docparams  TYPE sfpdocparams,                 " Print and Spool Dialog settings
          ie_outputparams   TYPE sfpoutputparams.       " Print and Spool Dialog settings
    DATA: it_recipe TYPE ztrecipe_form1.   {color:green}What is this type for cause in my coding it says type undefined  {color}            " Internal Table Declaration
    DATA: i_name TYPE fpname,
          fm_name TYPE funcname.                        " Captures the Generated Function Module name
    DATA: w_itcpp TYPE itcpp.
    DATA: it_attachment1 TYPE  SOLIX_TAB.
    DATA: it_attachment2 TYPE SOLI_TAB.
    DATA user LIKE sy-uname.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
      FILENAME = 'C:\Users\Thandekile nkomo\Desktop\715GSSC_8.pdf'
      FILETYPE = 'BIN'
    TABLES
       results = ZRECIPE_PRINT_FORM1_1.
    i_name = 'ZRECIPE_PRINT_FORM1_1'.       {color:green} On the adobe form name do I use the name of the table I get with all the results {color}            " Adobe Form name
    PARAMETERS: p_matnr TYPE zrecipe_form1-matnr OBLIGATORY.
    SELECT * FROM zrecipe_form1 INTO TABLE it_recipe.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'               " Will contain the name of generated Function Module Name...
      EXPORTING
        i_name = i_name
    IMPORTING
        e_funcname = fm_name.
    *ie_outputparams-device = 'TELEFAX'.
    *ie_outputparams-nodialog = 'X'.
    ie_outputparams-getpdf = 'X'.
    *out-nodialog = 'X'.
    *ie_outputparams-dest = 'LP01'. " Destination
    *ie_outputparams-reqnew = 'X'.
    * out-reqimm = 'X'.
    * out-reqdel = 'X'.
    *ie_outputparams-reqfinal = 'X'.
    CALL FUNCTION 'FP_JOB_OPEN'                           " To Open the Form for Printing...
      CHANGING
        ie_outputparams       = ie_outputparams.
    *docparams-langu = 'E'.
    *docparams-country = 'US'.
    *docparams-fillable = 'X'.
    CALL FUNCTION fm_name                                " Generated Function Module(/1BCDWB/SM00000167)...
      EXPORTING
        /1bcdwb/docparams        = docparams
        it_recipe                = it_recipe
        p_matnr                  = p_matnr
    IMPORTING
       /1bcdwb/formoutput       = formoutput
    CALL FUNCTION 'FP_JOB_CLOSE'.
    Edited by: Beatrice Nkomo on Nov 30, 2009 11:25 AM

  • Sending a pdf-file

    I need to send a pdf-file from another application to another. Now I am transporting it in several char[] tables. The problem is some characters are missing when the other end receives the pdf-file.
    So I'm asking that can a pdf-file be transported in several char-tables? Is it possible in general? (I don't have a possibility to send a byte stream, so I need to use char-tables).

    You are probably loosing high-bits off of some of the bytes when you
    convert them to a char[] or they are overflowing. Same result, corrupted
    pdf data....
    I suggest that you used Base64 to encode the byte[] data of the file
    and decode it on the other end when you receive it. As I remember
    Base64 should only produce printable characters so sending the data
    through a char[] should work fine.
    Note that this will increase the size of the data some.
    For a class that does Base64 encoding and decoding see.
    org.apache.xerces.impl.dv.util.Base64
    The Apache license is quite permissive so you can probably just include
    this class in you program.

  • Why do old Adobe PDF files which I attach to a document show as Firefox files instead of an Adobe PDF file after an Adobe Reader update??

    Why do old Adobe PDF files which I attach to a document show as Firefox documents in my files instead of an Adobe PDF file after an Adobe Reader update?  My saved files Adobe PDF documents also appear as Firefox documents instead of Adobe PDF files.

    NO MATTER WHAT VERSION OF WINDOWS YOU'RE USING:
    Right click one of the PDFs with the Word icon.
    Select "Properties"
    Where it says "Opens With" there is a button to change it from Word to Adobe Reader, which should be in the list of available programs that pops up.
    Choose Reader, and click APPLY before clicking OK.
    That will change ALL PDFs to Reader as the default application.

  • How to send a PDF file as a FAX from Oracle Reports 6i

    Hi
    I want to know how to send a PDF file as a FAX from Oracle Reports 6i. Or please post any sample code in reports that sends PDF document as FAX
    Help need immediately.
    Thanks in advance. my email id is
    [email protected]
    Arun
    null

    hello,
    there is no native support for directly faxing a report. you could e.g. use a fax-software that has a printer-driver that supports this.
    regards,
    the oracle reports team

Maybe you are looking for

  • Can't remove Contains() handler from SqlFunctionCallHandler - why?

    I'm trying to amend some Entity Framework functionality at runtime by using reflection. The following code snippets I've been using to get some feeling for the Entity Framework's internal functionality. Please don't ask what I'm using this for - at t

  • How to add bullet on every enter event in text field

    Hello, Can someone please point me in the right direction. I am trying to add a bullet every time someone presses enter on the keyboard. this is within a textfield. Thank you, Howard

  • Sign PDF several times

    After signing an PDF file several times, ADOBE 7 and ADOBE 8 shows that the all signatures are valid but ADOBE 9.2 shows that the fi rst signature is invalid. (only the last signature is valid) As the PDF file is the same I can conclude that the inte

  • Stop vgaswitcheroo service on supend and start on resume. Gnome 3

    1st. Hello, whenever I suspend my MacBook Pro mid-2012 it resumes fine, but I have a problem if on suspend I have my discrete GPU disabled I cannot make a clean restart. On wake-up the discrete gpu becomes enabled again, but for some reason I cannot

  • Shared Music Folder

    I live in a dorm and do not have a "Shared Music" folder. Everyone else on my hall has this folder and is able to listen to each other's music. I installed the latest update for iTunes, and have also switched my preferences to allow for shared music,