Oracle Reports in JSP Format

Hi Gurus,
We have developed lots of reports that are paper based and opened either as PDFs or CSVs.
Now we have a new challenge. We have a generic Parameter Form (Developed in Oracle Forms), which is being called from the Menu for any report. Depending upon the Menu name we send the corresponding Report Module to the Parameter Form as a parameter.
Now at the time of pressing Submit, we use the parameters in this form and call web.show_document to see the report (as we got the Report Module to the parameter Form thro the Menu's call). But now we want to see all the Reports as JSPs. We would like to take a generic approach. Please guide me on this regard.
Thanks and Regards,
Forms.

Peter,
you can call it from a URL if you need:
/reports/rwservlet?report=...&detype=cache&desformat=pdf...
You can define a file called cgicmd.dat on teh server that takes key-value pairs of the most common parameters under an named entry.
e.g.
ReportsCommon: destype=cache server=myServer ... %*
This way your URL is reduced to a minimum length because you don't have to list all parameters in teh URL.
Second solution:
Run a Reports from a browser URL and specify paramform=yes. This create a HTML based parameter form before executing teh Reports. Have a look at the HTML form code and see to what extend your Reports share same functionality so that you could create this HTML form in your JSP page. You could have a poplist with the name of "desformat" and list HTML, HTMLCSS,PDF,RTF,XML as valid entries so that the user can select the output format.
The Reports documentation shipped with Oracle9iAS (also available online otn.oracle.com/products/reports) has all teh information you need.
Frank

Similar Messages

  • Error in Running REPORT in JSP format

    Dear Fellows,
    I have created a report in JSP format and deployed on the local web server. I try to run the report through this URL.
    "http://dw_hit4:7778/emprev_Zeeshan.jsp?server=repsrv&userid=hr/hr@sbpdw"
    When i access this URL i get this error
    "Error: java.lang.ClassNotFoundException: oracle.reports.jsp.ReportTagExtraInfo"
    Can any one tell me what is the cause of ths error and how to get rid from it.
    Please this is very urgent.. Help me...
    Awaiting For the earliest reply..
    Thanx in Advance
    Zeeshan Suria

    I have created a report in JSP format and deployed on the local web server <<<Is this local webserver - Oracle HTTP server ? Which one are you using ?
    1) If you are deploying reports in Oracle Application server ( Midtier - Business Intelligence , Forms and Reports )
    then there is a sample JSP report deployed which you can access from home page -->Demonstrations Tab
    You can search for the JSP Report ( forgot the exact location ). It should be emp.jsp or test.jsp
    You need to have reports_tld.jar (tag library) in <contextRoot>\WEB-INF\lib directory. See how the sample report is deployed.
    Additionally you need to have following jars in REPORTS_CLASSPATH env variable in registry HKLM\Software\Oracle\Home<x>
    $OH\reports\jlib\rwrun.jar;$OH\j2ee\home\oc4j.jar;$OH\reports\jlib\rwbuilder.jar;$OH\jlib\zrclient.jar;$OH\j2ee\home\lib\ojsp.jar;$OH\reports\jlib\xrpdsolap.jar;$OH\reports\jlib\xrpds90.jar;
    ( But all these entries come out of the box. Hence I asked which app server you are using )
    2) If you are using non-Oracle app server, then there are thin clients for BEA, IIS, OC4J and standalone thin client.
    You can get them in
    http://otn.oracle.com/products/reports/htdocs/search.html?cat=ALP&col=ALC&submit=Search
    Thanks
    Ratheesh

  • How can i convert oracle report in excel format using 8i

    hi,
    I want to convert oracle report in excel format using 6i reports. please give the solution with emp table.
    millons of thanks in advance.

    You'll have to use the destype DELIMITEDDATA to render your Report in CSV format. Then set the mime type to Excel. I don't know the exact syntax, so please do a search in metalink for "reports excel" for examples and more info.
    Regards,
    Martin Malmstrom

  • Oracle Report in PDF format

    Hi,
    After upgrading from 11.5.7 to 11.5.10 Oracle Report in PDF format is not working(it was working fine in 11.5.7). When change output format to TEXT it working fine.
    Please advise?
    Thanks
    Dave

    Hi,
    Perhaps it is not clear about what are the invalid characters its is showing.....is it showing asterisks.....Well if it does show anything like that then all u have to do is go and change the dimensions of the particular field in which it is showing such characters.......i mean u r to change the rdf file in Reports Builder.....and try changing the length and width by dragging the edges of the particular field and then save it and after that convert it into .xml and .rep files and then run it.

  • Blank Lines in Oracle Reports in Text Format

    Hi all,
    I m in a problem that , I generate an Oracle report in text format there is two additional blank lines in text format.But when I view this report in report editor there is no blank lines.There is actually only 15 lines in my report but in text format it shows 17 lines.How can I avoid this prblm.pls help.
    thanks
    jobuin

    Is the Design in Character Units set to Yes?
    How are you viewing your layout in report editor? Are you viewing with Grid?
    If it is Yes and with grid, try to fit your layout objects within the Grid.

  • Difference between deploying oracle report in RDF format and REP format

    Hi All,
    Good Day!!!
    We are frequently encountering report failures in our production environment with the error message "REP-1247: There exist uncompiled program unit(s)"
    But the report executes successfully in the next try and the issue is intermittant. In production the reports are deployed in RDF format.
    So in our test environment we tried of deploying the reports in REP foramat and we cant find any errors.
    Is there Difference in deploying oracle report in RDF format and REP format?
    Is there any diffence in execution?
    Your inputs will be much appreciated!!!
    Thanks in Advance,
    JK

    Hi,
    REP is to RDF what FMX is to FMB, MMX is to MMB, etc.
    Only difference here is that if you deploy RDF, not REP, then the RDF is compiled at runtime by Reports Engine and then executed. In other words, if REP is deployed then it is straightway execute.
    That should explain all your observations.
    Cheers.
    PS: Please post Oracle Report queries on {forum:id=84} forum.
    Edited by: Prabodh on Jul 20, 2012 4:54 PM

  • Calling report in JSP format from oracle forms...

    I created a report and save it in 2 formats (.rdf and .jsp)...
    Now instead of using the rdf format(which opens in a pdf inside a web browser) ...i want to call the report in jsp format

    Suhail,
    You can even call a .rdf report in HTML format. You have to set the Report Destination Format to html.
    For calling the jsp report , you don't have to do that differently either. Place your jsp report in the REPORTS_PATH directory.
    Then set your report object to that of html destination.

  • How to invoke Oracle Reports from JSP ?

    Hi,
    I need to invoke Oracle Reports ( paper format ) from my JSP in different formats /PDF, RTF, HTML/ using rwservlet and then send the content to user browser.
    Please, someone to give me working example.
    Thanks in advance.
    Best regards.
    Peter.

    Peter,
    you can call it from a URL if you need:
    /reports/rwservlet?report=...&detype=cache&desformat=pdf...
    You can define a file called cgicmd.dat on teh server that takes key-value pairs of the most common parameters under an named entry.
    e.g.
    ReportsCommon: destype=cache server=myServer ... %*
    This way your URL is reduced to a minimum length because you don't have to list all parameters in teh URL.
    Second solution:
    Run a Reports from a browser URL and specify paramform=yes. This create a HTML based parameter form before executing teh Reports. Have a look at the HTML form code and see to what extend your Reports share same functionality so that you could create this HTML form in your JSP page. You could have a poplist with the name of "desformat" and list HTML, HTMLCSS,PDF,RTF,XML as valid entries so that the user can select the output format.
    The Reports documentation shipped with Oracle9iAS (also available online otn.oracle.com/products/reports) has all teh information you need.
    Frank

  • Sum function do not work in oracle reports enhanced spreadsheet format

    we are using oracle reports 10.1.2.3 in our oracle application server 10gr2 and we are creating enhanced spreed sheet.And the report opens in MS excel fine.But we can not apply any formula like VALUE,SUM,AVG on that report after opening it into excel.First we thought that it may be because of the comma in the number filed.we removed that comma from the filed but t still gives the error "Error in value"

    Hi,
    I hope you already solved this problem, I had the same issue after spending an hour I found the workaround, this is just for the guys who experience the same issue. Try to format your number columns either at database level(not via Report builder property palette) with TO_CHAR(...) OR use this Format Mask at Report level to format your numbers -NNNGNNNGNN0D000(negative sign must be there to avoid space in output Excel).
    Hope it helps,
    Regards,
    Syed Khawar

  • Oracle Reports 6i Delimied Format and Carriage Returns

    Hi
    I'm using Oracle Reports 6i to generate a report to a text file using delimited format so I can read it in Excel. I've done some testing putting some information in the layout but it seems that all my data is generated in one line. It does not generate the carriage return for the multiple rows I need. Is this standard functionality?. If so, that means I have to generate the file using PL/SQL to get the control I want?

    Whew...lot's of questions...let's see if I can help (at least a little)...
    1. Quite possibly, the user is/was pulling the image from the database? I do this in my environment, so it might be worth a look.
    2. You should be able to print in any format from the web. You may need to adjust your destype/desname/desname parameters.
    3. Only thing I can think of here is that maybe the original report was not written using a standard web-friendly font?
    4. There's a couple of ways you can get data into an excel file:
    A. Use DDE and poke the data right into it (messy when you need to print the regular Oracle report too).
    B. Add an option to print to file and set the desformat to DELIMITEDDATA. Be sure to go through the data model and set Exclude from XML Output to 'Yes' for fields you don't need. Also, be aware that this may not come out in the same order as they do on the printed report. You can read about this on Metalink.
    Hopefully that helps you a little bit. :)
    Chad

  • Oracle reports in xml format end with stat_low = 6 stat_high = 0

    hi
    i have a problem with my reports
    i have oracle application 11.5.10.2 on linux 32 redhat 4 update 5
    after apply the RUP 6
    my character_set is :American_America.AR8MSWIN1256
    base lang American
    install lang ARABIC
    when i generate the reports in xml format i get:
    Inventory: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    ZMCINVTRREG1 module: ZMC Transaction Register Report
    Current system time is 04-AUG-2009 14:32:30
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    -- Start of Reports Command --
    ar60runb
    P_CONC_REQUEST_ID=373985
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    report=/oraapp/prodappl/inv/11.5.0/reports/US/INVTRREG.rdf
    batch=yes
    destype=file
    desname=/oraapp/prodcomn/admin/out/PROD_apps/o373985.out
    desformat=XML
    -- End of Reports Command --
    Request language is :
    AMERICAN
    Request territory is :
    AMERICA
    XML_REPORTS_XENVIRONMENT is set to:
    /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Enabling XML_REPORTS_ENVIRONMENT based environment switching
    The Character-Set of the System is:
    AR8MSWIN1256
    Environment will now switch to UTF-8 code-set.
    Parts of this log file may not display correctly
    as a result. This is an expected behavior.
    Converting parameters to UTF-8
    -- Start of Reports Command Converted to UTF-8 --
    ar60runb
    P_CONC_REQUEST_ID=373985
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    report=/oraapp/prodappl/inv/11.5.0/reports/US/INVTRREG.rdf
    batch=yes
    destype=file
    desname=/oraapp/prodcomn/admin/out/PROD_apps/o373985.out
    desformat=XML
    -- End of Reports Command --
    XML_REPORTS_XENVIRONMENT is :
    /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Previous NLS_LANG Environment Variable was :
    American_America.AR8MSWIN1256
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    stat_low = 6
    stat_high = 0
    emsg:was terminated by signal 6
    *** glibc detected *** double free or corruption (!prev): 0x08bf6a78 ***
    Report Builder: Release 6.0.8.25.0 - Production on Tue Aug 4 14:32:30 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Reset original NLS_LANG in environment as :
    American_America.AR8MSWIN1256
    Program was terminated by signal 6
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 373985.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 373985 on node APPS at 04-AUG-2009 14:32:37.
    Post-processing of request 373985 completed at 04-AUG-2009 14:32:38.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 04-AUG-2009 14:32:38
    can any one help me with it????

    hi,,,
    it seems OS package version conflict
    Please check glibc and openmotif version (its responsible for reports)
    and
    Set the environment variable MALLOC_CHECK_=0 and bounce the Concurrent Managers
    MALLOC_CHECK_ can be changed in two places :-
    1. Add this to the $APPL_TOP/custom<TWO_TASK>_<HOSTNAME>.env
    MALLOC_CHECK_=0
    Then restart the concurrent managers and retest
    2. Change it in the adovars.env file
    Again bounce the concurrent managers and retest
    THANKS (ZzZ)
    Edited by: zzz on Aug 5, 2009 8:59 AM
    Edited by: ZzZ on Aug 5, 2009 9:00 AM

  • Oracle Report vs JSP efficiency and Excel XML in Web Source Questions

    I have used Oracle Reports in the past 6i, but haven't used them in about 4 years. We are now using 9.0.4 reports and I am trying to generate Excel XML from an Oracle report by manipulating the web source of the report. Basically copying and pasting the Excel XML into the web source of the Oracle Report instead of html as suggested by this Metalink Doc ID 240819.1. I do have a JSP working example that generates Excel XML created in JDeveloper and successfully spawns off a very nice looking Excel spreadsheet.
    However, a statement was made here by our app sever guy that an Oracle Report is more efficient at getting data from the database than a JSP. The app sever section does not want anyone using JSPs to generate a report of any kind. I guess small web pages are OK since our java guys use them all the time. This rule for a Reports only environment seems a little restrictive to me. Is there any truth to the statement that Oracle Reports bulk collects data in one chunk as opposed to a JSP making multiple trips to the database from the middle tier?
    Secondly, if an Oracle Report is more efficient in the way that it collects large record sets from the db, and if I save an Oracle Report as a JSP not an rdf, and use the reports_tld.jar with the rw tags instead of the typical jsp jstl tags, will I still get the same improvement from using an Oracle report? I guess the improvement is in the library used correct?
    Thirdly, although not part of this forum, I also am assuming that if we have single sign on that when I call a JSP from an Oracle Form I will not have to log in again correct?
    Thanks...
    Message was edited by:
    Mark Reichman

    It could be the configuration issue. Reconfigure the engine.

  • Calling Oracle Reports from JSP/HTML

    Hi,
    We have a web application developed in JSP, I'd like to use Oracle Reports writer to generate reports (Since our back office application is developed using Oracle forms and Reports - 6i).
    I don't know how to place a request to Oracle Reports server and view the output. Can someone please help me with this.
    Thanks in advance.
    Best Regards,
    Karthik

    Karthik,
    You might want to repost this question to the reports forum - you'll be more likely to get a response from a reports expert.
    Thanks
    Blaise

  • Oracle Reports in Excel format

    Hi ,
    The environment of my company consist of an ERP system developed using Oracle Forms 4.5 and Reports 2.5. Now, due to increase in business activities, there is a lot of requests from user for reports in Excel sheet.
    Our company is planning for Oracle ERP Rel 12....and it is under process of analysis..due to which there is no chance of upgrade to latest Developer Suite.
    As of now, to fulfill user requirements of Excel based reports...what do you think is best and permanent solution?
    Is there any plug-in or Business Process or Business Intelligence application llike ORACLE BI Spreadsheet plug-in..which meets our demand.
    Please suggest ....As of now provide users with options to run the report and generate output in HTML format, from there, they copy it to Excel..but this process is not at all user friendly and feasible.
    I appreciate your valuable suggestions.
    Thanks.
    O M E R

    Hello Omer,
    we use Oracle Reports for generating PDF reports, but to generate Excel files we use a free implementation of Microsofts XML-spreadsheet format. In my eyes the best solutions are
    https://xml-spreadsheet.samplecode.oracle.com/ or
    https://exceldocumenttype.samplecode.oracle.com/
    Others can be found at Re: How to save a query result and export it to, say excell?
    Regards
    Marcus

  • Oracle reports in pdf format on web

    What are the steps involved in calling the oracle reports from web and work with ASP application in the pdf format.If you have some details on that or if there is any book/online resource I can look at please respond.
    Thanks

    I allways have to cancel the current job stacked from the Enterprise Manager.
    If I restart the web application and try to generate PDF without cancel the current job stacked in the Enterprise Manager in Current Jobs Queue it doesn't work. It's blocking that job too in the current jobs. ("Formatting page n").
    After that I can continue generating other PDF.
    How can I do to succeed in generating other reports without using the Enterprise Manager to kill the sessions?

