Displaying a PDF document in an ecommerce application

I am working an SAP ecommerce application and i have a requirement of providing a invoice document(PDF) which
need to be retreived by calling an RFC (output in binary) and i would like to retrieve the same using Jco and display.
Is the approach is ok..or please suggest me if there is an alternative.
Application using Java Struts Framework -
Good points would be provided
Edited by: Venkatasatish Babu Katabatina on May 29, 2009 9:39 PM

You might be able to provide points to some worthy responder on a different forum.
This forum is specific to SAP Business Objects line of Business Intelligence products, and the SDKs that come with them.
Sincerely,
Ted Ueda

Similar Messages

  • Launching a invoice PDF document from an ecommerce application

    I am working an SAP ecommerce application and i have a requirement of providing a invoice document(PDF) which
    need to be retreived by calling an RFC (output in binary) and i would like to retrieve the same using Jco and display.
    Is the approach is ok..or please suggest me if there is an alternative.

    Hi Ram,
    Here is the problem...
    The pdf data is opening up properly in Mozilla browser and where as in IE it is giving me a problem where it is trying to download and finally throwing an error stating the server is down and closing the window as download error.
    Is there any issue with the content type? Request you to suggest.

  • Display PDF document in Flex Windows application

    Hi,
    I am creating a flex windows application using action script and mxml script.I need help in displaying a PDF document in that windows application.I tried google search it is giving me some open source projects with IFrames.But,they can be only used for browser applications(web).So,anyone please suggest me how could i accomplish this task with winows application.
    Thanks,
    adi2010

    Hi Everyone,
    I got the solution for my issue.We need to use HTMLLoader to load the PDF documents in Windows aplication for Flex.

  • How to display a PDF document in popup window

    Hi,
    I have a requirement where i need to display a PDF document to be obtained from a virtual repository and then display it on a popup window.
    Thanks
    DS
    PS: any code snippet or link explaining the above will be helpful

    Use should the ShowProperty servlet in a link or javascript, e.g.:
    <a href="/mywebapp/ShowProperty/path/to/pdf/node
    target="someOtherWindow">pdf</a>
    pdf
    Or, with dyamic node retrieveal (from search or contentSelector,
    assuming node is the pdf Node):
    <a href="/mywebapp/ShowProperty<cm:getProperty node='<%=node%>'
       name='cm_path' conversionType='url'/>
    target="someOtherWindow">pdf</a>
    <a href="javascript:window.open(
       '/mywebapp/ShowProperty<cm:getProperty node=<%=node%">"
    name="cm_path" conversionType="url"/>',
    'SomeOtherWindow',
    'height=400,width=400,scrollbars=auto,resizeable=yes');return false;">
    pdf</a>
    Greg
    Sanjay Datta wrote:
    Hi,
    I have a requirement where i need to display a PDF document to be obtained from a virtual repository and then display it on a popup window.
    Thanks
    DS
    PS: any code snippet or link explaining the above will be helpful

  • Display word/pdf document in the HTML region or report

    Hi,
    How to display blob content stored in a table in HTML region or report region.
    I already have a process to display the image content.
    But my question here is how to display word/pdf document within the html region so that the user can read the document without downloading it.
    Any suggestions/solutions would be of great help.
    Thanks in advance...
    Thanks,
    Ramesh P.

    I was dead wrong.
    The display of images from BLOB is a special case because APEX provides a Display Image item type.
    Moreover, HTP/HTF packages also do not provide for handling of BLOB content. So AJAX cannot be used.
    Which implies that the only way to get binary content, other than images, is with the use of a WPG_DOCLOAD.DOWNLOAD_FILE call.
    This in turn implies that it may not be feasible to "inject" the BLOB into an exist HTML DOM in the Browser.
    Regards,

  • Display a PDF Document from a standard transacction

    Hi.
    I need to display a PDF document located in a server outside SAP. The idea is to implement a menu exit and add a new button to a standard transaction. When the user press the new button a PDF document must be displayed.
    I want to know if this solution is possible and if you know any function in SAP to display a PDF document.
    Thanks.
    Diana.

    hi,
    chk out this link..here you can find various ways in displaying PDF..
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=how%20to%20display%20pdf&cat=sdn_all
    thanks
    jaideep
    *reward points if useful..

  • Incorrect font display in pdf document(web view)

    Adobe helpers,
    I am encountering a  very peculiar problem with incorrect display of fonts in pdf documents when viewed in a web browser. Briefly, the problem typically affects  the first page of a pdf document, the font being displayed as an unidentified mix of large and very small, skinny type.  Other pages may or may not be affected, and if one back-clicks to the previous page the text often displays the correct font, so the problem is in some (but not all) cases non-persistent.  The problem however is resolved completely if I uncheck the 'display pdf in browser' option  under edit>preferences in adobe reader. Fonts I use include Arial, Cambria, Franklin Gothic Book, and Garamond; as straight-up pdfs, the documents look fine. FYI, I have Adobe reader X 10.0.1 (Win 7) and 9.0 (Win XP sp3) installed on two different machines. Firefox 3.6 and IE9 are equally at fault. FWIW, all the pdf documents begin life as MS Word or Publisher 2010 documents, which are converted to pdf within these applications before publishing to web.   Since I can't control how people choose to view web pdfs, I'm concerned that display of the prone documents is impaired when viewed in a web browser.
    Not sure if this is a reader, browser, or distiller problem but this seems a logical place to start looking for answers. Any thoughts?
    Thanks!

    I've also had problems printing with Reader X.
    When printing an attachment from an email in Outlook, if I don't open the attachment first, sometimes it doesn't print correctly as everything shows with the following number or letter. Example 12345 will print as "23456" and invoice will show as "jowpjdf". Even if I open the attachment, sometimes it will print the first page ok, but the next pages will "mppl mjlf uijt".
    Never had this problem with previous versions.

  • Select RTF Data and display in PDF Document

    Hi all,
    I have a simple table:
    CONTENT_ID - NUMBER
    CONTENT - VARCHAR2(4000)
    On top of this table I have a form that allows the user to enter / update data. The 'CONTENT' field is a Rich Text Editor (ApEx 4.0 - CKEditor 3). This allows the user to enter and format their text as they require.
    I need to be able to select this data and display it in a PDF Document (via BI Publisher).
    I therefore have a simple query
    select content from content_table where content_id = 1;and a simple template that processes the resulting xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <ROWSET>
       <ROW>
          <CONTENT>& lt;h2& gt;
         This is a heading& lt;/h2& gt;
    & lt;p& gt;
         This is the text& lt;/p& gt;
    </CONTENT>
       </ROW>
    </ROWSET>(There is not really a space between the & and 'lt' etc but I had to add this to get it to display correctly here).
    Where I run this past my template I get a PDF with:
    <h2>
    This is a heading</h2>
    <p>
    This is the text</p>I get the same if I generate HTML.
    but what I want to see is the text formatted as the user has entered in the RTF editor.
    Can this be done?
    Many thanks,
    Martin

    I think your mixing 2 technologies.
    At 1 side you have xml in combination with xsl (style sheets used in BI Publisher and FOP) to generate your pdf. And at the other side you have HTML...
    XML and HTML are 2 entirely different technologies which you can not mix this simple. I investigated the same problem as you had, and in the end I ended up using jasperreports instead of FOP.
    Maybe BI Publisher has some html regions which you could insert into your word document but I doubt it cause more people have asked the same question on this board...
    So my advice: use jasperreports (also it is free for commercial usage)
    Success
    Br,
    Nico

  • Problem in getting complete display in pdf document from spool

    Hi,
    I have a report1 which calls another report2 in the background. The report2 which is run in the background produces some output and thus generated a spool.
    Report1 then gets the spool number generated from report2 and converts it to a pdf document .
    The problem is that the complete width of data in spool is not coming on pdf.
    Forex , if the spool contains following records:
    1. AAAAAAAABBBBBBBBBBCCCCCCCCCCCCCDDDDDDDDDDDDD
    2. SSSSSSSSEEEEEEEEEETTTTTTTTTTTTTTTTTUUUUUUUUUUUUU
    when this is converted to pdf, the pdf doc will display data as:
    1. AAAAAAAABBBBBBBB
    2. SSSSSSSSEEEEEEEE
    Complete width is not coming in the pdf document.
    Any ideas on how to resolve this issue? Can this be handled by ABAP or BASIS team needs to be include to solve this..All ideas are welcome...
    Harmeet Singh.

    Hi,
        Im also facing the same problem of truncation.
         can someone please reply back if there's a solution ?
    Thanks
    Sourav

  • Suddenly double-clicking on a PDF document opens the Acrobat application but the document does not load.

         Up until today I had no problem opening a PDF document that I have already saved by double-clicking on it.  Now when I do that, my Acrobat application opens, but the PDF document does not.  I need to use File/ Open to select the document I want to see, or I need to right mouse click on the PDF document and choose “Open with”.  I had this once before and I had help to resolve this, but I am using Acrobat 7 Professional and since it is not supported, I can’t get help when I call Support.

    Sounds like a Windows problem. Try the right click and then select the ALWAYS open with feature. That is supposed to fix the link. If that does not work, open the file type menu under the TOOLS>Folder Options (XP view, may be other in VISTA). If you select advanced under PDF, you should get a link under the open>edit something like "c:\adobeapp\acrobat 5.0\Acrobat\Acrobat.exe" "%1". The comment you make sounds like the %1 or the quotes are missing. Bill

  • Is it possible to display a pdf document in flash?

    I'm not that familiar with flex/flash but i was wondering if it's possible to display a native pdf document in flash.  If so are any add-on's required or does flex/flash have that capability built in.  Essentially I would be trying to create a pdf viewer in flex that allows users to markup documents and save them to the server for others to view.  I'm just in the discovery phase of this project, so any guidance would be great.
    Thanks!

    Thank you very much for the reply, that's an interesting project.

  • No text displayed in PDF Document

    Hi @all,
    I want to download a PDF-Form to my local machine.
    Approach:
    - CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
    - CALL FUNCTION 'FP_JOB_OPEN'
    - CALL FUNCTION h_funcname
    - CALL FUNCTION 'FP_JOB_CLOSE'
    - CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    - CALL METHOD cl_gui_frontend_services=>gui_download
    I just inserted a static text in the PDF Document (Font: ARIAL).
    Adobe Document Designer shows this text on the preview tab but
    the downloaded PDF Document is empty.
    Only the graphical elements like circles are displayed but no text.
    System-Details:
    SAP ERP Central Component 5.0
    Release 640 Non-Unicode
    Adobe Designer Version 6.0
    Do you have any ideas?
    I just found the note 715599 but this refers to UNICODE Systems.
    Thanks.

    Hi,
    thanks for you answer.
    But the document only describes the conversion of SAP Script into PDF file.
    The OTF output of the SAP Script is converted to PDF by using the function module CONVERT_OTF.
    Do I have any other possibilities to access and download the PDF Document without using SAP Script?
    I already created the PDF Interface and PDF Form by using the "Form Builder" (Transaction SFP).
    My program shall access and download this Form.
    This works almost but all of the text information is obviously lost. All of the graphical information is displayed in the downloaded document.
    Thank you for you help.
    Christian Nitschka

  • How to display a pdf document in an ADF Task Flow?

    I have a requirement where I need to display a pdf doc in RHS task flow, upon a linked clicked on LHS task flow. Passing the pdf doc name is what I know already. All I need to know is, how to display the pdf doc in a task flow.
    Remember, I don't want to display this as a "POP-UP".
    Appreciate help on this!
    Edited by: Yousuf Baig on Mar 9, 2013 9:01 PM

    try like this...
    <af:panelSplitter id="ps1" orientation="horizontal"
    <f:facet name="first">
    <f:facet name="second">
    <af:panelHeader
    <af:region....(have a fragment and use fileDownloadActionListener)
    </af:panelHeader>
    </f:facet>
    </af:panelSplitter>

  • Displaying a pdf document

    I have a .swf file with full animation and sound running. I
    want to insert a link that will either display an embedded pdf file
    OR display the pdf in a new window (using, e.g., getURL and a
    stop() to turn off sound). I want to turn the sound
    off during the display and then either return to the swf
    front door or turn the sound back
    on when the user finishes viewing the pdf.
    What is the best way to do this, or can it be done at
    all???

    You might be able to provide points to some worthy responder on a different forum.
    This forum is specific to SAP Business Objects line of Business Intelligence products, and the SDKs that come with them.
    Sincerely,
    Ted Ueda

  • Adobe reader displays a *.pdf document perfectly ...

    ... it also send's it to the printer (page by page),
    at the very end it 'pretends' the printer isn't connected (but it IS. i printed eMails and text-documents the minute before). see the error message in -> http://picasaweb.google.com/ggamauf/MeineAdobeSetup#5532446101589409618
    i'd be glad if somebody had and solved the same problem.
    i'll happily supply details if required.

    >>> Can Adobe Reader make a PDF Document of my Website <<
    no... google time... WEB TO PDF
    Beverly Howard

Maybe you are looking for

  • IPod touch troubleshooting with restoring.

    The other day my iPod stopped working. I went to turn it on the screen flashed white several times and I ended up with it asking me to connect it to iTunes. I connected it to iTunes and it said that my iPod could not be restored (40) I've done all of

  • Regarding_Reporting_Services_Configuration

    hi, I have installed SQL Server 2005 on Vista OS. Know when I am configuring Reporting service configuration, I am getting error "Unhandled exception has occurred in your application. A WMI error has occurred and no additional error information is av

  • Problem with Mac initial setup

    I bought a new Mac mini with a track pad and was not able to get beyond the second screen. The pointer moved but I could not click on anything. The track pad section of System Preferences allows you to select the gestures it will recognize. The singl

  • How to Create process of Type : Get Next or Previous Primary Key Value

    Hi, Can anybody give the steps how to create the page process for type Get Next or Previous Primary Key Value in oracle Express database Ramesh j c.

  • Attaching drawings in project system

    H friends, I would like to know the steps involved in project system to attach a drawing with activity. The drawing size would be around 2 MB and any user who checks that activity against any WBS should be able to open and review the drawing. Regards