Get PDF file from a Portal Form or Report

Hello All and thanks for your help in advance.
I am developing a portal application with a requirement to retrieve from our Oracle iFS document repository PDF a PDF file based on entered forms criteria or as a result from a return from a QBE report.
Will someone please provide guidance on this. It would be most appreciated.

Hi,
There are a few options:
You could have a button in the form with the following Javascript
in the Click event have   app.openDoc("/c/temp/myDoc.pdf"); // check Acrobat Javascript reference for full options
I think that there is a security issue with this method and therefore the PDF would need to be certified and the script run in a privileged context.
OR
You could include the static form on the last page(s) of your dynamic form. Set the presence of these page(s) to hidden in the Object / Field tab. Then within your dynamic form pages have a button "Show Static Form" with the following Javascript:
in the mouseDown event have   form1.pSTATIC.presence = "visible"; //This will make the static page visible
in the Click event have  xfa.host.currentPage = pSTATIC.thisPage.rawValue - 1; //This will jump the user to the static page
Lastly you could have a print button on the static form page, which will only print that page. Place an invisible numericField (called thisPage) on the static page with the following Javascript:in the Layout: Ready event have   this.rawValue = xfa.layout.page(this); //This flags the page number of the static form, which may vary because of the dynamic nature of the form
Then the print button would reference that page number, in the click event have:
xfa.host.print(1,(thisPage.rawValue -1).toString(), (thisPage.rawValue -1).toString(), 0, 1, 0, 0, 0); //Prints static page only
form1.pSTATIC.presence = "hidden"; //Automatically hides the static page after printing
xfa.host.currentPage = "0"; //Jumps the user back to page 1
I know the second option may appear more involved. But it does keep both the static and dynamic versions together in one PDF. Also if there are some fields that can be predetermined, then they can be filled in to the static form before printing (or they can be assigned to the corresponding fields in the dynamic form using the global binding).
Good luck,
Niall

