Report are not working using lexical parameter

Hi !
i am using oracle 10g and i my query i have laxical parameter as follow
&to_date
in after paramform we have
IF :P_DATE_TO IS NOT NULL THEN
     :TO_DATE := 'AND to_date(head.updated_date,'||chr(39)||'DD/MM/RRRR'||chr(39)||') between TO_DATE(t2.term_start_date,'||chr(39)||'DD/MM/RRRR'||chr(39)||') AND TO_DATE('||CHR(39)||:P_DATE_TO||CHR(39)||','||chr(39)||'DD/MM/RRRR'||chr(39)||')';
--ELSE
     --:TO_DATE := NULL;
END IF;
after compile this report when i run this report then i have following error
REP-304: '&' in SELECT statement was not followed by a valid lexical parameter.
any body can tell me how can i resove it.

What denis is trying to say that change the TO_DATE parameter to any other name because TO_DATE is actually reserve word. So instead of TO_DATE try for example P_TO_DATE or any other name.
-Ammad

Similar Messages

  • Oracle 9iAS R2 - reports are not working  - JSP Error

    dear All
    We are having issue in our Oracle 9i AS R2, the reports are not working, this thing happend suddenly , while runing any report the following messages are coming
    ==============
    500 Internal Server Error
    OracleJSP:
    JSP Error:
    Request URI:/repdemo/examples/Tools/test.jsp
    Exception:
    org.omg.CORBA.OBJECT_NOT_EXIST: minor code: 0 completed: No
         at com.inprise.vbroker.ProtocolEngine.PortfolioImpl.getConnector(PortfolioImpl.java:79)
         at com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerImpl.java:147)
         at com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java:196)
         at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java:365)
         at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java:493)
         at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java:356)
         at oracle.reports.engine._EngineReportStub.doneReport(_EngineReportStub.java:36)
         at oracle.reports.definition.RWJspProxy.doneReport(RWJspProxy.java:261)
         at oracle.reports.definition.RWReport.done(RWReport.java:1087)
         at oracle.reports.jsp.ReportTag.release(ReportTag.java:398)
         at oracle.jsp.runtime.OracleJspRuntime.releaseTagHandler0(OracleJspRuntime.java:1109)
         at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1213)
         at examples.tools._test._jspService(_test.java:292)
         [SRC:/examples/Tools/test.jsp]
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    -=================
    please help to resolve this issue.
    thanks in advance.
    regards

    Dear All
    Just to share the solution of the problem.
    We restarted the XServer which is on the other machine then Oracle 9i AS Middle Tiere and Infra. Once we restarted the XServer machine, and restarted the reports server , every thing back to normal.
    regards

  • Business Objects 3.1 reports are not working with IE 10.

    Hi,
    Recently I upgraded my internet explorer to IE10.. Since then business objects 3.1 reports are not opening in IE10.0
    Getting error message "webpage can't be found".
    I am not sure whether BO 3.1 reports work with IE 10.0 or not.
    Please advise
    Thanks
    Sat

    Did you try with other browsers ?
    IE 10 (Compatibility View display mode) with Oracle Java 6 / Oracle Java 7 is supported for BOXI3.1 SP6.
    Please check the PAM for details of your SP level.

  • RDL Reports are not working after installing SQL Server 2012 Service Pack 2 in the SharePoint integration Mode

    I am using Reporting Service Integration mode with SharePoint. SSRS is installed on separated machine of SharePoint stacks in Integration Mode. Everything was working properly and I could create/edit/modify RDL reports(parameters, Datasource, Subscription)
    inside SharePoint and Document Libraries.
    But after installing SQL Server 2012 Service Pack 2, on opening RDL reports inside SharePoint I receive this error message. 
    The permissions granted to user 'i:0#.f|membership|username' are insufficient for performing this operation. ---> Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user 'i:0#.f|membership|username' are insufficient for performing this operation
    I should mention that SSRS is installed in the SharePoint integration Mode and there is no SSRS management console.

    Hi Hedayat-Abedijoo,
    According to your description, you are using Reporting Services in SharePoint Integrated mode, and everything worked fine before you install SQL Server 2012 Service Pack 2. After the package is installed, when you open RDL reports, the error occurred: The
    permissions granted to user 'i:0#.f|membership|username' are insufficient for performing this operation.
    According to my search, there may be two reasons for the problem:
    This is caused when the application pool account that runs the SharePoint Web application you are on in IIS and the application pool account that SharePoint believes is running the site differ. This happens if the application pool account is changed directly
    in IIS instead of through SharePoint (using the approved method).
    This error can be caused when Kerberos authentication has been set up correctly and delegation in a double hop scenario will succeed, but Reporting Services integration has been set up for Trusted Account rather than Windows Authentication. This causes
    SharePoint to continue to impersonate the logged-on user when contacting Reporting Services; when Reporting Services compares the application pool account to the user account making the request, they are not equal.
    In this case, we can solve the problem by changing the application pool account in IIS back to the previous account and set AuthenticationTypes to RSWindowsNTLM only. For detail information, please refer to 8.3 “The permissions granted to user 'Domain\User'
    are insufficient for performing this operation” in the document:http://msdn.microsoft.com/en-us/library/ee384252(SQL.100).aspx
    If you have any questions, please feel free to let me know.
    Thanks,
    Wendy Fu

  • Reports are not working in BI 4.1

    Hi,
    Hi,
    Environment: BI 4.1, SAP BW and Oracle 11g.
    Users are imported from BW.
    I am facing issue in 4.1 sp2 After migrating 4.0 to 4.1.
    All UNV reports are working fine except reports on Oracle
    Database in BI launch Pad, those reports are working fine in Rich client.
    I have installed Both 32 and 64 bit Oracle drivers in 4.1 servers.
    Thanks in Advance

    This is a known and common issue and also we have encountered this after moving to 4.1 SP2..
    This is actually related to the DSL bridge service  not available to use or not running which will only affect UNX based report and BICS report but UNV and rich client would work as they do not use the DSL services...The actual reason of this is there are some JAR files which are needed for this service and got corrupted while installing
    You or your admin has two options for this  ( If you already tried creating a new APS dedicated for DSL Bridge and it does not work)
    1.If you have a stand alone installation and not a cluster check the installation log file and repair the installation
    2.This is how we fixed.. If you are in a clustered environment then if the one of the App server is running fine for the DSL bridge server .. We copied the JAR files relevant for the DSL bridge from the APP server which works fine for the DSL bridge server and put those files on the server not working.. once this is applied we needed to restart the server and create the APS with DSL bridge service which started and worked fine..

  • In Barcodesample reports are not working REP-1401: 'cf_1formula': Fatal P

    In windows its barcodesample is working fine.(all the barcode constants)
    In linux
    1.I have set the CLASSPATH in reports.sh
    2.and I also added the classPath value in <engineId...> tag in the reportservername.confg file.
    3.And I restart the report server as well as application server also. still I am getting the following error messages.
    REP-1401: 'cf_1formula': Fatal PL/SQL error occurred.
    ORA-39565: Message 39565 not found; product=RDBMS; facility=ORA
    In windows I followed the same steps its working fine.But Linux its not working any idea.!!! Its really urgent....
    Thanks,
    Natarajan.U
    Mail:[email protected]

    I pretty sure that the problem is the BarcodeMaker.java class in the oraclebarcode.jar. I got the barcode example to work locally (on Windows XP) in reports builder, but I couldn't run it in our webApp on a Solaris appServer. However, I was actually just doing the barcode example to learn how to display gantt charts in a report. So I wrote a simple java class called GantChartTest that uses the JFreeChart API to create a gantt chart as a jpg. I followed the bar code example almost exactly and my gantt charts did show up on the Solaris appServer. Here's my imagefilename function:
    function ImageFilenameFormula return VarChar2 is
    myFileName varchar2(500);
    result varchar2(500);
    thePhase VarChar2(50) := :phase;
    estStartDate VarChar2(50) := :est_start_date;
    estEndDate VarChar2(50) := :est_end_date;
    wipActualStartDate VarChar2(50) := :wip_actual_start_date;
    wipActualEndDate VarChar2(50) := :wip_actual_end_date;
    begin
         myFileName := srw.create_temporary_filename;
         GantChartTest.createGanttChart(globals.bcobj, thePhase, estStartDate, estEndDate, wipActualStartDate, wipActualEndDate, myFileName);
         return(myFileName);
    end;

  • Scheduled reports are not working

    Hi!
    We have a couple of scheduled reports that we have had for a while now.
    They have now stopped working. All of them have the following error:
    Error: Thread was being aborted.
    I have seen people have this problem if the servers load is to high and all reports are running at the same time.
    That is not my case. I have tried to scheduled just one report and I get the same error then.
    Where can I start the troubleshooting?
    Best Regards
    Askunge

    Look at the SSRS logs located in the folder "C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles" if you leave default path durning installation.
    Number "10_50" depends on the version of the SSRS.
    Regards,
    Ivan 
    This is what I found. Anyone have a clue what I should do to resolve the problem?
    notification!WindowsService_802!79c!04/28/2014-08:00:41:: Error thrown by delivery provider: System.Threading.ThreadAbortException: Thread was being aborted.
       at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
       at Microsoft.ReportingServices.Library.NotificationQueueWorker.HandleNotification(QueueItem item)
    library!ReportServer_0-815!1cdc!04/28/2014-09:31:05:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: This operation is not supported on a report server that runs in native mode., ;
     Info: Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: This operation is not supported on a report server that runs in native mode.
    notification!WindowsService_803!1a68!04/28/2014-13:10:03:: Error thrown by delivery provider: System.Threading.ThreadAbortException: Thread was being aborted.
       at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
       at Microsoft.ReportingServices.Library.NotificationQueueWorker.HandleNotification(QueueItem item)
    notification!WindowsService_803!79c!04/28/2014-13:00:11:: Error thrown by delivery provider: System.Threading.ThreadAbortException: Thread was being aborted.
       at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
       at Microsoft.ReportingServices.Library.NotificationQueueWorker.HandleNotification(QueueItem item)

  • Drill through reports are not working fine in share point server

    I Have a master report with four parameters and child report with two parameters
    I deployed these two reports in share point server , my scenario is i am navigating from my parent report to child report using action (Drill Through Report Concept)
    First i clicked on parent report it will ask select parameters , i have selected all parameter and click on apply in share point it will display the parent report content .
    In parent report i have link to navigate child report . if i click the link it will redirect to child report and displays the child report content perfectly. upto this step every thing working fine now problem is comes to picture
    I have back to in my child report when i click the that button it redirects from child to parent
    But earlier selected parameters values are lossed and the parent report again asked for me to select parameters
    Can you please explain me because we have migratiojn from ssrs report manager to share point .

    Hi All,
    Finally i got the solution there is small difference between SSRS Native mode and share point integrated mode
    To overcome this issue explicitly we have to change our report expression code for SharePoint Integration mode before deployment. We have to change URL
    Preparation code in the expression in report.
    Below is the sample URL
    ="http://<<site url>>/ReportServer/RSViewerPage.aspx?rv:RelativeReportUrl"+"=/ssrs/INT/Report.rdl&rp:parameter1="+CStr(Parameters!parameter1.Value)+"&rp:parameter2="+CStr(Parameters!parameter2.Value)+"&rc:Parameters=True"
    The only difference between our SSRS Report manager report expression and share point integrated mode report expression is
    “rp:”
    value prefixed with every parameter.
    After fixing this code I am able to see the previously selected values in Parent report below are the screen shots

  • BW,cProjects Reports are not working

    Hi Gurus,
    we are using EP7 EHP 2 for PPM 5.0. We have activate all BW contents In BW system but when we click on any report link on report tab in PPM portal system  ,it is just showing default web template but when we run the same report from BW system ,it is running fine.
    When I checked url , it is pointing to BW backend system but not getting web template name.
    Do I need to do any configuration in spro (launchpad)?
    Kindly suggest.
    Thanks in advance
    Regards
    Shashwat Gupta

    Hi Florian,
    Thanks for reply.
    I have maintained SAP_BW in portal and it's working fine. In PPM backend we have maintained RFC connections.
    User is also exist in both the system and we have configured SSO between systems.
    Report links are available on wd abap application APB_LAUNCHPAD .
    One thing that I can notice that there is no iview available for all those BW /cProjects reports in portal content.
    I am sure weather I am missing some configuration on PPM backend or BW backend system.
    If you know the configuration step,please let me know.
    Kindly suggest.
    Thanks in advance.
    Regards
    Shashwat gupta
    Edited by: Shashwat Kumar Gupta on Jun 1, 2011 9:47 PM

  • CiscoWorks: CM, UT history report are not working?

    Hi,
    We are using CW to manage about 100,000 users, but when  we generate "End Host History" report from Campus Manager, we always receive message something saying no end host found. although we can get good End Hosts reports from Campus Manager.
    Thanks
    We are using;
    LMS 3.2
    CM 5.2.1

    There is no need to install the Torbutton extension in case of problems with lost bookmarks.
    You can skip that step if it doesn't apply (you do not have Torbutton in the first place).
    You can uninstall that extension via Tools > Add-ons > Extensions
    See also http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Refreshed universe and now reports are not working

    I added Restricked key figures and calculated key figures and I when I run my webi report I get this error message:
    Query 1 - Maintenance Orders Maintenance Plan and Actual - Regular Hours
    A database error occured. The database error text is: The MDX query SELECT { Measures.4IDV96Q35XYNK4WT6ECMO487E, Measures.4IDV96IEMZCY1IDD0KAAE29HM, Measures.4IDV96XROWKD2RG9C8EYY66X6 } ON COLUMNS , NON EMPTY CROSSJOIN( 0COORD_TYPE.LEVEL01.MEMBERS, 0PMPLANGRP.LEVEL01.MEMBERS ) DIMENSION PROPERTIES 0COORD_TYPE.20COORD_TYPE, 0PMPLANGRP.20PMPLANGRP ON ROWS FROM ZPM_M04/ZPM_M04_REGULARHOURS SAP VARIABLES !V000002 INCLUDING 0BUS_AREA.75 !V000001 INCLUDING 0MAINTPLANT.7500 !V000010 INCLUDING 1/1/2007 12:00:00 AM : 7/6/2010 12:00:00 AM failed to execute with the error Unknown error. (WIS 10901)
    I see the universe in the query pane and I am and I see LOV and run query button.
    What do I have to do in the universe to get this fixed
    Thanks for your help
    Mike

    1 ZCM Primary server, 8 Satellite servers
    ZCM version 11.2.1, Running on SLES 11 sp1
    Currently working with a customer that wishes to move their...

  • 1. TACAS+ Accounting and Logged in Users report is not working on ACS 4.1(1

    Hi,
    I am facing problem with ACS 4.1 accounting, TACAS+ Accounting and Logged in Users report are not working, the csv file is been generated but nothing is showened in the file.
    I have checked the documents related to ACS 4.1, it says that there is a bug related to command accounting “CSCsg97429 - TACACS+ Command Accounting does not work in ACS 4.1(1) Build 23”.
    Tried upgrading the same with the patch applAcs-4.1.1.23.3.zip, still it is not working.
    Other reports are working fine.
    1. TACAS+ Accounting - not working
    2. Logged in Users - not working
    3. TACAS+ Administration - working
    4. Passed Authentication - working
    5. Failed Attempts - working
    Any suggestions or any idea, please revert.
    Regards
    Vineet

    Hi,
    Thanks
    Yes I have configured the command “aaa accounting exec default start-stop group tacacs+”
    As I have mentioned all the other reports are working. Which user and when he has logged in and what commands he has used. Only the TACAS+ Accounting and logned user is not working.
    Regards,
    Vineet

  • Active Report Viewer not working in Internet Explorer 10

    We have many legacy applications developed using ASP and VB(InterDev). Our organisation is moving to use Internet Explorer 10 in the near future.
    We had a IE10 compatibility testing for our legacy applications and we observed that the applications using Active Report Viewer to generate the reports are not working. Applications works perfectly fine with the older version of Internet Explorer.
    We looked for the various workarounds but we did not succeed.
    Some application does nothing when we click on a button to generate the report but some applications throws the below error:
    "ActiveX
    control failed to load! -- This control is required to use the Address Book and Attachment features.  Please check your browser security settings and/or contact PC Support to install the digitally signed control."
    We will be glad if we get any assistance on this issue.

    We have many legacy applications developed using ASP and VB(InterDev). Our organisation is moving to use Internet Explorer 10 in the near future.
    We had a IE10 compatibility testing for our legacy applications and we observed that the applications using Active Report Viewer to generate the reports are not working. Applications works perfectly fine with the older version of Internet Explorer.
    We looked for the various workarounds but we did not succeed.
    Some application does nothing when we click on a button to generate the report but some applications throws the below error:
    "ActiveX control failed to load! -- This control is required to use the
    Address Book and Attachment features.  Please check your browser security settings and/or contact PC Support to install the digitally signed control."
    We will be glad if we get any assistance on this issue.
    Hi,
    There is a more dedicated forum for web development issues
    https://forums.asp.net , I would recommend you post this issue in that forum to get more dedicated supports.
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Crystal reports 2008 not working on 64 bit OS

    Hello Everybody,
    I have developed crystal reports in CR2008. My development environment is 32 bit OS with visual studio 2005 and it is working fine. When I deployed  this applciation into 64 bit OS,application is working fine,but  reports are not working/displaying.
    Thanks
    Ram

    I moved your post to the .NET - SAP Crystal Reports forum. You'd never have gotten an answer on the CR Design forum
    More info needed:
    Exact version of CR (Help | About)?
    Web or win app?
    More details on:
    reports are not working/displaying
    Errors? Do you get the viewer? Or just an empty form?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Formula Columns are not working in Reports 10g

    Hi,
    We converted the reports developed in Reports 6i to Reports 10g. When we run the report in Reports 10g Builder everything works fine. But when we deploy the same report in Oracle Application Server and invoking the report the formula columns are not working ie., the fields/ placeholder columns which are based on the formula column are not displaying any values in the report.
    Please, someone help us in this regard.
    Thanks & Rgds,
    M T

    What version of Reports do you use..???
    Greetings...

Maybe you are looking for

  • Balance confirmation of vendor through using transaction code F.18

    Dear Gurus Can any tell me is there any posibillity in balance confirmation to get only outstanding instead of all the line items.f

  • Creative cloud

    Creative cloud icon is in the status bar, but nothing is happening?

  • Merging of two company codes.

    Dear SAP consultants,                                   At present there are two company codes ( lets say 1000 and 2000 ) which have different plants assigned to them. Now company code 1000 is merging into company code 2000. Please guide me what are

  • CS5 - Color difference between Photoshop and other programs

    I'm running CS5.5 student edition on a brand new Asus Q500A laptop running Windows 8. i7 processor and a UMA graphics card. I do not have calibration software; I'm using Calibrize for the moment and colors appear fairly true when browsing after calib

  • Read large Excel cell content using ABAP class i_oi_spreadsheet

    Hello, I am trying to read an excel file using ABAP methods of interface i_oi_spreadsheet. Unfortunetly some of my cells contain data that exceeds the 256 characters size. To retrieve the content of the excel speadsheet, I am using method get_ranges_