Doubt in Oracle Report

Hi I have a table in which I have a column called file_name of type BLOB. In that I used to store files of PDF format.I want to display those files in oracle report.
I'm using reports 6i.Can anybody know solution for this please let me know.
Regards
Anand

Hi Sankar,
Use SY-PAGNO.
ex;
REPORT  ZSAMPLE2 line-count 20(2).                               .
Tables mara.
data itab like mara occurs 0 with header line.
Start-of-selection.
select * from mara into table itab.
Top-Of-Page.
write:/ sy-pagno.
uline.
End-of-selection.
loop at itab.
write:/ itab-matnr.
endloop.
- Satuish

Similar Messages

  • Doubts in oracle reports 2.5. programmers/ engineers please help me

    sir,
    i have a doubt in oracle reports 2.5. it is based on a single table only. i request u to reply for the same at the earliest. the problem is as follows:
    There are certain code numbers for which sub heading is to be displayed and sub total should be made and grand total to be
    made. also main title should appear in each page. also in parameter entry based on date format, month should be chosen
    and amounts should be summed from several fields based on the month but beginning with april of the current year.
    sample report is as follows:
    parameter entry : pf_1 = 1-4-1999 pf_2 = 30-8-1999
    NANCE AND ACCOUNT SYSTEM (main title)
    machinery expenses sub heading (this is reqd)
    code name debit_amount (actually this is not from table)
    103001 mech machines 72
    103002 sliver m/c 95
    sub total 167
    elec equipments again sub heading
    104001 switch 17
    104002 relay switch 95
    sub total 112
    grand total 279
    but the table is as follows table name t1
    code varchar6 name varchar30 mo1dbamt m01cramt m02dbamt m02cramt m03dbamt
    m04cramt etc upto 12 months all data type number(15,2) totally 26 fields
    the debitamount should be summed from fileds m04dbamt,m05dbamt, m06dbamt ..upto m08dbamt - no cramt should be added further any clarifications needed please discuss with me
    pl note that i am from INDIA
    thanking you
    sincerely
    sudhes kumar

    Look into the following:
    -- page protect property of the repeating frame
    -- Maximum number of records per page property

  • Doubt with Oracle Reports Format Trigger

    Hi friends,
    I have created a format trigger in oracle reports the code is
    Function F_Department_NameFormatTrigger return Boolean is
    v_report_url varchar2(300);
    Begin
     v_report_url :=‘http://localhost:8888/reports/rwservlet?
    report=empReport.rdf&userid=hr@orcl&destype=cache&desformat=htm
    lcss&p_dept=’||:department_id;
    SRW.SET_HYPERLINK (v_report_url);
    Return (TRUE);
    End;but i am getting an error rep-0738 : only a function is allowed here can u please let me know whats wrong in this coding.
    Regards,
    Manoj

    Probably you are using the wrong quotes. Please try this:
    Function F_Department_NameFormatTrigger return Boolean is
    v_report_url varchar2(300);
    Begin
    v_report_url :='http://localhost:8888/reports/rwservlet?report=empReport.rdf&userid=hr@orcl&destype=cache&desformat=htmlcss&p_dept='||:department_id;
    SRW.SET_HYPERLINK (v_report_url);
    Return (TRUE);
    End;

  • Doubts about generating reports in Oracle

    Hi,
    I am Oracle DBA, but I need some instructions from you – oracle developers- related to how implement reports from Oracle 9i Application Server Enterprise built on Sun Solaris 9.
    Nowadays, my client is using Oracle Reports Server that comes with Oracle 9i AS, but he wants to substitute the Oracle Reports Sever to another software (a cheaper one) so he will be able to decrease the Application Server Enterprise to a Standard edition.
    The reports here are constructed under Oracle Reports, and these reports are accessed from a web application.
    The flow here is:
    The user requires the report in a web page from internet.
    The user inputs the parameters in the web page.
    So the client machine sends this to the apache server, that constructs the sql statement or calls a procedure stored in the database server.
    The return happens in this same way until the user sees its report on the screen in a pdf format.
    Now my client wants from me 2 or 3 detailed suggestions to substitute this architecture
    that involves so many softwares and servers to a cheaper and simpler one. My target is to remove out the Report Server, and suggest other tools which can do the same.
    So, as I am dba, can someone there help me please with any hint????
    Thank you all,
    Bye
    PS: My client does not want to remove the Oracle Application Server and neither the Sun Operational System from the present architecture. These two will not change….

    Hello,
    I'm also not an application developer, but I thinks it depends all on the complexity of the reports. If these are relatively simple, PL/SQL can do the work.
    Concerning Java, I heard Oracle's JDeveloper is the right choice.
    Some people say, if you are going to start a new project, don't think of Oracle Developer Suite (Forms/Reports), but use Java and JDeveloper.
    You may even have a look on HTML DB
    http://www.oracle.com/technology/products/database/htmldb/index.html

  • How to get an effective EXCEL Spreadsheet as output for Oracle report 10g

    Hi All,
    I am a newbie in Oracle reporting. I am using 10g. I have an oracle report whose output format is PDF from the user interface. User asked for Spreadsheet output. I changed the JAVA CODE "desformat" = Spreadsheet and got the report in Excel. But this report is not as expected as it has many blank cells, misplacements etc and looks really ugly. so Is there anyway to get an excellent spreadsheet as output.
    If anybody needs any more information on this, please let me know.
    Thanks in advance.

    Thank you so much Marwim. Your suggestion is very helpful. But I have some other Oracle reports which have only one .rdf file giving output in both pdf and Excel. This doubt might be silly. Almost same features were existing for the rdf what I am working now. For the remaining reports, it was given that DESFORMAT=SPREADSHEET , what this report lacks. I googled and found these links http://docs.oracle.com/html/B13895_01/orbr_paptoexcel.htm &
    http://docs.oracle.com/html/B13895_01/orbr_paptoexcel.htm#CIHFDJAJ . But they are not intended for excel output. they generate only web layout in spreadsheet form. Could you please suggest any other ways to achieve this.
    Thank you in advacne.
    Edited by: user07960 on Jan 10, 2013 10:47 AM

  • Oracle Reports - Change Email Attachment Name

    Hello,
    I'm sending salary receipts in PDF via email using Report Server 10g. It's working but i want to change the PDF name, in order to appear the number of employee in the name (something like Receipt_00001.PDF)
    I used to accomplished that in other versions using the DESNAME parameter, but now since its Web and via Reports Server that doesnt work :(
    PROCEDURE EXEC_REPORT_SRV_FILE (WK_REPORT VARCHAR2 /* report name */,
    WK_PROC VARCHAR2 /* process name */,
    wk_file VARCHAR2 /*a parameter value that i use in the command below*/)
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,wk_file);
    Where i call the EXEC_REPORT_SRV_FILE i tested like this below but just for doing this, the emails are no longer sent and it gives me the error in (**)
    I done this because i think it would be in the 3rd parameter, but i was in doubt it could be in the 2nd one but i dont think so..
    exec_report_srv_file (name_in ('PARAMETER.PR_DRIVE_APLIC')
    || name_in ('PARAMETER.PR_DIRECT_APLIC')
    || retorna_barra
    || lower (giaf6i_var_lib.cp_filename),
    'Receipt1'||lower (pname),
    'Receipt2'||wk_dest_file
    Executed successfully but there were some errors when distribute the output REP-50159: Executed successfully but there were some errors when distribute the output
    I'm using Oracle Reports 10g.
    This is so urgent that i joined this forum just for this (For now.. :) )
    Thank you so much in advance for your time.
    Best regards,
    Nuno Neves.

    - What is the difference between the reports that work and the ones that do not work?
    - I would suggest to apply latest patchset 10.1.2.3
    https://updates.oracle.com/download/5983622.html
    Thanks, Roberto

  • Oracle Reports - PDF report

    I have a PDF report designed using oracle report builder 6i. This report has a margin that prints the total of all the quantities to be ordered via a QUOTE. If this report prints beyond one page, then the total will print on all the pages. Users do not want to see the total on all the pages but only on the last page. I really need to keep these total fields on the MARGIN section of the layout. Is there any way, i can still keep these fields on the margin and print them only on the last page of the report? The report builder do not let me set the 'print condition' as the 'last page' because it is in the margin section. Any idea on this issue??

    I would create a trigger for your MARGIN totals so they print only on the last page.
    Have the trigger return TRUE if current page = total pages, else return FALSE.
    This will make sure your margin totals are only visible on the last page.

  • XML Publisher Report in EBS without Standard Oracle Report

    Hi folks ,
    i have some questions.
    Can I create a XML Publisher Report for the EBS without a Standard Oracle Report in EBS.
    So that I can build up the files with the Desktop Publisher, create Data Definition / Template with Upload / Create the executable und concurrent and than only start the new program in EBS ?
    I have the situation that I can start my program with the template in the background but ít is searching for the report on the file system.
    Thanks in advance for the feedback.
    regards
    Kay

    Hi Ravi ,
    can i do it only with the xml Publisher , because when i tried it in the past and get all the staff like Template / DD / CP up and running and started the CR i get an error from the system that he is missing a report directly in the file system... so he searched for the report himself on system like a standard 6i Report. But the template and the dd is stored in the db. So my question again, can I use the XML Puplisher without a Standard Report or can i use a dummy file only for checking and after that he use my template / dd.
    regards
    Kay

  • Unable to integrate Oracle Reports with Express--(To oracle Team also)

    Hi
    Unable to integrate Oracle Reports with Express. While defining
    the Express database connection using the olap connection editor
    iam getting the following error "Error locating the XCONEDIT.INI
    file. Try re-installing the software".
    what should be done?
    Atleat,If anybody has successfully connected to Express via
    Reports6i. Kindly give the details like what softwares to be
    installed in what HOME? and also other steps involved in the
    process.
    YOur help !!!
    kindly respond...(Oracle Team do respond with something)
    with rgds

    hello,
    check out the notes
    Note:112542.1
    Note:167049.1
    on oracle metalink for further information.
    if you still have issues, please contact oracle support services
    for furhter assistence.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Help needed for MySQL 5 database DSN less connection with Oracle reports

    Hi,
    I am using Oracle Develper Suite and java (J2EE) for my application. I am using MySql 5 as database tool. I want to use Oracle reports of Oracle Develper suite. I have created some reports by first creating system DSN for MySql database and then connect Oracle reports to that DSN by "jdbc:odbc" connection string provided in Oracle Report developer wizard. This is working fine.
    I want to generate reports without creating system DSN (DSN less) so that i can use my application on any computer without creating DSN for Oracle Reports. I am deploying my application on OC4j as "EAR" file.
    Help in this regard will be highly appreciated.
    Regards.

    Using an 8i client, you will need to configure the tnsnames.ora file with appropriate connection information if you are using local naming. If you are using host naming or something like an Oracle Names server to resolve TNS aliases, you can skip the tnsnames.ora configuration. A default installation of the Oracle client, though, will probably be using local naming.
    If the tnsnames.ora file is configured, or you have configured an alternate way of resolving TNS aliases, you should be able to use the connection string
    DRIVER={Oracle ODBC Driver};DBQ=<<TNS alias>>;UID=system;PWD=managerIf you wanted to move to the 10g client (the 10g Instant Client could be useful here), there are some streamlined naming methods that could be used instead of configuring the tnsnames.ora file.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Grouping in rtf template like oracle reports - a newbie question

    Hello all
    I am new to BI Publisher and have probablly a silly question to ask.
    I have a basic query that returns a flat xml file which looks something like this. it will have multiple rows.
    <ROWSET>
    <ROW num="1">
    <DATE>01-DEC-2007</DATE>
    <PACKAGE>XXX </PACKAGE>
    <DROP_OFF>Hotel1</DROP_OFF>
    <ROOM>1</ROOM>
    <NAME>Test Customer</NAME>
    <PROBLEM_RECORDED>N</PROBLEM_RECORDED>
    <EXCEPTION>1</EXCEPTION>
    </ROW>
    </ROWSET>
    Because i am fairly new to xml i am at a loss trying to work out how i can form a template that will effectively allow grouping at say
    1. Date Level
    2. Package Level
    3.Drop Off level
    4. put all other data in here
    In reports i would just do groups and alter the layout accordingly. Obviously if i had an oracle report version of the sql that generates the xml then i could just generate the xml from the report and i would get the xml i am looking for .
    But I am working with basic sql not reports and am wondering What do I have to do with my xml to get it looking live the grouping I mention above, given all i have to play with is the example xml I included. I am really bamboozled and think i am missing something simple.
    I dont want to have to write multiple queries with different groupings using cast , multiset as I thought one of the benefits of BI Publisher was one query multiple layouts.
    Thanks
    Lisa

    If you haev word plugin installed,
    please follow the documentation and try using that,
    load the xml in the word plugin
    and then select insert table/form and then you can do the drag and drop,
    and group by each fields.
    http://blogs.oracle.com/xmlpublisher/2006/10/30
    http://blogs.oracle.com/xmlpublisher/2007/10/30

  • Can we use Dynamic SQL in Oracle Reports ?

    Hi ,
    Can we use Dynamic SQL in Oracle Reports ?
    If yes please give some examples .
    Thanx
    srini

    I believe the built-in package SRW.Do_Sql is what you are looking for
    Example from the document:
    /* Suppose you want to create a "table of contents" by getting the
    ** first character of a columns value, and page number on which its
    ** field fires to print. Assume that you want to put the "table of
    contents"
    ** into a table named SHIP. You could write the following construct:
    DECLARE
    PAGE_NO NUMBER;
    PAGE_FOR INDEX NUMBER;
    SORT_CHAR CHAR(1);
    CMD_LINE CHAR(200);
    BEGIN
    SORT_CHAR := :SORT_NAME ;
    IF :CALLED = Y THEN
         SRW.GET_PAGE_NUM(PAGE_FOR_INDEX);
         SRW.USER_EXIT(RWECOP PAGE_FOR_INDEX
         P_START_PAGENO);
         SRW.MESSAGE(2,TO_CHAR(:P_START_PAGENO));
    END IF;
    SRW.GET_PAGE_NUM(PAGE_NO);
    CMD_LINE := INSERT INTO SHIP VALUES
                          (||SORT_CHAR||,||TO_CHAR(PAGE_NO)||);
    SRW.MESSAGE(2,CMD_LINE);
    SRW.DO_SQL(CMD_LINE);
    COMMIT;
    EXCEPTION
      WHEN DUP_VAL_ON_INDEX THEN
            NULL;
      WHEN SRW.DO_SQL_FAILURE THEN
            SRW.MESSAGE(1,FAILED TO INSERT ROW INTO SHIP TABLE);
      WHEN OTHERS THEN
           COMMIT;
    END;

  • ORACLE reports Build 10g - Data Model - query - If statement in Alias ?

    I have the following select statement. It has the alias Survivors, Deaths and "All
    With the ORACLE reports Build 10g - Data Model - I have the following query statement. I require the alias to change. Can the following be done.
    Cases". Is it posible to use :P_LANGUAGE variable to say that -- IF :P_LANGUAGE = FRENCH THEN alias are Survivants for survivors, Décès for Deaths, Tous_les_cas for All Cases. Please advise
    SELECT ALL T_NTR_MULTIBAR.CAT, T_NTR_MULTIBAR.NUM_CASES_LEFTBAR AS Survivors,
    T_NTR_MULTIBAR.NUM_CASES_MIDDLEBAR AS Deaths, T_NTR_MULTIBAR.NUM_CASES_RIGHTBAR AS "All Cases"
    FROM T_NTR_MULTIBAR
    WHERE INSTANCE_NUM = :P_INSTANCENUM
    order by ORDERS

    It is no problem, you can automatically change the complete query before the report is running, which delivers you different kind of values. But the alias names does not change in the group of the data-model, although two query are running with different alias names at different times. In the data model you see the alias names of the first implemented select statement, which are the column fields in the layout.

  • Oracle reports 6i to Oracle forms 10g migration

    Hi,
    I have .rdf files which were created on Oracle Reports 6i. I would like to migrate the .rdf files into Oracle Reports module which is present as a part of Oracle Forms 10g to generate PDF output.
    Please let me know the detailed steps to be followed as I am a total newbie. Also I need to generate these reports on demand from a java 5 application (JSF 2.0).
    Currently for ORacle reports 6i, I have the following code in my java application
    rwrun60.exe g:\tomcat33\webapps\reports\web-inf\src\null userid=***/*** destype=FILE desformat="pdf" paramform=NO printjob=NO batch=YES desname=temp.pdf
    1. What would be the equivalent for reports in ORacle Forms 10g ? I know there is an Oracle Apps server where ther report services reside. How to I invoke my report from my java application (residing on a weblogic server 10.3.6)?
    2. What ould I do with the 6i .rdf files to upgrade them to 10g ?

    I am trying to call an Oracle report i.e .rdf (which is located on the Oracle  App Server) from my java EE 5 (JSF) application. The Oracle  App server is Oracle Application Server 10g Release 2. I assume Oracle report generation capability is available in this release.  I need to invoke the report from my Java JSF application on demand (whenever the user clicks a button on the web browser page, the report should appear on the browser as PDF) . My java application resides on Linux weblogic server.
    Please let me know how it can be done ? I see rwclient.sh and another method to directly invoke using a URL. How do I do it on java, would a request.redirect() to the URL work ?
    Also for hiding the params in the URL. keys need to be configured on the Oracle server right ?
    Also if we use rwclient.sh or the URL based invocation, would there be any issue in concurrency when multiple users request the same report at the same time ?

  • Oracle Reports 6i with Oracle 8.1.7?

    Solaris 7 (sparc)
    Oracle RDBMS 8.1.7
    Reports 6i (release 2)
    I am trying to install Reports 6i on a machine that has Oracle RDBMS 8.1.7 installed already. The last time I tried installing to the same ORACLE_HOME it corrupted all my executables. After reading the docs again, I noticed the Reports docs say Reports requires Orcle 8.0.6. I thought it might be better to install to a new ORACLE_HOME (/u01/app/oracle/product/8.0.6), however, there is no RDBMS installed there and the installer complains.
    Could someone offer some suggestions on how it should be installed in this type of environment. What steps should be followed to allow Oracle Reports 6i to co-exist peacefully on the same machine/ORACLE_HOME as the Oracle 8.1.7 instance.
    Thanks
    Phil Bolduc
    Sierra Systems Group Inc
    Vancouver, BC Canada http://www.SierraSystems.com/
    null

    I found the answer myself in an earlier post.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by The Oracle Reports Team:
    Reports 6i will connect to Oracle8i, however you need to connect over Net8 - i.e. on the database side, you need to set up the TNS listener to accept connections, and on the Reports side (which, incidentally, needs to be installed in a separate Oracle_home) you need to configure the tnsnames.ora file to connect to the 'remote' database (since it is in a different oracle_home, to all intents and purposes it may as well be on another machine - it's all considered 'remote').
    Regards
    The Oracle Reports Team http://technet.oracle.com <HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • My Bill Does Not Display Online

    I have been a Verizon internet customer for close to 4 years. Through this time I have had high speed internet (DSL) at several addresses without having to open new accounts or make any changes other than service address. In october, I moved to a new

  • IPhone 5 Wifi issues persist after 6.0.1

    I have been having these issues. I am finding certain apps are always slow downloading whereas others download quickly all the time. It is most notable with podcasts where some podcasts take forever to download (always the same ones) whereas others a

  • Monitor Changes in  PRD System

    Hi, Is there any transaction Code to monitor the changes (a log file kind of thing) that were made to the objects in the production system on day to day basis ? If there is no such transaction code is there any other way to trace the changes any work

  • Handling a large message queue

    I am receiving a stream of data via CAN using fast CAN. After a large number of frames are received I receive this message NON-FATAL RUN-TIME ERROR "Prueba 1.c", line 188, col 18, thread id 0x000031D4 Function ncReadMult: (return value == -1074388952

  • All of my bookmarks on my IPad were gone this morning!

    I don't know what if anything I did. Will this effect my Mac and IPhone? What can I do to recover them?