Maybe you are looking for

  • Ipod classic corrupted and cannot save music..

    Suddenly I found out that my iPod Classic 5th Gen reset by itself and lost all music in it.  I thought the hard drive was corrupted and tried to restore the iPod with iTunes.  After that I mannually copied music back into iPod using iTunes.  But soon

  • Bugs Ive Encountered In PSE 7

    Here are all the reproducible bugs Ive encountered in PSE 7. Problems added since my last posting on 10/5/08 are marked [N]. Because of limitations of the forum, this list is split across several messages. Ive reported all of these problems to Adobe.

  • My keychains haven't been working so I deleted something and I forgot what it was

    My keychains haven't been working so I deleted something and I forgot what it was, but it was obviously something big and now my mac is saying that it cannot find a place to store a keychain or there is no keychain available or something along those

  • How to move Top-Level Navigation tabs from left to center side

    Hi, Is there a way to modify the TLN tabs to display on the center side instead of the left? (as if it were a align = center in the code of table) I tried to change printLevel1Table and printLevel functions in toplevelnavigation.js.org file, but it n

  • Easy Way to Play Clips in Sequence?

    Noob question: Is there an easy way to play my clips in sequence without dragging each into the timeline? When I log and capture, FCP7 creates a separate clip each time I restart recording.  Can I look at each clip one after the other without double