Reports compilation

Hi,
At work, it is usually we developer compile the reports and save to rdf file in Oracle reports developer 9i, and then DBA copies it to the server.
Now I am required to recompile all the existing reports, around 60 rdf files due to some fundamental table definition has changed. It is error-prone if I manually open each report, recompile and save. Is there a way that we can compile a batch of reports in oracle reports developer and how?
Thanks!

Thanks, if I want to compile rdf file into same rdf file format, I should do something like below:
rwconverter.sh userid=APPS/APPS source=$FND_TOP/reports/US/FNDATREP.rdf stype=rdffile dtype=rdffile overwrite=yes batch=yes compile_all=yes
Is it correct? By the way, where is the rwconverter located under the Unix box?
Thanks!

Similar Messages

  • Report Compilation Error

    I just installed the latest ColdFusion report builder. In
    running my first report I get the error "Report compilation error.
    Error at (108, 20: null ". Note that the RDS connection
    successfully tested and that the query itself runs with no problem.
    But when I hit the preview button within the report builder I get
    this error.

    Through the knowledge base I found out that I should delete a
    file named commons-digester-1.3.jar (which requires the stoppage of
    CF services), and after deleting that file and restarting services
    there was another error that occurred on my testing server (that
    runs only the developer version). The debug code is
    "<html><head><script
    src="res://mshtml.dll/objectembed.js"></script> <script
    language="javascript">var objectSource="
    http://localhost/Test4/report.cfr";
    </script> </head><body onload="ObjectLoad();"
    leftmargin=0 topmargin=0 scroll=no> <form
    id="objectDestination"></form>
    </body></html>". (The compiler hickuped on the
    ObjectLoad) Interestingly, the report did run when I put the report
    on the production server.

  • Report Compilation through batch mode

    Hi There,
    Could you please guide me how to do the 9i Report Compilation in batch mode.
    I need to compile 40-50 reports at one time on each server.
    We are using IBM-AIX, Win NT, and Solaris OS
    Thanks

    Hi,
    You could look up Note 191529.1 in Metalink
    http://metalink.oracle.com
    Navneet.

  • Jasperreports JRException: Could not instantiate report compiler :

    I am getting the following error while trying run a jasperreport application that makes a connection to a database and retrieves values based on a parameter passed. I am using eclipse 3.1 and the jetty server.
    net.sf.jasperreports.engine.JRException: Could not instantiate report compiler : net.sf.jasperreports.engine.design.JRJavacCompiler
         at net.sf.jasperreports.engine.design.JRDefaultCompiler.getCompiler(JRDefaultCompiler.java:205)
         at net.sf.jasperreports.engine.design.JRDefaultCompiler.loadEvaluator(JRDefaultCompiler.java:216)
         at net.sf.jasperreports.engine.fill.JRFillDataset.createCalculator(JRFillDataset.java:404)
         at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:354)
         at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92)
         at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74)
         at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
         at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:57)
         at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:402)
         at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:363)
         at net.sf.jasperreports.engine.JasperRunManager.runReportToPdfStream(JasperRunManager.java:163)
         at net.ensode.jasperbook.FirstReportSendToBrowserServlet.doGet(FirstReportSendToBrowserServlet.java:36)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459)
         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231)
         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453)
         at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
         at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
         at org.mortbay.jetty.Server.handle(Server.java:303)
         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452)
         at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:721)
         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:509)
         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349)
         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:320)
         at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    Caused by: java.lang.ClassCastException
         at net.sf.jasperreports.engine.design.JRDefaultCompiler.getCompiler(JRDefaultCompiler.java:201)
         ... 29 more
    The servlet code is given below:
    package net.ensode.jasperbook;
    import java.sql.*;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.util.HashMap;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import net.sf.jasperreports.engine.JREmptyDataSource;
    import net.sf.jasperreports.engine.JRException;
    import net.sf.jasperreports.engine.JasperCompileManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperRunManager;
    public class FirstReportSendToBrowserServlet extends HttpServlet {
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              HashMap parameterMap = new HashMap();
              parameterMap.put("value", new Integer(1));
              Connection con;
              try {
                   ServletOutputStream servletOutputStream = response.getOutputStream();
                   InputStream reportStream = getServletConfig().getServletContext()
                             .getResourceAsStream("/reports/FirstReport.jasper");
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   con=DriverManager.getConnection("jdbc:odbc:att", "att_report", "jasper");
                   JasperRunManager.runReportToPdfStream(reportStream, servletOutputStream, parameterMap, con);
                   con.close();
                   response.setContentType("application/pdf");
                   servletOutputStream.flush();
                   servletOutputStream.close();
              } catch (JRException e) {
                   // display stack trace in the browser
                   StringWriter stringWriter = new StringWriter();
                   PrintWriter printWriter = new PrintWriter(stringWriter);
                   e.printStackTrace(printWriter);
                   response.setContentType("text/plain");
                   response.getOutputStream().print(stringWriter.toString());
              catch (SQLException e1){
                   StringWriter stringWriter = new StringWriter();
                   PrintWriter printWriter = new PrintWriter(stringWriter);
                   e1.printStackTrace(printWriter);
                   response.setContentType("text/plain");
                   response.getOutputStream().print(stringWriter.toString());
              catch (ClassNotFoundException e2){
                   StringWriter stringWriter = new StringWriter();
                   PrintWriter printWriter = new PrintWriter(stringWriter);
                   e2.printStackTrace(printWriter);
                   response.setContentType("text/plain");
                   response.getOutputStream().print(stringWriter.toString());
    Could anyone please try and find me a solution.

    the jasper report , instructions and examples work
    just fine on Creator Studio
    Give Creator Studio a Try and you will be relieved of your frustrations
    (of course following the sun provided tutorial)

  • Interesting test for report compilation error

    I just tried to figure the compilation error I had and I ran
    into this :
    I delete all fields on my report so the report was empty.
    Then I added the backgroud color to the Report header session and
    ran the report, it worked fine. Then I add the Label on top of
    report header session then I got this error:
    Report compilation error. Error at (32, 20: null
    Is there a bug on the report or just my problem?
    Help!!

    Similar issue here. It happens with just a few reports. I can compile them on reports builder, but not using rwconverter.sh I am using 11.1.2.
    Any clues so far?

  • Report compilation error. Error at (203, 20: null

    Help. I'm getting this error on a report that used to work
    just fine. Here's the stack trace info... Any ideas what this error
    means?
    coldfusion.runtime.report.Report$ReportCompilationException:
    Report compilation error. Error at (203, 20: null
    at
    coldfusion.runtime.report.Report.compileXml(Report.java:580)
    at
    coldfusion.runtime.report.Report._compileReport(Report.java:181)
    at
    coldfusion.runtime.report.Report.compileReport(Report.java:124)
    at
    coldfusion.runtime.report.Report.runReport(Report.java:235)
    at
    coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:96)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:106)
    at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:157)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at
    org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    I wonder, if it's because our test site is http and our live
    site is https.
    Is that why it can't connect to the RDS server?
    I don't think http or https matters. The key is to get your
    production server configured as an RDS server in Report Builder.
    To do so, open Report Builder. Click on the
    Edit menu and then on
    Configure RDS Servers. Click on the "+" sign or,
    alternatively, select the option to
    Add RDS Server. Enter the connection details of your
    production server. You would of course have modified the settings
    on your production server beforehand to accept a connection from
    your test server.

  • Reports compile

    Hi
    I know the syntax for compiling the reports file but i dont understand abt the arguments and parameters used in report compilation syntax.
    adrepgen userid=apps\<psswd> source = $PRODUCT_TOP\srw\filename.rdf dest=$PRODUCT_TOP\srw\filename.rdf stype=rdffile dtype=rdffile logfile=x.log overwrite=yes batch=yes dunit=character
    plz explain me the use purpose of the args
    Also say how to compile the reports in oracle apps 11.5.10.2
    Regards
    Aram

    Aram,
    adrepgen The ad utility to generate the report.
    userid=apps\<psswd> Apps username and password
    source = $PRODUCT_TOP\srw\filename.rdf The source file name and location
    dest=$PRODUCT_TOP\srw\filename.rdf The destination file name and location
    stype=rdffile The source file type
    dtype=rdffileThe destination file type
    logfile=x.log The log file name
    overwrite=yes Whether to overwrite the existing destination file or not
    batch=yes Suppress terminal input/output
    dunit=character The type of the report (character/bitmap)
    Also say how to compile the reports in oracle apps 11.5.10.2Use the same syntax to generate the report. In 11i/R12, compiling reports is not required, just place the rdf file in the product directory (under reports/<LANG> directory). For custom reports, just make sure you can compile the report successfully using reports builder (at the client side), and copy the same file to the server.
    Thanks,
    Hussein

  • Purchase Order Print Report Compilation Error

    Hi,
    While compiling the report in Reports Builder Purchase Order Print Report , we get the following error:
    identifier GET_PRECISION must be declared.
    Where as this is a seeded function inbuild in the Program Units.
    Also while compiling on server we get the error.
    Cannot convert rdf to rep.
    Thanks,
    Angelica.

    Couldn't find how to copy the PO layout over using copy express.
    I did compare the RDOC fields for POR20002 in both databases and they are Identical. 
    In Crystal Reports, I did a formula search for N_Decimal_Places and it found nothing.  Then I did a search for 'length' in all formulas and it finds length in N_Decimal_Places.  When I double click on N_Decimal_Places it clears the screen and never shows the formula. This happens in both layouts for my test database and SBODemoUS.
    Again, SBODemoUS works correctly and AAA_TEST give the error.

  • New Report compiled executable requires _exclsub.llb?

    When using a compiled version of the office reporting package under win2k to generate a new Excel report, I get a file not found error in the New Report VI. Digging a little in New Report, it seems the VI is expecting the _exclsub.llb to exist in the data subdirectory of the executable. Manually moving _exclsub.llb to the correct spot solves the problem, but is there a better way?

    When building the executable in Application Builder, you must add the _exclsub.llb as a support file. The
    following webpage has some information related to this:
    http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/08ddbb532e53e96986256a860070a76c?OpenDocument
    The readme file that comes with the toolkit also talks about this.
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect

  • Report compilation in one short

    Hi,
    The following script for compiling all Oracle Reports Designer files(RDF)
    to Report executable file(REP) witin a specified directory. It works fine.
    But the problem is while executing under DOS, it takes 8bit names only
    instead of 32bit names.
    PRESENT OUTPUT : ASSETMASTER.RDF ===> ASSETM~1.REP
    (ie. If the file name is more than 8 character it consider the first 8 character only
    since it compiles under DOS)
    REQUIRED OUTPUT: ASSETMASTER.RDF ===> ASSETMASTER.REP
    Script:
    @echo off
    :: REPCMP.bat
    cls
    for %%f in (*.rdf) do c:\orawin95\bin\r30con32 USERID=XXX/XXX BATCH=YES STYPE=RDFFILE SOURCE=%%f DTYPE=REPFILE DEST=%%f
    echo FINISHED
    cls
    How to solve this problem.
    Advance Thanks..................
    null

    Thanks for the reply.
    FYI, not every month have all the columns filled up. Meaning some months may have lesser columns resulting in smaller tables. That's why some of the months, their tables will fit into one page.
    Changing width of does not solve my problem because my reports are made for A4 paper size. Printing such a report with its width altered causes some part of the table which overflows out from A4 paper size not to be printed.
    The location of the value I changed can be found here:
    Paper Layout > Main Section > Property Sheet: Width
    Please do help. Thanks.

  • Reports compilation errors (6i to 9i)

    Hello,
    When migrating a report from Oracle 6i to Oracle 9i, I get a number of errors.
    Here are 2 sample functions and the associated errors at compile time:
    function AfterReports return boolean is
    begin
    /* Delete referenced files */
    update lot
    set ref_file = null;
    ref_filenum = null;
    where co = :p_co
    and (lot.surveyor = :p_surveyor or :p_surveyor is null)
    and ref_filenum = :p_project;
    /* Flag the project to indicate that work order as been printed */
    update thproject
    set prtwrkord = 'Y'
    where co = :p_co
    and nvl(prtwrkord,'N') = 'N'
    and project = :p_project;
    return (TRUE);
    end;
    When trying to compile this function under Reports Oracle 9i, I get the following errors:
    Error 201 at line 4, column 11
    identifier 'LOT' must be declared
    Error 0 at line 4, column 4
    SQL statement ignored
    Error 201 at line 12, column 9
    identifier 'TBPROJECT' must be declared
    Error 0 at line 12, column 2
    SQL Statement ignored.
    =====
    function BeforeReport return boolean is
    trouver BOOLEAN;
    CURSOR CURS is select c c.co
    from company c, userco u
    where c.co = u.co
    and u.userid = user;
    begin
    open curs;
    fetch curs into :p.co
    trouver := curs%FOUND;
    close curs;
    return (trouver);
    end;
    Error 201 at line 4, column 12
    identifier 'COMPANY' must be declared
    Error 0 at line 3, column 20
    SQL Statement ignored.
    =====
    1) How can I go about resolving these compilation errors and generate the corresponding *.REP file ?
    Paolo

    At first glance it seems to me that you are missing a comma between ref_file and ref_filenum as below
    /* Delete referenced files */
    update lot
    set ref_file = null;
    ref_filenum = null;
    where co = :p_co
    and (lot.surveyor = :p_surveyor or :p_surveyor is null)
    and ref_filenum = :p_project;
    should be:
    /* Delete referenced files */
    update lot
    set ref_file = null,
    ref_filenum = null;
    where co = :p_co
    and (lot.surveyor = :p_surveyor or :p_surveyor is null)
    and ref_filenum = :p_project;
    HTH

  • Report Compilation Error REP-1430 on Linux

    Good Day,
    I've been trying to compile a few reports on Linux Report Builder: Release 11.1.1.7.0
    All the other report can convert into .rep
    but there are 1 reports gives this error in the .tex file
    Conversion of CL3198.rdf canceled
    Inside the cmd it says
    REP-1430: A REP file for report CL3198.rdf cannot be created: compilation errors found.
    When i compile the report in the Report Builder 6i (ctrl + shift + K) it compiled successfully. I'm using the same schema in both Report Builder and cmd.
    How can i resolve this? Please help.
    Thanks in advance.
    Ikha.

    Similar issue here. It happens with just a few reports. I can compile them on reports builder, but not using rwconverter.sh I am using 11.1.2.
    Any clues so far?

  • Linux Reports Compilation Errors (???)

    Hello,
    I created WebReports that run well an compile correctly under Windows XP.
    When I transfer my source to Linux, I am get the following compilation errors:
    REP-25200 Converting '/u01/app01/oracle_iAS_10g_new/forms90/Source_9i/Bttrnmtl.rdf' to '/u01/app01/oracle_iAS_10g_new3/forms90/Source_9i/Bttrnmtl.rdf' cancelled.
    REP-0004: Warning: nable to open user preference file.
    REP-1051: Unable to save document to file '/u01/app01/oracle_iAS_10g_new3/forms90/Source_9i/Bttrnmtl.rdf'.
    REP-1070: Error while opening or saving a document. - Object was not found in the object store.
    REP-1430: Cannot create REP File for report '/u01/app01/oracle_iAS_10g_new3/forms90/Source_9i/Bttrnmtl.rdf'. Compilation errors found, (oracle@Linux2005 Source_9i)
    1) How can I find out what part of the WebReport is causing this compilation error(s) ?
    Paolo

    Paolo,
    Check:
    1. You have read and write permissions for the directory in which you are saving the .RDF.
    2. RDF files are not corrupted.
    3. The directory you are saving .RDF to has enough space.
    Regards,
    Martin Malmstrom

  • Reports Compilation Errors: REP-25200 / REP-0004 / REP-1430

    Hello,
    When trying to compile 1 report on my Linux RHEL server, I get the following errors:
    [oracle@Linux2005 Source_9i]$ $ORACLE_HOME/bin/rwconverter.sh userid=system/manager1@oracleln batch=yes source=$ORACLE_HOME/forms90/Source_9i/BTSTMENT.rdf stype=rdffile overwrite=yes dtype=repfile
    Report Builder: Release 9.0.4.0.21 - Production on Sat Aug 6 14:19:14 2005
    (c) Copyright 2001 Oracle Corporation. All rights reserved.
    REP-25200: Converting '/u01/app01/oracle_iAS_10g_new3/forms90/Source_9i/BTSTMENT.rdf' to '/u01/app01/oracle_iAS_10g_new3/forms90/Source_9i/BTSTMENT.rep'...
    Conversion of '/u01/app01/oracle_iAS_10g_new3/forms90/Source_9i/BTSTMENT.rdf' cancelled.
    REP-0004: Warning: Unable to open user preference file.
    REP-1430: Cannot create REP File for report '/u01/app01/oracle_iAS_10g_new3/forms90/Source_9i/BTSTMENT.rdf'. Compilation errors found.
    [oracle@Linux2005 Source_9i]$ ls logo.gif
    logo.gif
    1) How can I resolve this issue ?
    Paolo

    No, not $ORACLE_HOME, but simply $HOME, the login home directory. I had that problem, and moving prefs.ora to $HOME solved it.
    About the other error, assuming that Windows and Linux machines connect to the same DB, and since you say that on Windows same programs compile and run properly, then one thing I can imagine is of upper/lower case names, that is on Linux something is not found, while on Windows it is, being Windows case insensitive. Just a thought....
    Could this be related to the environment variable set-up in my .bash_profile file ?I don't think so. If this was the case, then no programs should compile.
    Paul

  • Report compile error

    hi,
    we are using the old version report for some purpose.
    when i compile the report in report builder 3.0 . the error is coming.
    "the program has illegal performed function "
    "R30DES32 CAUSED AN INVALID PAGE FAULT"
    pls can u provide solution
    Regards,
    Maran

    I posted the problem on cfreport.org and Dean was very prompt
    in his response. Please read below
    http://www.cfreport.org is the
    web site.
    It seems that sometimes the updater does not remove a file
    from the coldfusion lib directory that it needs to. In the
    [cfinstalldir]\lib directory, you only need one version of
    commons-digester (specifically commons-digester-1.7.jar). If there
    is another version in there (1.3 I think, but anything earlier than
    1.7), you need to remove it
    # Posted By Dean Harmon | 7/3/06 1:28 PM
    I have tested this and it does work. You have to stop CF
    application service to delete the 1.3 file (sure enough it was in
    use) and then restart after delete the file. All is fine
    then.

Maybe you are looking for

  • Txt file read in- StringTokenizer- Try Block Catch for errors

    Hello So I am having a few issues with a school project. First is with my ReadWithScanner. It does not read in the file giving me a NullPointerException error on the line <Scanner in = new>. I have tried a few other read in files and they do not seem

  • Thin white line between line art and live paint fill?

    I am using live paint to paint cartoon character illustrations.  The artwork is brought into Illustrator CS3 and live traced.  Then I convert it to a live paint group and use the paint bucket to fill.  Everything looks fine no matter how much I zoom

  • Using PL/SQL in OMS Reports

    I've written a pl/sql block report and I'd like to add it to the OMS reports. Are there any examples or hints on how to do this ? Thanks

  • KM Content - Transport issue

    Hi, I have created some KM Content (Directory structure like folders, sub folders) in our Dev environment and then assigned them to Iviews. Every thing is working good, but I have transported the iViews to Quality but the directory structure like fol

  • After effects in FCP

    how can i get after effects plugins such as twitch and the evolution package to work in final cut pro and motion?