Seeking for VB code to run the report conect to ODBC system DSN

I use the VBcode to run the CR report from VB application.
Works great when the report connect to mdb through DAO engine..
Set CrxReport = apps.OpenReport(App.Path & "/" & Reportfile & ".rpt")
CrxReport.Database.Tables(1).ConnectionProperties.Item("Database Password") = "syspass"
Now I make my report connect Access 2007 through System DSN in ODBC.
Set CrxReport = apps.OpenReport(App.Path & "/" & Reportfile & ".rpt")  -- works.
CrxReport.Database.Tables(1).ConnectionProperties.Item("Database Password") = "syspass"
-- Get Crystal error-214726270.
  Any help?
Many Thanks!
Daphne

Moved to Legacy SDK forum.
Need more info. What version of CR and which report engine are you using?
Thank you
Don

Similar Messages

  • How can I run the report for different input values at the same time?

    Reports version: Report Builder 6.0.8.13.1
    Oracle version: Oracle8i Enterprise Edition Release 8.1.7.0.0
    I want to run the same report for different input parameter values and spool each o/p to different file and ftp to a server. For this, as a first step, I am spooling different input values in to a file, reading those values through a loop and calling the report for that input values. Each report run/execution is taking 15 minutes. Total report execution is taking approximately 4 hours (assuming 16 different input values) to complete. So I have to wait 4 hours to see ALL outputs.
    I would like to run the report parallel for ALL the input values and I should be able to see the ALL outputs with in 15 or 16 minutes.
    In my shell script, I added & symbol at the end of the report call to start/run the job in the background. Due to this the control passed to the next step after the report call. At this place I have an ftp command to send the output file to a different server and it is giving error some thing like “o/p file is not available/created yet". This is due to the fact that report writer is NOT yet completely started/initiated or it is NOT completed the spooling.
    How can I run the report at the same time for all the input values and save the time?
    Thanks in advance.
    Kishore.

    Increase the number of server engines running right now it seems there is only one engine running ,increase it to 4 or 6
    and then atleast 4 or 6 reports will run simultaneously.
    For FTPing the output add to your sript to check whether it is locked and if not then only try to ftp .
    Also for more better functionality read the document (chapter 15 ) for 10g reports for its new fuinctionality.
    http://download.oracle.com/docs/cd/B14099_17/bi.1012/b14048/toc.htm
    Thanks
    Subodh

  • Need to run the report for All Values when Null is passed in parameter

    Hi All,
    In my BIP report, I am using a parameter :asset with Type as Text, which means user will type the values for the parameter in the text box.
    Now, this parameter can take multiple comma separated values. I have a requirement to run the report for All Values when user doesn't enter any value in the parameter text box and if user enters any value(s) then the report will run for those values . The way, I tried to handle that in the query using couple of ways was :
    IMP : My Database is SQL Server
    where
    (table.asset = isnull((:asset), table.asset) or table.asset in (:asset))
    Now this works fine when I give a single asset number but when I give multiple values separated by comma like 123, 345 in the text box, then the statement fails saying 'encountered ,'
    I also tried simply
    table.asset in isnull((:asset),table.asset) -- but this doesn't work as it doesn't allow me to use in operater while using isnull and if i will use = operater then it won't work in case of multiple values
    Any suggestions on how can I handle this? Any help would be highly appreciated.
    Thanks,
    Ronny

    thanks for replying, but i tried this option too, it did not work for me, neither isnull nor coalesce. I mean, the solution work for single value but when i pass multiple values then separated by a comma then it doesn't work and shows me an error like "Incorrect Syntax ','". I am using SQL server as DB and bip is 10.1.3.4.1
    also please share the SR number, so i can also check the same.
    can there be any other work around to this?
    thanks,
    ronny

  • Don't have to run the report for no prompt value

    Hi,
    The requirement is that I need to create a report which is more of a search report kind of thing. So on the dashboard we need to show only prompts. The users would choose any prompt and run the report.....now the issue is....that when no prompt values is selected and user hit the GO button ..i need to show a message saying "Please select any value" ...how to do that ..
    I have already refered kishore's blog on guided navigation to implement this ..but the issue which I am facing is that my intermediate report is taking too much time (almost 10 mins) to come back with values and then my actual report shows the message thorugh No results view ...but i need to load the messsage to the dashboard in not more that 1 mins ...how to do that .....
    any help would be much appreciated ....
    Thanks
    Ronny

    Thanks Kishore, but I have already refered your blog and implemented this approach as I have mentioned above, however, the issue is that my intermediate report in which I am using the dummy filter is taking too much time to run ...like 10 mins...so guided navigation doesn't work properly ....I have almost 15 prompts so it is taking time ..is there any other work around ?
    Thanks,
    Ronny

  • Run the Report as a Background job and Get the Output in Excel in Local PC

    Hello Gurus,
    I have one following requirement.
    One should be able to run the report as a background job and it should be possible to get the report in Excel format, also when running the report in background. The excel report should have the same information and look as the current SAPreport.
    Please provide some solution.
    Any helpful answer get surely awarded.
    Thanks a lot,
    Varlanir

    GUI_* WS_* Function In Background, CSV Upload
    GUI_* and WS_* function modules do not work in background
    When scheduling a job in the background the appropriate statement to read in your file is OPEN DATASET, and the file must be on the file system that the SAP server can see.
    At anytime, a user can switch of the Personal Computers even though the job is still running in the background.  Therefore GUI_* and WS_* function modules are not designed to work in that way, as they need to access your personal computer  file.
    To choose the correct download method to used, you can check the value of SY-BATCH in your code,
    if it is 'X' use OPEN DATASET and if it is ' ' use WS_UPLOAD.
    *-- Open dataset for reading
    DATA:
      dsn(20) VALUE '/usr/test.dat',
      rec(80).
    OPEN DATASET dsn FOR INPUT IN TEXT MODE.
    IF sy-subrc = 0.
      DO.
        READ DATASET dsn INTO rec.
        IF sy-subrc <> 0.
          EXIT.
        ELSE.
          WRITE / rec.
        ENDIF.
      ENDDO.
    ENDIF.
    CLOSE DATASET dsn.
    *-- Open dataset for writing
    DATA rec(80).
    OPEN DATASET dsn FOR OUTPUT IN TEXT MODE.
      TRANSFER rec TO '/usr/test.dat'.
    CLOSE DATASET dsn.
    What is the difference when we use upload, ws_upload, gui_upload function modules?
    UPLOAD, WS_UPLOAD, GUI_UPLOAD, are used in BDC concepts.  ie., Batch Data Communication.
    Batch Data Conversion is a concept where user can transfer the Data from non SAP to SAP R/3.  So , in these various Function Modules are used.
    UPLOAD---  upload a file to the presentation server (PC)
    WS_UPLOAD----    Load Files from the Presentation Server to Internal ABAP Tables.
    WS means Work Station.
    This is used upto SAP 4.6 version.
    GUI_UPLOAD-------    Replaces WS_UPLOAD. Upoad file from presentation server to the app server.  From 4.7 SAP version it is replaced.
    How to Upload csv file to SAP?
    Common File Download Upload Questions:
    How  you upload the data from text file to sap internal table?  From my knowledge its by upload or gui_upload. 
    How you download the data from sap internal table to text file?
    How  you upload the data from xls (excel) file to sap internal table how you download the data from sap internal table to xls(excel) file.
    You can upload data from presentation server to an internal table using gui_upload. Use gui_download to download from internal table to flat file.
    Use fm ALSM_EXCEL_TO_INTERNAL_TABLE to upload data frm excel.
    Use function module GUI_UPLOAD
    The FILETYPE refer to the type of file format you need: For e.g 'WK1' - Excel format , 'ASC' - Text Format etc.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'C:\test.csv'
       FILETYPE                      = 'ASC'
      TABLES
        DATA_TAB                      = itab
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17.

  • Problem while running the report from a form

    Hi,
    I am able to call a report from forms9i using run_report_object. This report just has a boilertext within it. I did this just to check the functionality of run_report_object built-in. This worked perfectly.
    But when I am trying to call a report based on emp table from the form, it gives me error saying that it cannot run the report.
    Can anyone please help me.
    Thanks
    Narain

    Hi Ino Laurensse ,
    Thanks for the response.
    The error code and message is as follows
    frm-41214 Unable to run report.
    I am able to call from forms9i a report with some boilertext but not a report accessing the database. Thro' out I have never changed the username.
    The following are the changes I made
    In the rwservlet.properties
    I specified the
    reportserver name = repsrv ( I created it and started from the services)
    singlesignon = no
    I am able to run the report which is accessing the emp table from the report builder with the same user as the one which I am using in forms, but, the same I am not able to call from forms.
    thanks
    Narain

  • Error happened while running the report-BIRT

    Eclipse version - Luna
    that is-Eclipse IDE for Java and Report Developers
    version-4.4.2.20150219-0708
    Code in script open menu is-
    query="select"
    +"department_name, office_id, office_name,"
    +"sum(total_empl_count) as total_empl_count,"
    +"sum(pb_count) as Total_paybill_count, "
    +"sum (case when status = 'Approved' then pb_count else 0 end) as Approved,"
    +"sum (case when status = 'Ecs Processed' then pb_count else 0 end) as Ecs_Processed,"
    +"sum (case when status = 'Open' OR status= 'Rejected' then pb_count else 0 end) as Pendind_on_DDO,"
    +"sum (case when status = 'REVIEW I' then pb_count else 0 end) as REVIEW_I, "
    +"sum (case when status = 'REVIEW II' then pb_count else 0 end) as REVIEW_II, "
    +"sum (case when status = 'REVIEW III' then pb_count else 0 end) as REVIEW_III, "
    +"sum (case when status = 'REVIEW IV' then pb_count else 0 end) as REVIEW_IV"
    +"FROM ("
    +"select distinct ep.office_id as office_id, ep.department_name as department_name, ep.office_name as office_name, pb.status, "
    +"count(distinct ep.party_id) as total_empl_count, count(distinct pb.party_id) as pb_count"
    +"from"
    +"empl_position ep"
    +"inner join party pty on ep.party_id = pty.party_id "
    +"left outer join party_group pgo on ep.office_id = pgo.party_id "
    +"left outer join party_relationship pr on pr.party_id_to = pgo.party_id"
    +"left outer join party_group pgz on pr.party_id_from = pgz.party_id "
    +"left outer join"
    +"("
    +"select pb.party_id, pbs.status"
    +"from pay_bill pb "
    +" inner join pay_bill_summary pbs on pb.pay_bill_id = pbs.pay_bill_id"
    +" ) pb on ep.party_id = pb.party_id"
    +"where "
    +"ep.status_id = 'EMPL_POS_ACTIVE'"
    +"and pty.party_type_id = 'PERSON' "
    +"and pgo.group_name = 'Office'"
    +"and pgz.group_name = 'Zone'"
    +" and pr.status_id = 'PARTY_REL_ACTIVE' "
    +"group by ep.office_id, ep.department_name, ep.office_name, pb.status"
    +") zone_report"
    +"group by department_name,office_name,office_id"
    +"order by department_name"+params["Zone ID"]+params["Month"]+params["Year"];
    resportList=new Packages.org.ofbiz.example.GenerateReport();
    list=resportList.getReportData(query);
    itr=list.iterator();
    Problem- 1. I can't test my query.
    it reports error - java.lang.ExceptionInInitializerError
    at org.ofbiz.entity.config.EntityConfigUtil.getXmlRootElement(EntityConfigUtil.java:62)
    at org.ofbiz.entity.config.EntityConfigUtil.<clinit>(EntityConfigUtil.java:78)
    at org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:47)
    at org.ofbiz.entity.transaction.TransactionFactory.getConnection(TransactionFactory.java:96)
    at org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:77)
    at org.ofbiz.example.GenerateReport.getReportData(GenerateReport.java:102)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
    at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
    at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
    at org.mozilla.javascript.gen.c12._c1(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:44)
    at org.mozilla.javascript.gen.c12.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
    at org.mozilla.javascript.gen.c6._c0(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:0)
    at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
    at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.mozilla.javascript.gen.c6.exec(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)
    at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)
    at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:993)
    at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)
    at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)
    at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)
    at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleOpen(ScriptDataSetScriptExecutor.java:98)
    at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.open(ScriptDataSetRuntime.java:80)
    at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.open(PreparedScriptDSQuery.java:247)
    at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:223)
    at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1222)
    at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
    at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
    at org.eclipse.birt.report.engine.api.impl.ExtractionResults.nextResultIterator(ExtractionResults.java:157)
    at org.eclipse.birt.report.designer.data.ui.dataset.DataSetPreviewer.preview(DataSetPreviewer.java:69)
    at org.eclipse.birt.report.designer.data.ui.dataset.ResultSetPreviewPage$5.run(ResultSetPreviewPage.java:366)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
    Caused by: java.util.MissingResourceException: Can't find bundle for base name cache, locale en_IN
    at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
    at java.util.ResourceBundle.getBundleImpl(Unknown Source)
    at java.util.ResourceBundle.getBundle(Unknown Source)
    at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:163)
    at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:159)
    at org.ofbiz.base.util.cache.UtilCache.<init>(UtilCache.java:119)
    at org.ofbiz.base.util.cache.UtilCache.createUtilCache(UtilCache.java:666)
    at org.ofbiz.base.config.ResourceLoader.<clinit>(ResourceLoader.java:38)
    ... 39 more
    [b]Problem 2[\b]-
    While opening web viewer for my report the error is -
    org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
    at org.eclipse.birt.report.engine.api.impl.EngineTask.handleFatalExceptions(EngineTask.java:2380)
    at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:277)
    at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:86)
    at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1325)
    at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:158)
    at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81)
    at org.eclipse.birt.report.service.actionhandler.BirtChangeParameterActionHandler.runReport(BirtChangeParameterActionHandler.java:58)
    at org.eclipse.birt.report.service.actionhandler.AbstractChangeParameterActionHandler.__execute(AbstractChangeParameterActionHandler.java:52)
    at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
    at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)
    at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143)
    at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleChangeParameter(BirtDocumentProcessor.java:100)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112)
    at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
    at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
    at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:360)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
    at org.eclipse.jetty.server.Server.handle(Server.java:370)
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
    at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ExceptionInInitializerError
    at org.ofbiz.entity.config.EntityConfigUtil.getXmlRootElement(EntityConfigUtil.java:62)
    at org.ofbiz.entity.config.EntityConfigUtil.(EntityConfigUtil.java:78)
    at org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:47)
    at org.ofbiz.entity.transaction.TransactionFactory.getConnection(TransactionFactory.java:96)
    at org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:77)
    at org.ofbiz.example.GenerateReport.getReportData(GenerateReport.java:102)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
    at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
    at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
    at org.mozilla.javascript.gen.c10._c1(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:4)
    at org.mozilla.javascript.gen.c10.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
    at org.mozilla.javascript.gen.c6._c0(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:0)
    at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
    at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.mozilla.javascript.gen.c6.exec(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)
    at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)
    at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:993)
    at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)
    at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)
    at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)
    at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleOpen(ScriptDataSetScriptExecutor.java:98)
    at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.open(ScriptDataSetRuntime.java:80)
    at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.open(PreparedScriptDSQuery.java:247)
    at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:223)
    at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1222)
    at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
    at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
    at org.eclipse.birt.report.engine.data.dte.QueryResultSet.(QueryResultSet.java:98)
    at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
    at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)
    at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
    at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
    at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
    at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
    at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
    at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
    at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
    at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
    at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
    at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:249)
    at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:269)
    ... 61 more
    Caused by: java.util.MissingResourceException: Can't find bundle for base name cache, locale en_IN
    at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
    at java.util.ResourceBundle.getBundleImpl(Unknown Source)
    at java.util.ResourceBundle.getBundle(Unknown Source)
    at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:163)
    at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:159)
    at org.ofbiz.base.util.cache.UtilCache.(UtilCache.java:119)
    at org.ofbiz.base.util.cache.UtilCache.createUtilCache(UtilCache.java:666)
    at org.ofbiz.base.config.ResourceLoader.(ResourceLoader.java:38)
    ... 113 more
    [b]Please help ! [\b]

    Eclipse version - Luna
    that is-Eclipse IDE for Java and Report Developers
    version-4.4.2.20150219-0708
    Code in script open menu is-
    query="select"
    +"department_name, office_id, office_name,"
    +"sum(total_empl_count) as total_empl_count,"
    +"sum(pb_count) as Total_paybill_count, "
    +"sum (case when status = 'Approved' then pb_count else 0 end) as Approved,"
    +"sum (case when status = 'Ecs Processed' then pb_count else 0 end) as Ecs_Processed,"
    +"sum (case when status = 'Open' OR status= 'Rejected' then pb_count else 0 end) as Pendind_on_DDO,"
    +"sum (case when status = 'REVIEW I' then pb_count else 0 end) as REVIEW_I, "
    +"sum (case when status = 'REVIEW II' then pb_count else 0 end) as REVIEW_II, "
    +"sum (case when status = 'REVIEW III' then pb_count else 0 end) as REVIEW_III, "
    +"sum (case when status = 'REVIEW IV' then pb_count else 0 end) as REVIEW_IV"
    +"FROM ("
    +"select distinct ep.office_id as office_id, ep.department_name as department_name, ep.office_name as office_name, pb.status, "
    +"count(distinct ep.party_id) as total_empl_count, count(distinct pb.party_id) as pb_count"
    +"from"
    +"empl_position ep"
    +"inner join party pty on ep.party_id = pty.party_id "
    +"left outer join party_group pgo on ep.office_id = pgo.party_id "
    +"left outer join party_relationship pr on pr.party_id_to = pgo.party_id"
    +"left outer join party_group pgz on pr.party_id_from = pgz.party_id "
    +"left outer join"
    +"("
    +"select pb.party_id, pbs.status"
    +"from pay_bill pb "
    +" inner join pay_bill_summary pbs on pb.pay_bill_id = pbs.pay_bill_id"
    +" ) pb on ep.party_id = pb.party_id"
    +"where "
    +"ep.status_id = 'EMPL_POS_ACTIVE'"
    +"and pty.party_type_id = 'PERSON' "
    +"and pgo.group_name = 'Office'"
    +"and pgz.group_name = 'Zone'"
    +" and pr.status_id = 'PARTY_REL_ACTIVE' "
    +"group by ep.office_id, ep.department_name, ep.office_name, pb.status"
    +") zone_report"
    +"group by department_name,office_name,office_id"
    +"order by department_name"+params["Zone ID"]+params["Month"]+params["Year"];
    resportList=new Packages.org.ofbiz.example.GenerateReport();
    list=resportList.getReportData(query);
    itr=list.iterator();
    Problem- 1. I can't test my query.
    it reports error - java.lang.ExceptionInInitializerError
    at org.ofbiz.entity.config.EntityConfigUtil.getXmlRootElement(EntityConfigUtil.java:62)
    at org.ofbiz.entity.config.EntityConfigUtil.<clinit>(EntityConfigUtil.java:78)
    at org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:47)
    at org.ofbiz.entity.transaction.TransactionFactory.getConnection(TransactionFactory.java:96)
    at org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:77)
    at org.ofbiz.example.GenerateReport.getReportData(GenerateReport.java:102)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
    at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
    at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
    at org.mozilla.javascript.gen.c12._c1(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:44)
    at org.mozilla.javascript.gen.c12.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
    at org.mozilla.javascript.gen.c6._c0(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:0)
    at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
    at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.mozilla.javascript.gen.c6.exec(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)
    at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)
    at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:993)
    at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)
    at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)
    at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)
    at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleOpen(ScriptDataSetScriptExecutor.java:98)
    at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.open(ScriptDataSetRuntime.java:80)
    at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.open(PreparedScriptDSQuery.java:247)
    at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:223)
    at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1222)
    at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
    at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
    at org.eclipse.birt.report.engine.api.impl.ExtractionResults.nextResultIterator(ExtractionResults.java:157)
    at org.eclipse.birt.report.designer.data.ui.dataset.DataSetPreviewer.preview(DataSetPreviewer.java:69)
    at org.eclipse.birt.report.designer.data.ui.dataset.ResultSetPreviewPage$5.run(ResultSetPreviewPage.java:366)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
    Caused by: java.util.MissingResourceException: Can't find bundle for base name cache, locale en_IN
    at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
    at java.util.ResourceBundle.getBundleImpl(Unknown Source)
    at java.util.ResourceBundle.getBundle(Unknown Source)
    at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:163)
    at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:159)
    at org.ofbiz.base.util.cache.UtilCache.<init>(UtilCache.java:119)
    at org.ofbiz.base.util.cache.UtilCache.createUtilCache(UtilCache.java:666)
    at org.ofbiz.base.config.ResourceLoader.<clinit>(ResourceLoader.java:38)
    ... 39 more
    [b]Problem 2[\b]-
    While opening web viewer for my report the error is -
    org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
    at org.eclipse.birt.report.engine.api.impl.EngineTask.handleFatalExceptions(EngineTask.java:2380)
    at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:277)
    at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:86)
    at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1325)
    at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:158)
    at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81)
    at org.eclipse.birt.report.service.actionhandler.BirtChangeParameterActionHandler.runReport(BirtChangeParameterActionHandler.java:58)
    at org.eclipse.birt.report.service.actionhandler.AbstractChangeParameterActionHandler.__execute(AbstractChangeParameterActionHandler.java:52)
    at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
    at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)
    at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143)
    at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleChangeParameter(BirtDocumentProcessor.java:100)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112)
    at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
    at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
    at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:360)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
    at org.eclipse.jetty.server.Server.handle(Server.java:370)
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
    at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ExceptionInInitializerError
    at org.ofbiz.entity.config.EntityConfigUtil.getXmlRootElement(EntityConfigUtil.java:62)
    at org.ofbiz.entity.config.EntityConfigUtil.(EntityConfigUtil.java:78)
    at org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:47)
    at org.ofbiz.entity.transaction.TransactionFactory.getConnection(TransactionFactory.java:96)
    at org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:77)
    at org.ofbiz.example.GenerateReport.getReportData(GenerateReport.java:102)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
    at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
    at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
    at org.mozilla.javascript.gen.c10._c1(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:4)
    at org.mozilla.javascript.gen.c10.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
    at org.mozilla.javascript.gen.c6._c0(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:0)
    at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
    at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.mozilla.javascript.gen.c6.exec(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
    at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)
    at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)
    at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:993)
    at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)
    at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)
    at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)
    at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleOpen(ScriptDataSetScriptExecutor.java:98)
    at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.open(ScriptDataSetRuntime.java:80)
    at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.open(PreparedScriptDSQuery.java:247)
    at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:223)
    at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1222)
    at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
    at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
    at org.eclipse.birt.report.engine.data.dte.QueryResultSet.(QueryResultSet.java:98)
    at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
    at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)
    at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
    at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
    at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
    at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
    at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
    at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
    at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
    at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
    at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
    at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:249)
    at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:269)
    ... 61 more
    Caused by: java.util.MissingResourceException: Can't find bundle for base name cache, locale en_IN
    at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
    at java.util.ResourceBundle.getBundleImpl(Unknown Source)
    at java.util.ResourceBundle.getBundle(Unknown Source)
    at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:163)
    at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:159)
    at org.ofbiz.base.util.cache.UtilCache.(UtilCache.java:119)
    at org.ofbiz.base.util.cache.UtilCache.createUtilCache(UtilCache.java:666)
    at org.ofbiz.base.config.ResourceLoader.(ResourceLoader.java:38)
    ... 113 more
    [b]Please help ! [\b]

  • Error message while running the report RFUMSV50 (Service Tax)

    Hi Experts,
    I have occured the following error while running the Report for for transferring the Service Tax from Interim to Final Account.
    F107: Restrict Period
    F7566
    I have executed the report RFUMSV50 by T.Code SE38
    Please help me in this matter.
    Thanks
    Priya

    Hi
    have you checked
    1. Global Parameters for Company Code
    . Currency Trln Rate set as '2' (WhichMeans exchange rate determined using posting date)
    2. Deferred Tax code Z0 created with Target Tax Code Z1
    Cya
    udayakumar.k

  • How to get SYSDATE in the header section dynamically when we run the report

    I have one more issue may i know how can i get the sysdate in the header section when i run the report.
    as we have the requirement like this
    In the header section
    Run Date : ("sysdate").
    How to get the sysdate dynamically in the RTF template, when i go across the google i found that header and footer section did not allow form fiields .
    So is there any way to do it.
    Thanks in Advance.
    Have a Nice Day.

    You cannot insert form fields in the Header section, but you can just insert the code to achieve this. For example: insert this in the header section to view the sysdate: You could format the date as you would like..
    <?xdoxslt: sysdate(‘YYYY-MM-DD’)?>
    Since you are new to BI publisher, search the forum, review the Report Designer's guide for BI publisher. You will find that most of your basic questions are answered there and there are examples as well.
    Thanks!

  • Getting warninig while running the report

    hi all am getting warning while running the report .
    am getting following errors in log file .
    log file is given below
    please help me
    +---------------------------------------------------------------------------+
    Process Manufacturing Inventory: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXVIS_OPM_STOCK_STATEMENT module: Visaka RG1 Register
    +---------------------------------------------------------------------------+
    Current system time is 11-OCT-2011 20:35:56
    +---------------------------------------------------------------------------+
    **Starts**11-OCT-2011 20:35:57
    **Ends**11-OCT-2011 20:37:26
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    +------------- 1) PUBLISH -------------+
    Unable to find an Output Post Processor service to post-process request 15845786.
    Check that the Output Post Processor service is running.
    +--------------------------------------+
    +------------- 2) PRINT   -------------+
    Not printing the output of this request because post-processing failed.
    +--------------------------------------+
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 11-OCT-2011 20:37:26
    +---------------------------------------------------------------------------+
    [\code]
    thanks for all in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Ask this in the Oracle eBusiness Suite forum. This doesn't look like a Reports problem.

  • How to run the report RM07CUFA?

    How to run the report RM07CUFA?

    Go to SE38 and enter RM07CUFA and click execute.
    in the next screen enter details for
    Movement Type
    Special Stock Indicator
    Company Code
    G/L Account
    and execute.
    If you have any inconsistency with fields that will be shown with red colour..

  • Error while running the Report

    Hi ,
    I am trying to run the Report in Bex Analyzer. and once I enter the value for the variable, it gives me message that "Element is not correctly define (please check query)" and when i click on the error it gives me detail message as below :
    <b><b>Diagnosis
    Additional elements that do not have the same dimension, such as quantities and amounts or amounts and ratios, are added to element Sales Qty Gallons .
    Procedure
    Check your definition.
    If you still want to use this addition, you can suppress the dimensionality of one or both subexpressions by using the 'NODIM' operator. The system then interprets this or these subexpressions as nondimensional numbers.
    In the executed query, you can use the Key Figure Definition function to analyze element Sales Qty Gallons .</b></b>
    Now the thing is I am already using "NODIM" operator to add those elements. and I m not sure why this error is coming up now because I have created this query a while ago and it wasnt giving me any error at that time but now I have make some changes into it and it;s giving me this error while running the Report. But the thing is I didnt change anything in the element for which it;s showing me error.
    Thanks,
    Naitik

    Naitik,
    There are two or more key figures in your report. They are defined by different dimensions and somewhere you have a formula with both these key figure.
    Edit your query and select the Check Query icon. It will tell you which calculation you have the problem with. Edit this calculation to see which key figures are present.
    If the formula is logically correct, best thing to do is to put a NODIM( ) on your key figures that make up the formula, and then change you formula to look at the NODIM( ) version.
    That will fix things for you,
    Regards
    Gill

  • Error when running the report

    hello,
    i am running a report, which has three parameters begin date, end date and dept full name.
    for example when i am running the report with following parameter's works fine they are 01/01/2002, 02/02/2002 and dept name is Animal Control.
    but when i am running the report with the following parameters its giving problem i.e.
    01/01/2002, 02/02/2002 and dept name is Mayor's office its not running the report says command line syntax error rep-0159.
    in the database the dept name is Like Mayor's office.
    i dont know how to convert the apostrophe to a string or what ever, to get the report.
    this is production problem.
    please do help me out.
    thanks.

    Hello!
    I guess you are running your report using rwrun60.exe, probably in batch mode.
    In such cases string parameter with single quote inside of it should be passed in a such way: rwrun60 ... paramname3='Mayor''s office' ...
    In Reports 6.0.8.11.3 it works fine.
    No problems at all if you are calling report from the Forms using run_product built-in and passing prameter list into the report.
    Regards,
    Andrew Velichko
    Brainbench MVP for Oracle Developer 2000
    http://www.brainbench.com

  • How can I want run the reports on AD, if I have no access to AD server?

    I am not an AD administrator and I do not have permissions to AD server. But I have admin permissions to a site in AD and using RSAT, can administer the site. How can I want run the reports listed below? AD is on Windows 2008R2 server.
    All Administrator logons
    Logon statistics
    Logons during non-business hours
    Multiple logon failures
    Password resets (other than Security Administrator)
    Successful logon after several failures
    User behavior anomalies
    Logons of already logged-on users
    All Logons Over Weekend
    Audit Policy Changed
    Computer Accounts Changed

    Hello,
    Some of your reports can be done using RSAT with Active Directory Powershell module. Some of them including
    Computer Accounts Changed needs auditing to be enabled for directory object changes. These are not predefined reports which you can simply run my friend. Can you please be more specific?
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

  • BI Publisher report deleted while running the report

    Hi,
    I am facing a strange problem. When i complete creating report and click on view to see the result, the data model from report is automatically deleted and hence parameters, LOVs everything. the only that remains is report name!!! i have already created few reports but they are working fine. suddenly it started acting this way. Please suggest.
    Thanks for your help and time.
    Regards,
    AS

    hi,
    Just now i identified that its not deleting the report but its reverting back the report to its previous version. Let me explain it you in details:
    suppose i created a report with following query source as Oracle Database:
    select territory_code from fnd_territories_tl
    where LANGUAGE = USERENV ('Lang')
    now if i modify the query in the same report to following query:
    <dataTemplate name="dunningLetter" description="Dunning Letter Report" dataSourceRef="IPOVIS" defaultPackage="xx_shpckt_init" Version="1.0">
    <parameters>
    <parameter name="p_order_number" dataType="character"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[select order_number from oe_order_headers where order_number = :p_order_number
      ]]>
    </sqlStatement>
    </dataQuery>
    <dataTrigger name="beforeReport" source="xx_shpckt_init.beforeReportTrigger"/>
    </dataTemplate>
    and then if i run the report again, the report will still show the result of previous query!! and then if i go back to data model then it will show the previous query there!! not sure why is it doing this way?? Also sometimes, when i create a new report and then view the result then it will revert its previous stage i.e report without Data model, LOVs and parameters!! That is the reason i thought its deleting the report while running report.
    Please suggest why is it acting this way? Appreciate your help and time.
    Thanks,
    Regards,
    AS

