PDF file in iview

Hi All,
we have to create an iView using NWDS to displays a PDF document generated through a SAPScript or Smartform.
Please let us know how to achieve this.
Thanks in advance.
SAP EP Team

Hi,
see Displaying a form in an iView & displaying data in .pdf format in an iView
Hope it helps
Detlev
PS: Please consider rewarding points if the answer is helpful. Thanks in advance!

Similar Messages

  • Server Side Caching of pdf files

    Hi all,
    I've run into a rather odd problem that I can't find a way around. I've created some URL iViews to display some html files and some pdf files. I've adjusted the Load parameters for these iviews to the following:
    Allow Client-Side caching: Yes
    Cache Level: Shared
    Cache Validity Period: 12 hrs
    Fetch Mode: Server-Side
    I've found that the html URL iViews work fine like this, but the pdf URL iViews do not. The pdf ones seem to just hang.
    I've noticed that if I change the Fetch Mode to client-side for the pdf files, the iview then begins to work. However, I don't believe that this is the way that I want to configure my URL iviews. I believe that I want them all to be server-side cached.
    I've followed the instructions on 'setting up system properties for proxy server' (System Administration -> System Configuration -> Service Configuration -> Applications -> com.sap.portal.ivs.httpservice -> Services -> Proxy). After making these configuration changes, I've stopped/restarted portal services. The problem still occurs.
    Does anyone have any idea as to what may be causing this problem and how do I fix it?
    Thanks!
    -Stephen Spalding
    Web Developer
    Graybar

    Hello.
    I have the same problem.  When I tried open a pdf file with  fecth = server-side,  I waitting for 500 seconds... But if I tried open with Fetcf = clien-side I only wait 2 seconds.
    Did you found the solution?
    Thanks.
    Paco.

  • KM Document iView for displaying PDF file.

    Hi all,
    I have uploaded one pdf file (Estimate.pdf) to KM in folder abc. I want to create an iView to display that pdf file in portal. For which I have created a KM Document iView and in "Path to Document" property I have assigned the document path like: /documents/abc/Estimate.pdf
    Now when try to see preview, instead of opening my pdf file, it shows only one image on top with text mySAP.com.
    I have also tried to create a link to my document and given the link path but I got the same result.
    Can anyone tell me why is this happening? Is there any other property to be set?
    Thanks in advance!!!!!

    Vikranth,
    Check for the path again carefully. I guess you are following the right approach, but instead of previewing it, try assigning it to a user and check what happens.
    Refer to this [article|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0235c19-9493-2b10-64a5-8487b23a7a41]for creation of iviews.
    Good Luck!
    Sandeep Tudumu

  • Pdf file iView

    Hi,
    have anyone the experience on how to deploy pdf files in an iView? We want to add several pdf files to the detailed navigation menu, but I dont find the iView template for this on v7.0. Is this possible at all, or do I need another approach?
    thank you!
    regards,
    hilde

    You can use a URL iview to display non-html objects like PDF files
    Read,
    http://help.sap.com/saphelp_nw70/helpdata/en/2f/84e378f6244113b0816b5d00cd3747/frameset.htm
    Regards
    Juan

  • How can i display a pdf file stored in my KM from webdynpro link ?

    Hi experts,
    i try to open my pdf file stored in km, in the same window of my webdynpro java who has the fire link ?
    i user tow  iviews with inBound and outBound plug, the first one has the fire link and the seconde an iframe witch i set source parameter to my km link where my PDF is stored. Unfortunately, the iFrame don't work correctly, and my PDF is not be displayed
    Can you give some advices ?

    Hi
    Recently in my project I came across a scenario where my Web Dynpro Project had to pick the image from KM. The images to be displayed will be placed in KM. This will avoid loading the images into the Web DynPro project. More over when you have KM installed on your EP server, one can use it for storing backend data and resources. The KM Admin will be undertaking this task of uploading the images to predefined folder structures. Through the application path to the image will be provided dynamically giving you the flexibility to decide which image to be displayed according to the business logic.
    Getting an image from KM Documents to be used in Web Dynpro
    Uploading files to KM repository using Webdynpro APIs
    KM with WebDynpro
    thanks
    Suresh

  • "Incorrect structure found in PDF file"?

    I put together multi-page seminar presentations by using the Acrobat "Create PDF from Multiple Files" command to join together individual PDFs acquired elsewhere or generated by Mathematica or Illustrator, and then reorganizing these pages in Acrobat.
    Fairly often, when I try to Delete an unwanted one these pages using Acrobat's Document >> Delete Pages menu command I get the error message "An incorrect structure was found in the PDF file", and the page simply refuses to delete (workaround is then to move it to the end of the file.
    Is there any way to cure or avoid these problems? Or a diagnostic I could run on the errant document? For example, to clean up the "incorrect structure" could I:
    --Burst (Extract) the file back to individual pages, run each individual page through a Save or Save As process in Acrobat or Illustrator?
    --Do the preceding on every page before assembling the first time?
    --Buy a whole new suite of Adobe programs?
    Doing a Save or Save As on the complete file doesn't seem to help.
    [This happen on a MacBook running Tiger (OS 10.4), Acrobat 7.0 Standard, Illustrator CS 7.0. Send me an email; I'll forward a cc of one of these files.]

    In response to questions from Leonard Rosenthol:
    Is it really 7.0 or are you current with 7.0.9? ==> It's 7.0.9
    It is 10.4 or are you current with 10.4.9? ==> 10.4.10 actually
    Happens only "every now and then" -- maybe 1 time in 10 -- don't identify any common factors or causes when it happens.
    Must confess: I have maybe couple thousand PDF slides total, captured off the net, obtained by printing to PDF on Mac, generated in Mathematica, created from misc photos, pulled out of Word docs and tech reports, etc, etc. All organized pretty well in folders, cataloged with iView, but no records kept of where they came from.
    Not a killer problem -- just makes me worry a little -- and wonder, if I understood the cause, could I fix the source slide that's maybe causing it -- or at least identify the problem slide.

  • Pdf file in portal

    Hi Detlev,
    I have received a requirement wherein the pdf file needs to be stored within portal, and on click of a link on the left detailed tree navigation iview, the pdf file needs to open up. The user does not want to store document in KM.
    Please advise.
    Thanks and regards,
    Arun

    Hi Arun,
    you can use the Web Server capabilities of the J2EE Engine for example by saving the PDF file to the irj-root directory on the Server machine, or better a subfolder:(..\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\mydocs).
    Now, by opening the link http://<YOUR_SERVER>:<YOUR_PORT>/irj/mydocs/PDF_file.pdf
    the user would open the document.
    But, to be honest, I would rather advise to store the documents in KM, as it would be easier to upload but also you could benefit of all important concepts like security, etc.
    Hope this helps,
    Robert

  • Creating a pdf from Webdynpro iview using "WebDynpro Java"

    Hi everybody,
           I have a requirement like creating a pdf file from the iview content in a web dynpro project.  
           Can any one explain me the procedure as well as code how to create a pdf from the table content using the "WebDynpro Java". 
    Thanks in advance,
    Naveen

    Hi Naveen,
    To be able to use PDF forms in Web Dynproapplications:
    &#56256;&#56442;SAPNetWeaver Developer Studio(minimum SPS 11) is installed
    &#56256;&#56442;Adobe LiveCycleDesigner7.0 is installed
    &#56256;&#56442;Adobe Reader7.0.x is installed
    &#56256;&#56442;SAP NetWeaverWeb AS Java compatible with the DevStudio s installed
    &#56256;&#56442;The Adobe Document Services are deployed and configured on the SAP J2EE Engine.
    &#56256;&#56442;The Active Component Framework(ACF) of the Interactive Forms integration is installed. (not mandatory)
    &#56256;&#56442; Internet Explorer(version 6)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2b6db1c4-0801-0010-faa5-ff4b4df55b45
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f09fc2-0401-0010-1482-dbf9891e7613
    Web Report to PDF
    /thread/104121 [original link is broken]
    Dynamik PDF
    Create Adobe PDF for user to download and print
    Online PDF
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8d7b9e7d-0c01-0010-2495-947691554cb7
    Regards,
    Mithu

  • IIsproxy, PDF files and IE60 as a browser

    We set up the IISproxy (1.6)for our EP 60 SP9. Everything works fine except when we try to open some PDF files. After some time we get the error "The file is damaged and could not be repaired". This error only occurs for some PDF's, independent of its size.
    When we access through SAP Web Server we do not get any problem to open those files.
    All laptops and desktop have MS IE 6.0 (6.0.2900.2180.xpsp_sp2_rtm.04083_2158) as official browser. When we try with other browser like firefox there is no problem at all.
    Any hint or help?
    Thanks in advance
    Antonio

    Hi
    We had similar issue with some PDFs on EP. For us, we used embedded iViews/HTML which renders PDFs. The problem is that embedded HTML with PDF does not work properly if you have fastwebaccess feature in the PDF.
    You will have to recreate/reprint/re-author the PDF without the fastwebaccess feature using Adobe.
    Thanks and regards
    Kwong Tat

  • How to show the pdf file of km in the portal?

    Hi all,
    I want to create a iView to display the PDF file of KM, how to do it?
    Thanks

    Hi Guang,
    You can create a KM document iview or a KM Navigation iview.
    Please refer to this document for the screenshots to creates these iviews.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0235c19-9493-2b10-64a5-8487b23a7a41
    Cheers!
    Sandeep Tudumu

  • How to create pdf from reports iView in VC?

    Hello,
    I have created a certain iView which presents a few BI reports in VC.
    Is it possible to add to it a button or a link that by pressing on it will generate a pdf file with these reports so the client can download?

    Hi,
    It can paste data into a microsoft word document. But the chart is not pasted. instead data in all components in the particular iview (including table data and chart data) is coiped into clipboard.
    Only, the category axis, value axis and data series fields are copied and can be pasted into excel. May be you can use an excel macro to make the chart with the data.
    Try another method
    For the button, give system action "print" with parameter "print screen".
    The whole screen is printed to printer including chart(correctly displayed). You can redirect the print to a file. But i have no idea, what is the format of the  print. may be you can try some picture viewers or do a google search for that
    Regards,
    Sooraj

  • Linking pdf file to a WPC Banner

    Hello All,
    Is it possible to link a pdf file to web page composer "banner" which will open on clicking on the banner?
    I have linked a pdf file to a banner in Web Page Composer. But on clicking the banner its showing "403 Exception. The requested operation is not supported".
    Its working fine with other types of files linked to the banner. I have full authorization in portal.
    Ours is SAP NW 7.01 SP 09.
    Regards
    Deb

    Hi Deb,
    You can create KM Iview from template (KM Iview can handle PDF Files) and then configuring KM as an external content provider for WPC like in this link:
    [Configuring KM as External Content Provider|http://help.sap.com/saphelp_enterpriseworkspaces11/helpdata/en/31/88e8bbffba46679fa31aa504585eaa/frameset.htm]
    hope this helped.
    Saar
    sorry this is NW 7.3- WPC
    Edited by: Saar Dagan on Mar 8, 2012 2:23 PM

  • HTML Container - pdf-file opens a new window

    I use the ITS Webservice PZ04.
    There is included a html container who shows the pdf-file inside this area.
    Now I have the effect, that this pdf-file will opena a new window, but not inside the html container!?
    First action before I have had this effect was the MS question-alert 'How you will open this file' Open/Download/Cancel - you know. - it never done before -
    What can I do to open my pdf-file inside the html container? It runs some times.
    Thanks!

    thank you for your answer, but it wasn't the solution.
    I don't open the iView in a new window.
    I open the iView (as IAC WebService via ITS) and the applacation generated a html container with pdf file!
    And this pdf-file opens in a new window.
    The Application runs up to now very good.
    I think any value was changed and I don't know which.
    It's possible the modification solved under MS or adobe!?
    Solution: First Deinstallation and then Installation of Acrobate Reader.
    Message was edited by: Ronald Kohn

  • How to generate PDF from an IView

    Hi all,
    I have been reading a lot about generating PDF document, smart form, adobe LiveCycle Forms, BAPI's..etc. but I can not find anything more simple:
    I just would like to show (and maybe save and print) in PDF format (maybe in a popup) an IView content.
    I have read how to generate a pdf file from a binary attribute of the Context, but nothing about how to fill this binary attribute with the data of the current showed IView.
    Is this possible?
    Thanks in advance,

    Hello, Lohitha.
    Thanks for your post. You are right, the general way to create a PDF is like that, using Adobe Interactive Forms.
    Using this, I must design a form and fill it with data binding. But, in fact, what I'm requested to do is just convert the current IView into a pdf file without using any forms, but keeping the IView design.
    Let me explain myself, It could be something similar to convert a .doc file into .pdf.
    I tried this code;
         IPrivatePDFComponentView.IContextElement contextElement = wdContext.currentContextElement();
         byte[] bytes = contextElement.getPdfSource(); //here I get bytes = null since PdfSource is empty if I do not use Interactive Forms!!
         try {
              File file = new File("C:\temp\example.pdf");
              FileOutputStream os = new FileOutputStream(file);
              os.write(bytes);
              os.close();
         } catch (IOException e) {
              // do something
              e.printStackTrace();
    Do you know how could I do that?
    Thanks

  • Filename in Save As dialog when saving PDF file

    I have a web site serving up PDF files. Without going into details, the URLs of the PDFs are not just your basic URL but look simething like this:
    http://www.domain.com/WorkFlowApp/Clients/demo1/secure/Promo%20Cover%20Cool-MedH i.pdf?userId=55b64ad5-28a2-490e-b3d6-4944099a390f#collab=CollabService@http://ww w.domain.com/ICCollab/IC_Service.asmx?WSDL
    In this case the actual filename is "Promo Cover Cool-MedHi.pdf"
    While viewing in Safari (OS X), if the user saves the PDF to their local machine, the Save As dialog comes up and the filename field is automatically populated. The problem is, instead of using just the filename, the field contains this:
    http---www.domain.com-WorkFlowApp-Clients-demo1-secure-Promo%20Cover%20Cool-MedH i.pdf?userId=55b64ad5-28a2-490e-b3d6-4944099a390f#collab=CollabService@http---ww w.domain.com-ICCollab-IC_Service.asmx?WSDL
    I know when performing the same action on Windows using Internet Explorer, the Save As dialog box filename field is populated correctly with just the filename (although it shows up URL encoded as Promo%20Cover%20Cool-MedHi.pdf, which is OK).
    I'd like to be able to force Safari to use just the filename in the Save As dialog box. Has anyone come accross this problem and figured out a solution?

    Hello Ebnul.nao
    I am having this same problemwith trying to work this out.
    Did you succeed in the end?
    I will really appreciate your help if you did
    Kind regards

Maybe you are looking for