Report 6i and Blob

Currently, I have a word document (BLOB) stored in a table.
The goal is to fetch the BLOB and display the content of the word doc in the report.
I've tried to add a report field which maps to the db column as Binary LOB with File Format property = 'text'. (I've also tried File Format property = OLE and few others. none of them works)
All I am getting is bunch of scrambled character.
What am I missing here?
Thanks!

I looked around Metalink and found...
Unable to Display Complete MS-Word Document from Oracle Reports [ID 233445.1].
It mentioned one work around is to transform the ms-doc to a text file.
However, I am more interesting in what you mentioned earlier... "Split the original in several one page doc."
Is there a programming way to achieve the goal for splitting the original doc in several pages while save into DB via Oracle Form? or do we just have to split the doc manually?
Thanks.

Similar Messages

  • Report 6i and BLOB type of field

    Hi,
    I have a table name logo, fields are:-
    LOGO_NAME varchar2(100)
    LOGO BLOB
    If I used form to load picture and saved into this field, how can i extract the data into report?

    Sorry that I must add also that I am using report 6i

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

  • Store report output to blob column

    Hi,
    I would like to know whether it is possible to execute a report built using Report 10G and store its output, e.g. PDF content, onto a blob column of a table directly? If it's possible, could anyone show me an example in achieving it. Thank you.
    Regards,
    John

    Navneet,
    Thanks for the sample. I've tried setting up this custom destination and I get the following error when trying to run a report.
    REP-50125: Caught exception: java.lang.NullPointerException
    The URL that I am using is as follows:
    http://server_name:port/reports/rwservlet?report=report_name.rdf&userid=username/password@tnsname_entry&destype=BLOBdestination&desformat=PDF&DESNAME=http://username/password@host_name:port/instance/table_name/document_column_name/primary_key_column_name/10/report_desc_column_name
    Any ideas on what I've done wrong?
    Thanks
    David

  • Report with a blob

    Hello!!
    I need make a report with a blob. I have this table:
    CREATE TABLE DOCUMENTOS (
    ID_DOCUMENTO NUMBER NOT NULL,
    ID_PROY NUMBER NOT NULL,
    ENCABEZADO VARCHAR2 (100),
    TEXTO VARCHAR2 (500),
    PATH BLOB,
    FECHA_CREACION DATE,
    TODOS CHAR (1),
    DGTM CHAR (1),
    PROYECTO CHAR (1),
    TIPO_DOC VARCHAR2 (50),
    CONSTRAINT PK_ID_DOCUMENTO
    PRIMARY KEY ( ID_DOCUMENTO )
    I need a report that displays all the PATH depending other table.
    How can I do it???

    check this How to Upload and Download Files in an Application
    let me know if you have any doubts

  • I am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier

    i am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier photo please help me to recover my photos

    Well I'll guess you're using iPhoto 11:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • CR XI R2: Crystal Reports freezes and crashes when I try to open a report

    I added this question as a Reply to a message by nic2deep a month ago <Crystal Reports freezes every time I try to open a report.>, but got no response so I thought I'd try again on my own.
    I have 2 laptops with CR XI installed (same problem from original R2 through SP 5). The old laptop is an IBM Thinkpad R51. The new one is an HP Elitebook 6930p. Both have the exact same software and versions of Win XP and network security.
    If I try to open a report that has an "invalid printer" selected, it will open in the old IBM (with the message, 'This report uses an invalid printer. The default printer will be used instead'), but on the new HP, it freezes and I have to do a CtlAltDel to get out.
    I've tried everything Don Williams suggested to nic2deep:
    1) Open Contol Panel and add/remove programs and select CR. Do a repair install and if possible use the Custom Options and install all DB drivers and Export options, except Lotus Notes, unless you' re using them.
    Results: Tried many times with no effect.
    2) It may be that your firewall setting or anti-virus software is blocking access to system files or resources. When you do the repair install make sure to disable them and un-plug yourself from the network so you protect your PC while they are off line.
    Results: Firewall was always OFF because network security handles all that. Can't turn off anti-VIrus, but both computers have the same antivirus system anyway.
    3) Look in the System and Application Event logs in Admin tools; it may give you a clue what your PC is trying to get to and being denied.
    Results: The only thing that is logged in Admin Tools when this happens is a "Security/Privilege Request" with no errors.
    Clearly, when CR in the HP looks for the printer selected in the report and doesn't find it, that causes CR to freeze.
    Any idea what difference between the 2 machines could cause this? Something in the Registry?
    This is a royal pain, because I can only be on one computer at a time.
    Thanks in advance.

    Hi Debi,
    Because in CR XI R2 it is WYSIWYG meaning we use both the display and the printer drivers to render the report. Same as what PDF does. If we can't find the printer the report was designed against, and all the placements of each object is dependent on the printer when designed, we have to default to your default printer to be able to calculate internally when to render the report objects and format the layout thus the message from CR indicating so.
    Basically CR dynamically builds the page layout dependent on the local system. Also the reason why CR requires a default printer to be installed, if it's not then we use Microsoft's Generic Print driver. It's not that reliable either but we have to use something.
    And another "for your info" is the same for our database drivers. Example, if you create a report off of MS SQL Server and then you want to view the SQL CR generates you need to log on first. This way CR can query the DB client and generate the SQL according to the DB. If you just want to see the SQL you could just set location to Access, problem with this is because CR dynamically generates the SQL according to the DB you set lcoation to we may change the SQL Statement and not actually show you what the report uses when connecting to the real database.
    One of the side effects of supporting so many DB's and Printers and Video drivers. Sometimes drivers do non-standard functionality which CR did not anticipate or code on how to handle.....
    This all changed in CR 2008, we are not as dependent on the printer driver but this created a whole new set of problems if you hadn't noticed from all the Printer problems posted.... But we are going back to the CR XI R2 printer functionality model to resolve all of the issues....
    Thanks again
    Don

  • What is difference between report programming and dialog programming?

    hi,
    what is difference between report programming and dialog programming? plz provide some example code
    bye

    ABAP programming
    Basically reports are used to read database and represent the results in lists.
    Reports are collections of processing blocks that the system calls depending on events.
    We can use reports to evaluate data from database tables.
    Reports are stand alone programs and controlled by events.
    A report itself never creates events
    steps in report:
    Processing the selection screen
    Reading the database
    Evaluating the data and creating lists
    Outputting a list.
    1st u write simple logics, after that u can enhance the code as step by step.
    http://venus.imp.mx/hilario/Libros/TeachYrslfAbap4/index.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/802cfc454211d189710000e8322d00/frameset.htm
    http://www.sapdev.co.uk/reporting/reportinghome.htm
    Dialog Programming
    Structure of a Dialog Program
    A dialog program consists of the following basic components:
    Screens (dynpros)
    Each dialog in an SAP system is controlled by dynpros. A dynpro (DYnamic PROgram) consists of a screen and its flow logic and controls exactly one dialog step. The flow logic determines which processing takes place before displaying the screen (PBO-Process Before Output) and after receiving the entries the user made on the screen (PAI-Process After Input).
    The screen layout fixed in the Screen Painter determines the positions of input/output fields, text fields, and graphical elements such as radio buttons and checkboxes. In addition, the Menu Painter allows to store menus, icons, pushbuttons, and function keys in one or more GUI statuses. Dynpros and GUI statuses refer to the ABAP/4 program that control the sequence of the dynpros and GUI statuses at runtime.
    ABAP/4 module pool
    Each dynpro refers to exactly one ABAP/4 dialog program. Such a dialog program is also called a module pool, since it consists of interactive modules. The flow logic of a dynpro contains calls of modules from the corresponding module pool. Interactive modules called at the PBO event are used to prepare the screen template in accordance to the context, for example by setting field contents or by suppressing fields from the display that are not needed. Interactive modules called at the PAI event are used to check the user input and to trigger appropriate dialog steps, such as the update task.
    All dynpros to be called from within one transaction refer to a common module pool. The dynpros of a module pool are numbered. By default, the system stores for each dynpro the dynpro to be displayed next. This dynpro sequence or chain can be linear as well as cyclic. From within a dynpro chain, you can even call another dynpro chain and, after processing it, return to the original chain.
    Check this link for basics.
    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    Check this link for Dialog Programming/Table Control
    http://www.planetsap.com/Tips_and_Tricks.htm#dialog
    Check this SAP Help for Dialog Program doc.
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    Check this SAP Help link for Subscreens.
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbabfe35c111d1829f0000e829fbfe/content.htm
    Check this link for subscreen demo program.
    http://abapcode.blogspot.com/2007/05/demo-program-to-create-subscreen-in.html
    Also check this link too.
    http://abapcode.blogspot.com/2007/06/dialog-programming-faq.html
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/sld004.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670c17439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670c17439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9ccf35c111d1829f0000e829fbfe/frameset.htm
    http://abapprogramming.blogspot.com/

  • Crystal Reports 9 and SQL Server 2005 default parameter values

    We're using Crystal Reports 9 and upgraded from SQL Server 2000 to SQL Server 2005.
    I'm noticing a very weird problem which I wonder if anyone else has experienced (and hopefully found a resolution for). It appears that in using Crystal with SQL Server 2005 stored procedures, if we have default parameter values in the stored procedures, the default parameter values get completely ignored if you pass in a NULL value from Crystal!
    For example, if you have a stored procedure that begins like this:
    ALTER          Procedure [dbo].[StoredProcedure]
    @Param1 VarChar(200) = '',
    @Param2 VarChar(200) = ''
    AS ...
    both @Param1 and @Param2 have a default value of an empty string, and therefore should become empty strings if nothing (NULL values) gets passed in for them.
    But, like I said, what I'm finding is that with Crystal calling the stored procedure with NULL @Param1 and @Param2 values, they never become empty strings, but rather remain as NULLs.
    This was never a problem with SQL 2000.
    Very perplexing. Anyone else every experience this?
    Thank you.

    Please ignore my earlier post -- answered my own question.
    NULL parameter values do not get replaced by default values in SQL -- that is normal behavior in both SQL 2000 and SQL 2005. Just goes to show, that no many how many years programming experience you have, you can still get tripped up sometimes : (

  • How to improve the query performance in to report level and designer level

    How to improve the query performance in to report level and designer level......?
    Plz let me know the detail view......

    first its all based on the design of the database, universe and the report.
    at the universe Level, you have to check your Contexts very well to get the optimal performance of the universe and also your joins, keep your joins with key fields, will give you the best performance.
    at the report level, try to make the reports dynamic as much as you can, (Parameters) and so on.
    and when you create a paremeter try to get it match with the key fields in the database.
    good luck
    Amr

  • Report, Form, and Data Component portlets go to error page

    I am able to add Report Form and Data Component portlets to my page, but when I click on the define button it takes me to my error page.
    Have I missed configuring something?

    hello friends,
    thanks for replly,
    i m using command noe after table node in main window, but i want display the data below the main window , it is diplaying  new page as required but only missing data below the main window.
    to be more clear i want to print all the window in first page then only go for next page , so is there any condition or parmeter in main window to go next page only agfter completion of first page.
    dont worry abt points.

  • Creating a print button to call a Report Query and pass filters

    If i use the REPORT QUERY option in APEX 4 to create an statement that is the same one used in an interactive report, can I create a link or button to the REPORT QUERY and pass all the session and filter information from the interactive report to the report query?
    This way I can have the interactive report screen where the user can do all sorts of modifications and such and then pass those to the REPORT QUERY so I can call that from a custom link or button.
    You may ask "why does he need another print button?"
    Answer: I am using a view that has some embedded HTML tags to format the output really nicely. The HTML download version created by the interactive reports works beautifully. The customer also wants a PDF version (meh) which does not render the HTML tags and actually echos them as part of the text. I found that I can create another view that uses the CHR function to create all the breaks and such I was doing with HTML and these do render properly in PDF. So, I figured just have 2 reports: 1 Interactive and 1 using a REPORT QUERY. I just want to call the REPORT QUERY version but use the Interactive Search form to set all the parameters.
    Or, am I over thinking this and there is an easier method?
    I made a previous post where I showed how I got the APEX printing to work and i hoped that helped someone out - fixing this issue would put the whole thing to rest.
    Thanks

    Is BI Publisher desktop (MS Word add-in) a possibility? This would allow you to use MS Word to create your output template (RTF) that would result in a properly formatted PDF. Of course, you'd have to right an updated version of the query without HTML embedded. Just thinking outside of the box.

  • Report 6i and Report 10g together in a system

    Hi,
    Is it create any problem if I installed both Report 6i and Report 10g in
    a system having 10g database.
    What are possible problem that will have to face?

    Hi,
    There won't be any issues. We are using both in our development machines. You must make sure the tnsnames.ora has correct entries.
    Regards,
    Manu.

  • Reporting tools and SAP BW

    Dear Sirs,
    We have Business Objects BI 4.0 and SAP BW 7.3.
    Actually we are using Web Intelligence and BEx Query to reporting.
    We have not Business Layer (Universe) between BW and BO because BO it's not supported to create universe (unx) on BW. So we create document in WEBI using BEx Query.
    We want to use Xcelsius (Dashboard Design) 2011 and I was thinking that we can use query from universe to connect with BW (new functionality in version 2011). Can we? Or maybe we should to connect to BW using "Connecttion to SAP BW"?
    We want to use Explorer (on iPad and iPhone), but Explorer requires universe (unx).
    Is not possible to create universe (unx, because unv is not supported via Explorer) based on SAP BW, is it true?
    We should we do, when we want to use Explorer with SAP BW?
    Do I understand connection between reporting tools and SAP BW:
    Crystal Reports - can I use cubes or BEx queries
    Xcelsius - using "Connection to SAP BW"
    WEBI - BExqueries or universe (but only UNV - old version).
    Explorer - in my opinion is not possible
    Analysis for OLAP - drirect to cube in SAP BW
    Could you please comment.

    Hi
    With the current version of the BI 4.0 SP2 BI Platform, one cannot create a universe (.UNX format) against BW using the OLAP connection. However you can create a universe (.UNX format) using the Relational connection (see OSS note: 1656905 - How to create UNX universe based on Business Warehourse InfoCubes). One limitation is the use of hierarchies with the relational connection.
    Then you can create the Information spaces based on the universe (.UNX format) that the Explorer can use.
    BO Reporting tools:
    1. Crystal Reports for Enterprise = you can use the OLAP connection (BICS) directly against the BW InfoCubes or Queries, if queries already exist in the BW system then you can leverage these directly (less time spent recreating the entire query in Crystal)
    2. Xcelsius = you can use the BICS or Web Service or Universe to access the data
    3. Web Intelligence = you can use the OLAP Connection (BICS)
    4. Explorer = you can use a universe (.UNX format) via a Relational Connection
    5. Analysis for OLAP = you can use the OLAP connection (BICS) to either a query or InfoCube.
    It is hoped that in Feature Pack 3 which will be released later this year, that missing functionalities will be delivered for BI 4.0.
    Regards
    Derek

  • Advantage and disadvantage of xml publisher, report builder and discoverer

    Hi,
    anyone can explain advantage and disadvantage of xml publisher, report builder and discoverer?
    thanks in advance!

    The best way i found was to put a equals and then double quotes... this only works for excel however it will allow you to cut and paste (ie to use the value to search in Oracle) and also to do vlookups.
    In a bit more detail:
    - I used word to generate my default table
    - this created a field INVOICE_NUM
    - in the cell in the table i put = " before the INVOICE_NUM field and then put the closing " afterwards.
    The theory is that excel will concatenate the values together... because it has quotes around it, it will treat it as a string rather than simply a value.
    For any other formats this will not work.
    I'm guessing most people have moved on and resolved this some other way, but just thought I'd share the wealth!

Maybe you are looking for

  • SCSM Management Server install error

    Hi All I have a curious error with regards to an SCSM 2012 R2 Management Server install to a Windows Server 2012 with local SQL Server 2012 Standard); the SCSM 2012 R2 Data warehouse Server installed fine on a separate server.  I've checked that the

  • VAT percent not determined in PO from condition record.

    Hi I maintained one condition and assigned to access sequence. Access Sequence is Vendor / Plant / Material. I maintained a tax code to this condition. I maintained 5% VAT Now while creation PO, i entered another tax code of 7% VAT. SAP allowed me. I

  • My Audiobooks show in my Books folder and won't sync to ipod touch

    I have a number of audiobooks purchased from iTunes Store. Previously on iTunes (Windows PC) these showed in the left pane under Audiobooks. At some point this folder became Books, and also includes some .epub type ebooks. This did not stop the audio

  • MacBook Pro/Thunderbolt Monitor blanking out

    I have a MacBook Pro with 2 Thunderbolt monitors.  My system is connected up like this: MacBook Pro (running in clamshell mode) -------> Thunderbolt Port on MBP -------> Thunderbolt Display ------> Built in Display Thunderbolt Cable ------>Thunderbol

  • Itunes backup

    I'm new to apple and mac products, still a PC user (until Christmas, I hope) A few questions about backing up contents in itunes from a PC. I have about 12 hours worth of music, 2 hours of podscasts, and 10 hours of TV shows. What is the best way to