Similar Messages

  • How can i get pdf files from my ipad to my pc?

    Please help im so lost, i need to get a pdf file from my ipad to my pc but it doesnt work with workspaces. I really need it for uni.

    If you are running the Adobe Reader app on your iPad you can upload your pdf to .crobat.com and then download it to your laptop
    On your iPad open your PDF in the Adobe Reader app
    Select the save icon in the top toolbar - looks like a doc with a wrench)
    Select 'Save to Acrobat.com'
    Select the 'Get Started' button
    Enter you Adobe ID and password
    Your file should be saved up to Acrobat.com
    Go to your PC
    Launch your internet browser
    Open https://files.acrobat.com/
    Log into Acrobat.com with the same Adobe ID as you used on your iPad
    Your file should be available
    Select the file and select the Download icon
    You can download the file to your hard drive
    Another option is
    Go to you PC
    Launch Adobe Reader
    Select File > Open
    From the Open Dialog select the dropdown arrow beside 'Open from online Account' - select Acrobat.com
    You will be prompted to enter your Adobe ID and Password
    You should then see your PDF in the listings
    Select to open
    Once open you can save to your desktop
    hope this helps
    Susan

  • How do i get PDF files from email to open with 6.0.1?

    How do I open PDF files from email in 6.0.1?

    Just tap the PDF icon and will open in the viewer.

  • Upload PDF file from SAP Portal and save in SAP

    A file in PDF format needs to be uploaded from SAP Portal and the file is to be saved in SAP. Request for help, how to do the same. What are the FM to be used etc..
    Thanks,

    hi
    Use FM  GUI_UPLOAD with file type as BIN
    there are similar threads...pls refer to them for more details:
    https://www.sdn.sap.com/irj/sdn/profile?userid=3166533
    Upload pdf file to SAP
    PDF File
    reward if helpful
    regards,
    madhu

  • How to get pdf file from sap presentation server using java connector

    Hi Friends,
    with the below code i am able to get po details in pdf in presentation server.
    DATA : w_url TYPE string
           VALUE 'C:\Documents and Settings\1011\Solutions\web\files\podet.pdf'.
    CALL FUNCTION 'ECP_PDF_DISPLAY'
            EXPORTING
              purchase_order       = i_ponum
           IMPORTING
      PDF_BYTECOUNT        =
             pdf                  = file  " data in Xsting format
    *Converting Xstring to binary_tab
          CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
            EXPORTING
              buffer                = file
      APPEND_TO_TABLE       = ' '
    IMPORTING
      OUTPUT_LENGTH         =
            TABLES
              binary_tab            = it_bin " data in binary format
    **Downloading into PDF file
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
      BIN_FILESIZE                    =
              filename                        = w_url
              filetype                        = 'BIN'
             TABLES
              data_tab                        = it_bin
    when i am using java connector , to retirve the file from presentation server , the follwoing error i am getting...
    init:
    deps-jar:
    compile-single:
    run-single:
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Error in Control Framework
            at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)
            at com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(MiddlewareRFC.java:1244)
            at com.sap.mw.jco.JCO$Client.execute(JCO.java:3842)
            at com.sap.mw.jco.JCO$Client.execute(JCO.java:3287)
            at PdfGen.<init>(PdfGen.java:35)
            at PdfGen.main(PdfGen.java:78)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 1 second)
    i debugged too, problem with <b>gui_download......</b>
    I am very glad to all with your suggestions!!
    Regards,
    Madhu..!!

    Hi
    You can try to create an external command (transaction SM69).......sorry I've forgotten,,,,they works on application
    How do you call CL_GUI_FRONTEND_SERVICES=>EXECUTE?
    Max
    Edited by: max bianchi on Oct 13, 2011 10:27 AM

  • How do I get a value from a portal form for a non database field ? HELP!!

    I have a form based off of a table that I added a field to. The form is to allow the user to change abbreviation for a
    department field ie. BIO to BIOL. for a biology department. I have a pl/sql procedure for validation using the custom option
    on the update button to verify the user and update the data. I have tested to code at the sql prompt and it works.
    They only difference between the prompt and the form is the non-database field new_dept_abbr was added to the
    form. I don't know how to capture the value of the user input into a variable that can be used in the pl/sql.
    Any help would be appreciated.
    I have tried this approach
    v_new_dept_abbr := p_session.get_value_as_varchar2(
    p_block_name => 'default',
    p_attribute_name => 'new_dept_abbr'
    have tried using p_attribute_name as 'a_new_dept_abbr' but this does work and does not exist in the body of the form.
    Have also tried setting the p_block_name to _session - still doesn't work.
    Any ideas??
    Thanks
    Debbie Brennan

    Thanks for the info. I tried that and it still doesn't pull the value. I have opened a TAR via metalink, but I'm not getting any
    satisfactory answers. I ran across an note - 137172.1 that has this snippet of information in it.
    Unfortunately, at this time (portal 3.0.7.6.2) , a non-table item cannot be
    referenced in a plsql event handler, only in client side JavaScript code. This
    is a known limitation and will be fixed in a future release.
    I don't know how to get the value from the client side JavaScript code to a pl/sql variable. Do you?
    I've been trying to get them to tell me if the 'known issue' has been addressed in 3.0.9.
    I'll keep at it. Thanks so much for your suggestion I appreciate it.
    Deb

  • How to get .pdf files from iMac to laptop?

    This is a question on behalf of a friend of mine who has a desktop iMac (OS 9.2 -- about 5 years old) as well as a MacBook laptop (Tiger 10.4 -- brand new) .
    He has received multiple .pdf files via email (Comcast) and has those saved to his desktop iMac. He wants to get them onto his laptop.
    How does he do this?
    Thanks in advance.

    I think the easiest, most elegant way to to do this would be to have him simply, email the pdf's to himself.
    He could then retrieve the email while using the laptop. He could even go online to his comcast webmail account and download the pdfs he has attached to an email - He can download them to the desktop of any computer in the world.
    I think the ethernet cable and creating a target disk steps are a bit of overkill for such a simple task, not to mention, if you don't have those cables, running out to make such a purcha$e in this instance is not justified and a waste of time (IMHO) - But proof that with a Mac you can accomplish one task in several ways.

  • How do I get PDF files from Windonws into my iPod Touch?

    I've downloaded PDF's frm websites directly into my ipod touch, but I've got several on my PC that I want to transfer as well.
    How do I do this from iTunes?

    Hello Tony,
    See this Apple support document for more help and information regarding how to import and transfer these files over to your iPod running iOS4 using iBooks.
    http://support.apple.com/kb/HT4059
    Or use a third party app such as PDF Viewer to sync these over to your iPod.
    B-rock

  • Invoking PDF file from Forms

    We had a requirement in Oracle 10iDS to invoke PDF file from the Application form .I am trying to do that using client_host('AcroRd32.exe D:\temp\abc.pdf') which is not working ..
    I have webutil configured as well ..
    Can you some one suggest me on this
    Many thanks
    Sareen

    Sareen,
    If the PDF is on the client:
    web.show_document('file://D:\temp\abc.pdf', '_BLANK');
    If on the Application Server, then create a virtual directory (for instance docs/):
    web.show_document('http://server.com:7778/docs/abc.pdf', '_BLANK');
    Regards,
    Martin Malmstrom

  • Problems opening pdf-files from KM of portal

    Hi,
    we store documents in our portal in KM. When I use pdf-files that where not saved with Office2007 tools I get the problem, that I can open the file once. If I open it the second time I get the error message "file doesn't start with "%PDF-". and the file will not be opend. If I delete the temporary files in the internet explorer, the file can be opended, again.
    If I open the file directly in the internet explorer I don't have those problems, so it seems, that the portal uses a different viewer than the internet explorer itself. 
    Has anyone an idea how to solve this problem?
    Regards
    Ulrike

    Ulrike,
    I think this is a known issue.
    Affected versions:
    o KMC SAP NetWeaver 7.0 (formerly named 2004s) SP 14
    o KMC SAP NetWeaver 7.0 (formerly named 2004s) SP 15
    If you have the above KMC and SP Versions then you need to follow the below SAP note:
    Note 1146711 - Problem opening PDF files.
    Have you checked the belowSAP Note?
    Note 954627 - Issues with opening/displaying PDF files from KM
    Regards,
    Karthick Eswaran

  • I am trying to open PDF files from safari, but when I click on them they open in a separate window and the information is encrypted. Any ideas on how to get them to open them in Adobe? Any help please!

    I am trying to open PDF files from safari, but when I click on them they open in a separate window and the information is encrypted. Any ideas on how to get them to open them in Adobe? Any help please!

    The pdf is loading as html code. If you save it, it will download as :
    605124.pdf.html
    Change the extension to .pdf
    And it opens and works perfectly, I just tested it:
    Use this link to download it automatically:
    http://saladeaula.estacio.br/arquivo.asp?dir=00/1020624/605124.pdf&num_seq=59828 4

  • How do I get Adobe Acorbat to open a .pdf file from a sharepoint library without having to checkout the file

    I have a customer that is using Adobe Acrobat pro version 10.1. When they try and open a .pdf file from a SharePoint site, the user is prompted to check out and open the file or open the file. Is there a way to get Adobe Acrobat to open the .pdf file without prompting to check out or open?
    Thanks
    Jim

    This is mostly a lion thing, rather than a PSE thing. To disable applications opening where they left off last time for all the programs on your computer, go to system preferences>general and untick this box:
    You can also do on a per-program basis, but it's more complicated and the best thing to do is to search around for directions on the web and see which way is least uncomfortable for you.
    There's an odd little glitch in PSE that it opens the last image you had open, even if you closed it before quitting last time. Adobe says this is correct behavior, but of course it isn't.

  • I am trying to upload my PDF file from my IBooks but its only giving me the option to upload from my pictures/gallery. How do I get it to where I can upload PDF files from my iBook or how do I transfer my PDF files to my pics?

    I am trying to upload my PDF file from my iBooks but its only giving me the option to upload from my pictures/gallery. How do I get it so I can upload from my iBooks or move my PDF files to my gallery so I can upload it?

    I'm having the same issue. I saved a PDF from an email into iBooks. I'm on apple applying for a job but the only option the upload button has is from the Photos file. How ironic right? Luckily I'm in Logistics and not an IT specialist applying for this job! Lol. Does anyone know the fix?

  • I have just upgraded to OSX 10.6.8 and now I cannot open or save PDF files from the internet. I get a dialogue box saying the QuickTime plugin has failed. I have tried to download the latest plugin but this doesn't work. Can anyone help?

    I have just upgraded to OSX 10.6.8 and now I cannot open or save PDF files from the internet using either Safari or Firefox. I get a dialogue box saying the QuickTime plugin has failed. Can anyone help?

    Is this what you downloaded: iTunes 10.7?
    When the update fails what if any error report do you get, specifically? Please do this before trying again:
    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

  • How do I get iCloud to accept PDF files from my scanner

    How do I get ICloud to accept PDF files from my scanner

    You might try the third party application Air Docs, I've briefly tried it, but not enough to provide an opinion on it.

Maybe you are looking for

  • How is the best way to sinc my iPad 2 to my MacBook pro

    I have a new MacBook pro. I have transferred my iTunes library to the MB. I would like to sync my iPad 2 to the MB. What is the best way to do this? The MB iTunes library has 2200 songs while the iPad has 1300. Thanks

  • Time Capsule no longer backs up since I've moved

    Hi all, this is the second time that this has happened. My TimeCapsule was working fine, with no issues, until I boxed it up because I was moving to another apartment. I set it up on the other end, and re-established my wireless network (still with t

  • Process chain creation: error:

    Hi, i am creating process chain for the data upload of three info packages! Two are master data IPs and one is transactional data IP. ( Requirement is to make single process chain for the master data and transactional data ). Before transactional dat

  • DVD to quicktime

    Anybody know how to convert DVD to quicktime so it can be imported into FCP? Thanks Andy

  • Captivate and Akamai

    Hi, First time post here so be gentle :) I am trying to stream FLV files from Captivate (2.0) hosted on Akamai. with little success. According to the Akamai Flash documentation, their streaming service is not compatible with MediaController/MediaDisp