How to show in a report a pdf blob from database

Hi all
We are working on report 6i and report 10. We have a report wich needs to show a blob field from database that storages a pdf (type application/pdf). OLE2 is deprecated. The pdf blob field must be displayed in a preview and must be printed. In local, it works. When it works on a browser, the pdf blob field is missing. If we load the field into a pdf file, the field is not visible in the browser.
Do not get it to work. How I can implement? Could you give us any example for this?

In local, it works. What do you mean by that exactly? You see the pdf in Reports Builder?
If you just want to show the pdf in a browser (not embedded in a report) it is easy to use mod_plsql. You can have a simple db procedure like this to show any kind of blob:
procedure show_webdoc(io_blob    in out nocopy blob
                     ,i_mimetype in varchar2
                     ,i_filename in varchar2)
is
begin
   if dbms_lob.getlength(io_blob) >0 then
      owa_util.mime_header(nvl(i_mimetype,'application/octet'),false);
      htp.p('Content-length: ' || dbms_lob.getlength(io_blob));
      htp.p('Content-Disposition:  inline; filename="'||i_filename|| '"');
      owa_util.http_header_close;
      wpg_docload.download_file(io_blob);
   end if;
end show_webdoc;

Similar Messages

  • How To Generate And Print Reports In PDF Format From EBS With The UTF8 Char

    Hi,
    I want to know How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set in R12.0.4.
    Regards

    Refer to Note: 239196.1 - PASTA 3.0 Release Information
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=239196.1
    Or, you can use XML Publisher.
    Note: 551591.1 - Need Latest XML Publisher / BI Publisher Patches For R12
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=551591.1

  • How to create a FSG report in pdf format

    How to create a FSG report in pdf format?
    Thanks In Advance
    Kris

    Hi,
    There is an enhancement request at user group review to create FSG's in PDF format. However, I transformed the FSG output by using ascii2pdf shareware software (do a search on google.) I created a shell script that did the transformation and emailed the report from Oracle Apps. It seems to work ok.
    Renee

  • How to search specific text/string in pdf files from command prompt?

    Hi,
    How to search specific text/string in pdf files from command prompt?
    Will be great if you can refer to any adobe provided command base utility to achieve the above target.
    Best Regards,

    You can't. The commandline parameters for Acrobat and Adobe Reader do not allow any type of commands to be run.

  • 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.

  • Write PDF files from database to file system

    Hi,
    I have a requirement of writing PDF files that are stored in Oracle 10g's BLOB column to the FILE SYSTEM using PL/SQL (Not java or any external stored Proc), since i need to write a shell script which will load the PDF files from database on a timely basis.
    Could anyone suggest me the way of executing this?
    Environment: Oracle 10G (10.2.0.1.0) with Windows 2003 server.
    Regards,
    Nagarjun.

    You could try to use the UTL_FILE package that is able to read/write text and binary data in a file located on the box hosting the database instance.

  • How to show a crystal report in a SAP Portal?

    Hi
    I am trying to show a crystal report in SAP Portal. I did a crystal enterprise report iview, and in SAP portal I got this error when I trying to show it:
    404 Missing Page
    The page you requested is not available on this web server for one of the following reasons:
    The address you typed may be inaccurate. For example, a character was missing. To correct this issue, double-check the address and make sure that it is spelled correctly.
    If you clicked on a link or button, the web application that generates this link may be experiencing a temporary problem. Close and restart your browser and try the link again at a later time.
    Then I test ce_url service, and got this error:
    Service cannot be reached
    What has happened?
    URL http://portalsap:8002/sap/bw/sap-client=100_cmsname=ipmachinebo call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system BTP with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:mars_BTP_02-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    I reviewed a Ingo's blog, and I have the configuration like he mentioned. With this handler
    /CRYSTAL/CL_BW_HTTP_HANDLER
    In http tab, I have
    Protocol: http
    Web server host and port: ipmachinebo:8080
    Path: SAP
    Viewer application: reportView.do
    can someone help me please?
    Regards,
    Paulina

    Hi Ingo
    Thank you for your response,
    I changed the 2 items, but I got this error when I executed the report in portal
    HTTP Status 400 - Invalid path /viewreport was requested
    type Status report
    message Invalid path /viewreport was requested
    description The request sent by the client was syntactically incorrect (Invalid path /viewreport was requested).
    And  when I tested the ce_url service I got this error:
    Service cannot be reached
    What has happened?
    URL http://mars.penitus.com:8002/sap/bw/sap-client=100_cmsname=192.168.0.35 call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system BTP with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:mars_BTP_02-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    Regards,
    Paulina

  • How can I copy and paste a pdf file from my picture file and paste onto a document?

    How can i copy and paste a pdf file onto a document.  I am trying to place and article onto my
    Reverbnation Press page.  They only give you the option to either place a url link or paste a document.  There
    is no uploading for the Press page.  thanks, elena

    The Digital Editions forum is here, in case this is what you are talking about:
    http://forums.adobe.com/community/adobe_digital_editions
    If you are not, I apologize for the misunderstanding.

  • HT5826 How do I transfer my hundreds of pdf files from iBooks on my mini iPad to iBooks on my iMac?

    How do I transfer my hundreds of pdf files in various folders in iBooks on my mini iPad to the unpopulated folders in iBooks on my new iMac computer?

    I don't know of an efficient way to copy all the PDFs in one go, although it might be possible using a thrid party tool. If your iPad isn't associated with your current library however see the user tip Recovering your iTunes library from your iPod or iOS device
    tt2

  • Fill pdf form from database table

    I am working on small application for my employer. We have record fo all new employee in table and want to fill PDF (I-9) from database using APEX application.
    Below PDF form, we want to fill from database table.
    http://www.uscis.gov/files/form/I-9.pdf
    I am not sure how to take from APEX. Any ideas?
    I know one way to export from database table and import to PDF form.
    Is there any other way?
    Thanks

    If I understand you correctly then I need to first export the xml file using Data-> Load sample XML data and later create template in template.rtf and upload data using APEX in template. In this case I need to create rtf template exactly similar to http://www.uscis.gov/files/form/I-9.pdf.
    I am not sure is there any way to to used existing pdf template or save pdf template to rtf template. Later that template can be used to populate data using APEX.

  • How can I delete the site (created in webDB) from database?

    Hi I have the WebDB 2.2 and Database server Oracle8i and I created a lot of sites with WebDB but I do not know how can I delete them from database server. Could somebody help to me?

    Log into sql plus as webdb
    Drop user <site name>_admin cascade;
    Drop user <site name>_public cascade;
    Drop user <site name> cascade;
    and drop any other users you have made specically for this site.
    Remove the dad from the listener settings.
    If you wish to use this site name again in the same database you also have to delete a record from a table in the Webdb schema.
    I can't remeber what that is.....
    Good Luck
    Dave.
    null

  • How to show web layout reports from 10g forms

    Hi all ! When I try to open a report file with extension .jsp from a Form using web.show document() or run_report_object() only paper layout is showing on the screen so how I display a web layout from a form with proper documentation or design. Again why only data is showing on the screen without line,ractangle and other documentation but when I run the same report from report builder It is showing all on the screen.Please help how to resolve this. Please provide some proper code or way to solve this.
    Thanks & regards
    Sanjit

    Well,
    Web layout means that in place of (or in addition to) the paper layout, you get the report designed in JSP code. So all the frames, repeating frames etc will be expressed in JSP code using the Oracle Reports custom tags. Since it is code-based, you can insert your HTML or Java code in here to customize the output. You can in fact start with the HTML template, open it in reports builder, and start inserting the data using Reports custom JSP tags. In web layout, there are no "page breaks". So your report will be a JSP file, and can be deployed along with your J2EE application.
    and see http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    Regards

  • Report : How to show all the reports in Content Management

    Hi,
      Can anyone tell me how I can show the "Resource Locks" Report in Portal.
      I can see 4 reports through Content Management -> Reports i.e. Approval Maintenance, Link Consistency, Resource Statistics, Time-based publishing.
    If I want to add more reports over here than "How I can achieve it".
      Also I have seen the settings System Administration -> System Configuration -> KM -> CM -> Repository Managers -> Reporting Repository
    But here I find no combo box for Active Reports, so from where I can activate the reports and show them in Content Management -> Reports
    Please help me.
    Regards
    Deep

    Deep,
        Are you talkign about the report which give you details of which Portal Objects are currently locked?
       If yes, then you can go to System Adminitrator > Monitoring > Object Locking
    Hope this helps,
    *Points will be appreciated.

  • How to show ABAP ALV report in Portal iview?

    I have a ABAP report developed in ALV grid. Now I want to show it in EP iview. How can I do that? What type iview I shall use? And any step by step procedure/doc will be really appreciated.
    Alternatively is it possible to create a HTML tabular report similar to that of ALV grid and show it in EP.
    How complex will it be?

    To add to padmakar's remark. You can use a transaction iview but it has limitations.
    First of all: You can use a transaction iview with or without Gui. If the user has a sap gui then 1) you make a transaction for your ALV 2) create a transaction iview defining the alv transaction + with gui output
    If the user has no gui. Then it will only work if your ALV is made web enabled ( so not on 4.6c ).
    Other alternatives are to create a BSP + bsp iview instead of a list. Or use Webdynpro.
    Hopes this helpes somewhat,
    Frederik

  • How to show photos in report ?

    I build table that has ORDSYS.ORDIMAGE column. Then I build
    report to show these picture but it don't show photos. It just
    show links to display photos while I'd like to display photos.
    I've set this column formatting as HTML.
    What should I do? Please tell me.
    Thank You

    Hi,
    Tnx guys, maybe il try it (about ORDIMAGE) some other time. I have an urgent task to do.. We are now migrating our application from the developement server with 9iAS 1.0.2.0.0 with Portal 3.0.6. Im having a problem on migration, coz the export/import utility of Portal 3.0.6 fails. Some guys like us from other discussions agree to that. So i upgraded my production instance to 9iAS 1.0.2.2.1 with Portal 3.0.9.8.2. with patch 30982. In which they the bug for export/import is fixed.
    Im posting my problem to you guys, maybe u can help me...
    How can i export my application running on Portal 3.0.6 (with a bug on export/import) to a production instance Portal 3.0.9.8.2? Can it be posible to migrate a portal instance from a lower version to ahigher version of portal?
    Some guys suggest for me to upgrade my development instance to Portal 3.0.9.8.2.. but i cannot do that.. coz it might destroy our application currently running on that developement servers over Portal 3.0.6.
    Pls do suggest.. coz it might be a great help to us.
    Tnx in advance,
    jeri

Maybe you are looking for

  • Message determination in purchase order

    Hi , We have maintained the Condition record for NEU by Tcode MN04 based on Document type and medium as default Fax and it is working fine however when we are trying to maintain the condition record for a particular vendor by Doc type/Purch.Org/Vendo

  • Function module that can give the last value or the highest value of a key

    hi, Is there any function module that can give the last value or the highest value of a key feild in a z table. regards, johnson

  • MS SQL Server 2005 Capture Problem

    Hi Friends I am looking to migrate SQL Server 2005 standard edition to oracle 10g. for that I am using oracle SQL Developer workbench tool 1.5.3 but I am getting error while capturing the MS SQL Server database. One thing I noticed, after creating re

  • Missing popup - FIND VARIANT

    Hi, I created a Z program and has selection screen variants for 3 users.  When I press the variant button on selection screen, popup FIND VARIANT is not displayed  to search a variant with search parameters (Variant, Environement, Created by..etc.).

  • Process chains always cancelled directly

    Holá Gurus, while executing a process chains, it is always cancelled directly. The log shows the following message: Process ABAP, variant /SIE/RT_PV_CLOSE_REQUEST_EFC is not scheduled waiting for event RSPROCESS 44IM3WWNHW3Q6IAMA88TS086H Message no.