Attachment in PDF

Hi all,
What do I need to do in LiveCycle Designer during creating
pdf file in order to be able to add attachmen to this file?
Regards,
Michael

Hello Michael,
Please take a look at my reply here: Add attachments to the Interactive form of a Web dynpro application
<<<
Attachment API for the Interactive form have been made available with the following:
NW04s SP09 Web Dynpro Runtime + hotfix release (Note: 982023)
NW04s SP10 Web Dynpro Runtime + hotfix release (Note: 984868)
SP11 onwards > Base SAP release
When you have the right runtime installed on your server, try the following code (Its a rough code, please adjust your code accordingly):
IWDPDFDocumentInteractiveFormContext iFormContext =
     WDPDFDocumentFactory.getDocumentHandler(controller, controlId).getDocumentContext();
IWDPDFDocumentAttachment attachment = iFormContext.newAttachment();
attachment.setName("name");
attachment.setResource(resource);
iFormContext.setAttachment(attachment);
I am not sure, if you have already tried the attachment capability to some extent or have you faced any exception while doing so. Please try, things should work fine.
>>>
Always mention the mandatory information in your message on this forum. It helps. See the moderator's declaration at the top of the thread list.
Best Regards,
Krish

Similar Messages

  • SO_NEW_DOCUMENT_ATT_SEND_API1:How to correctly attach a PDF file

    I have an ABAP report that will send an email and attach the PDF file.
    - convery spool to PDF     : CONVERT_ABAPSPOOLJOB_2_PDF
    - to send email          : SO_NEW_DOCUMENT_ATT_SEND_API1
    How I execute SM36:
    1. SM36
    2. Job Name
    3. Spool List Recipient : select my own address as internal user (I didn't tick any of the check box for the general attributes)
    When I go to TCODE SO01(SAP Inbox)
    The attachment I see is just a link to the output of my classic ABAP view report, it's not a PDF File.
    But I in SO01, I create a mail and attach PDF file, receive it my SAP inbox and can also open the attached PDF directly by just double clicking it.
    Thanks.

    Hi  Jaime Cabanban,
    Please find the Below Sample Program,
    BCS_EXAMPLE_8
    Thanks
    Surendra

  • Email attachment in PDF problem with Images

    Hi All,
    Can any one tell me how to solve the problem with Email attachment in PDF. If i remove the logo of the client in the Smartform i am getting the Email attachment fine but when i put back the image in the smartform the PDF is giving error and not opening the attachment.
    Regards,
    Lakshmikanth.

    Hi All,
    Can any one tell me how to solve the problem with Email attachment in PDF. If i remove the logo of the client in the Smartform i am getting the Email attachment fine but when i put back the image in the smartform the PDF is giving error and not opening the attachment.
    Regards,
    Lakshmikanth.

  • When adding a PDF file to a New Message in Mail it does not show up as an icon link, the entire document appears. How can you attach a PDF without the entire document displaying itself?

    After scanning a document, I save the file in a PDF format. When attaching the PDF file to a New message it appears on the entire page instead of a PDF icon link that the recipient can click on to open. Why can't I get the PDF file to appear in a icon format? Thank you.

    Control mouse click the document and select View as icon.

  • How can I attach a PDF file to an email I am replying to?

    Hi!
    How can I attach a PDF file already saved on my iPad to an existing email I am replying to from my inbox??

    If you have the PDF stored on the iPhone as a separate file you obviously also have a third party app for reading it, so you should be able to e-mail it from there.
    If it's on an existing e-mail, forward the e-mail and just change the contents but include the pdf

  • How can I attach a PDF file to an email?

    I would like to attach a PDF file to an email, how can I?

    If you have the PDF stored on the iPhone as a separate file you obviously also have a third party app for reading it, so you should be able to e-mail it from there.
    If it's on an existing e-mail, forward the e-mail and just change the contents but include the pdf

  • 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

  • How to automatically attached multiple PDF reports to an e-mail and send

    Hello.
    I have a requirement to generate multiple PDF reports using Oracle Reports 6i on the web, then automatically attach these PDF reports to an Outlook e-mail and then bring up the Outlook e-mail dialog box so the user can modify the e-mail (such as adding more attachments, adding a CC, BC, change the message text) before sending the e-mail. I want to be able to initiate all these tasks from Oracle webforms 6i in a three-tier environment.
    I have already read various notes and solutions but none of them address all my requirements. Examples:
    1. Using OLE to interface with Outlook - but OLE does now work on the Web
    2. Using Java stored procedure or UTL_SMTP - but this does not bring-up an e-mail dialog box
    3. Using mailto: in HTML and web.show_document - but this does not allow you to attach a PDF file
    Can you please advise on possible solutions to my requirements. Thank you very much.
    Regards,
    Armando

    Here is a great resource for sending binaries.
    http://otn.oracle.com/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    You'll want to use utl_http to run each report with a destype=file and then have another procedure running to check to see when all of your reports have finished. After they are finished, you would run the stored procedure to get all of the binaries, attach them in an email and then send it.
    If you want to concate all of the PDF files into one large file, you can do this with a Java stored procedure using iText.
    http://www.lowagie.com/iText/

  • I use Outlook for my email on the Safari web browser, and about 90% of the time when I want to attach a pdf or jpg file the email message will crash.

    I use Outlook for my email on the Safari web browser, and about 90% of the time when I want to attach a pdf or jpg file it fails and about 50% of the time when I want to send a standard text massage it will also fail and the email massage crashes. The only way I can get my Outlook to work is if I switch to Firefox web browser. I would rather not switch to a new web browser if I don't have to.
    It seems like what ever the problem is that its related the Safari web browser, because it works fine on the Firefox web browser.
    I think its some kind of plug-in failure because it giving me a LOC ERROR:
    LOC ERROR: Unable to locate localized string for resource ID 5007.
    How can I fix this Plug-in?
    And, yes my softwer is conpletly updated…

    That's an Outlook issue. You'll probably get better responses posting on the Office for Mac forums.

  • I am unable to attach a PDF file from Documents

    I am unable to access and attach a PDF file from Documents

    I assume you are trying to attach a PDF to an email. I can perform this task several ways.
    With a Finder window open and the PDF showing in that window, drag the PDF to the Mail app icon on the dock. This creates a new email and attaches the PDF to it. (PDFs tend to attach in inline view mode, that is you can see the entire document. To see it as a file icon right click on the PDF text and select View as Icon.)
    I can drag the PDF directly into an open new email message if both the email message and the PDF file can be seen.
    There's an icon on the Mail toolbar that looks like a paper clip. Click on it to get a file selector and drill down until you see the PDF. Select it and click OK.
    Select Attachments from the Edit menu and choose Attach file to end of message

  • How to attach a PDF from Ibooks to a current email - help  !

    Hello,
    I am using an Ipad mini and can't figure something out.
    I have a long email and would like to attach a PDF file to my latest response. The PDF is currently in my IBooks.
    I know I can send the PDF in a new/clean email, but the point is that I would like to be able to attach it to the current email. I can insert a photo or a video but there doesnt seem to be a way to insert a PDF file.
    I tried to open the PDF up in a new mail, cut it, then paste it into the existing email, but even that doesn't seem to work - I checked my sent box and there was no attachment on the mail when I tried it that way. The only way around the problem I can think of is to create the new email with the attachment, save it as a draft, go back into the original mail, copy it, go back into drafts and paste the existing text around my attachment - but this is a ridiculous and time-consuming process and not really practical.
    Can anyone kindly advise? I think there will be an easy solution, but I just dont see it yet -
    Thanks, M

    There is no way to do what you are trying to do. You have to send the email and the pdf from iBooks.
    Open the PDF in iBooks then tap the arrow icon in the upper left corner and select Email. Copy and paste the entire lengthy email into this new email in iBooks and send it that way, its clunky, but it is really the only way to accomplish what you want to accomplish using an iPad and the mail app. You can cancel the email in the iBooks app and it will allow you to save the draft and you can go back to using the mail app to send it, or just send the email from iBooks.
    The mail app will only allow you to insert photos and videos as attachments.

  • HT5361 How do I attach a PDF document and have it display as an icon, not the full document?

    When I attach a PDF file to an email message, the entire document displays.  How do I have the attachment display as an icon?

    Try using Applications/Utilities/Terminal - copy and paste the line below and hit return. Worked for me.
    defaults write com.apple.mail DisableInlineAttachmentViewing -bool YES

  • How do you attach a pdf file to a email in mailbox or gmail?

    I am trying to reply to emails and attach a pdf file from my Dropbox on new iPhone 6. I only get option to attach a picture or scribble

    Hello there,
    Once you have created a PDF file with Acrobat.com, this file will live in your file organizer; if you select the file, you will have the option to download it. You can do this either while viewing the document (by clicking the "Download" button in the top menu bar) or from your organizer (hovering over the file name, you will see a little arrow; click it, and in the resulting menu choose "Download"). In both cases, you will be prompted to choose the location on your computer to which to save the file. Once you have chosen a spot, the file will be saved there.
    Please let me know if you need any more information on this process.
    Best,
    Rebecca

  • How can I attach a PDF file on an iWeb created page?

    How can I attach a PDF file on an iWeb created page so that person can click the link and open the file.  I have a website for my Labradors and would like something that will link from the dogs web page to their pedigree.  TIA.

    Make a link to your pdf file.
    If that's too easy, do it the expert way :
    http://wyodor.byethost8.com/Attachment_with_php.html

  • Attaching a PDF document for a Invioce Parking thru FB60 in background

    Dear Friends,
    I am working on a requirement to build an interface for Invoice posting/Parking.
    Transaction used: FB60
    Invoice data will be stored in a staging server, same has to be read and posted in SAP. Till posting part i am clear with the requirement. Invoice data will be in a flat file which i can read and store in my Custome table.
    But customer is asking to attach a PDF document (which is a kind of supporting document not the invoice data) while doing the posting.
    My queries are:
    1. How to fetch the PDF files placed in an external staging server.
    2. How to attach those files while doing the posting/parking as job is executed in background.
    I want to use BAPI BAPI_INCOMINGINVOICE_PARK for parking the Invoice, but where to attach the PDF.
    Or can i do BDC to attach the document?
    Any info on this is highly appreciated and rewarded.
    Thanks,
    Simha

    Change in requirement..
    Hence i am closing this thread.
    Regards,
    Simha

  • Attaching a PDF document for a Invioce Parki thru FB60 in background

    Dear Friends,
    I am working on a requirement to build an interface for Invoice posting/Parking.
    Transaction used: FB60
    Invoice data will be stored in a staging server, same has to be read and posted in SAP. Till posting part i am clear with the requirement. Invoice data will be in a flat file which i can read and store in my Custome table.
    But customer is asking to attach a PDF document (which is a kind of supporting document not the invoice data) while doing the posting.
    My queries are below:
    1. How to fetch the PDF files placed in an external staging server.
    2. How to attach those files while doing the posting/parking as job is executed in background.
    I want to use BAPI BAPI_INCOMINGINVOICE_PARK for parking the Invoice, but where to attach the PDF.
    Any info on this is highly appreciated and rewarded.
    Thanks,
    Simha

    Change in requirement..
    Hence i am closing this thread.
    Regards,
    Simha

Maybe you are looking for

  • TDS rate changes, effective 1st Oct'09

    Dear All, We are planning to create new TDS codes for New TDS rates which will be effective from 1st Oct. - Using LSMW to upload the TDS codes - Not deleting old codes which are already assigned to the master After updating new tax codes for already

  • Can't get the partition disk back

    So I basically want to remove my windows 7 on my macbook air 2013 I followed the instruction until the last step it should be restore, but during the process something went wrong and it just stopped, and quitted. Now I could not restore my drive spac

  • Need Notification for attaching the handler On Closing of the HTML Extension in Indesign CC 2014

    Need Notification for attaching the handler On Closing of the HTML Extension in Indesign CC 2014 Hi, I need to process a couple of tasks after clicking on cross button(on top right corner of HTML extension) and before the Extension actually gets clos

  • Store presentacion catalog in database instead of file

    Hello, do you know if it is possible to store de the presentacion catalog in database instead of file system Thanks in advacne

  • How to execute a xquery transformation loaded dynamically

    Hi all, I wrote a simple java class that exposes a method for returning a xml string containing a XQuery transformation, let's say myXQ. Then I used a java callout action in order to execute this java class and store the result (that is myXQ) into a