Maybe you are looking for

  • How can I make the URL change to show which page of flash I'm on?

    Hey, this is a bit confusing to explain, but say I have a flash site, just one swf file embedded in an html file. So you go to www.mysite.com/index.html, and you see the main page. In the flash site you have a button that just goes to a different fra

  • Inability to use eps graphics in Word 2007 and make a pdf

    Hi there … I work at a small "intellectual capital" company where virtually all of our documents (our products!) depend on embedding eps "pictures" into Word and pdf'ing the result.  While this process works great in Word 2003, it fails miserably in

  • Add new row to a table

    Hello! I'm using JDev 11.2 and I'm trying to add a new row to a table object (using create insert) the catch is this- and the new empty row that will appear- I want a value set instead of one of the values- so the user can choose which value to inser

  • No option to download apps on iPad Air

    I'm logged into my itunes account, but none of the apps in the app store have the "free" or "$.$$" button next to them giving me the option to download.  I've tried restarting the app store, and rebooting the iPad Air.

  • How do I get rid of "Acrobat is installed" in the CC-App?

    I was very dissatisfied with Acrobat XI (slow as hell) so that I immediately deinstalled it with the Acrobat uninstaller in the utilities folder. After reboot of the Mac and even after deinstallation of the creative cloud app, using the Adobe Cleaner