Strange error for the masses.

Hi,
I am trying top compile this simple func but no success. Does anyone know why?
create or replace function niknik
return number is
cursor c1 is
select * from past.traninvl l
where l.from_date < to_date('MAR-2001','MON-YYYY');
begin
null;
end;
I get this error;
LINE/COL ERROR
4/1 PL/SQL: SQL Statement ignored
5/24 PLS-00222: no function with name 'TO_DATE' exists in this scope
BUT THIS DOES COMPILE:
create or replace function niknik
return number is
cursor c1 is
select * from past.traninvl l
where l.from_date < '01-JAN-2001';--to_date('MAR-2001','MON-YYYY');
begin
null;
end;
Does anyone know what is worng with this please ?
Thanks
N.

I'm trying to unravel this, but I just don't get it. Are you creating this function in SqlPlus?

Similar Messages

  • Strange errors in the logfile

    We have a web application with servlets and jsp. We use websphere 3.0 on a solaris OS.
    Shortly we have some strange errors in the logfile. 'img.class' is not found but we don't use this class. We get this error every 5 seconds.
    Is there a solution for this problem???
    Instantiate: img
    Entering createSessionContext
    Entering createSessionContext
    Entering createSessionContext
    191644.271 1bc3c935 WebGroup X [Servlet Error]-[{0}]: {1}: {2}
    "img"
    "Failed to load servlet"
    javax.servlet.ServletException: Servlet [img]: Could not find required servlet class - img.class
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at javax.servlet.ServletException.<init>(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebApp.addServlet(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebAppServletRegistry.addServlet(Compiled Code)
         at com.ibm.servlet.engine.webapp.InvokerServlet.service(Compiled Code)
         at javax.servlet.http.HttpServlet.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled Code)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled Code)
         at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled Code)
         at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled Code)
         at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled Code)
         at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Compiled Code)
         at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled Code)
         at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled Code)
         at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Compiled Code)
         at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled Code)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Compiled Code)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(Compiled Code)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(Compiled Code)
         at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled Code)
         at java.lang.Thread.run(Compiled Code)

    it seems your servlet packages is dammaged or bad installed...
    this class img.class may being used by another class your system didn't founded...
    review your server installation, permissions, etc.

  • Some elements of downloaded PDF not showing (Error: "For the best experience, open this PDF portfolio...")

    I'm on a PC attempting to view a downloaded PDF. It's an application so the document is generated by our online system and aggregates info from the applicant as well as documents they uploaded. I can see most of the final product but the document uploaded by the applicant gives the error "For the best experience, open this PDF portfolio in Acrobat 9 or Adobe Reader 9, or later." I downloaded the latest Reader (DC) and when I searched to download the latest Flash Player I got a message that it should be up-to-date since I use Chrome. I've seen other folks having this problem; any suggestions?? Thanks in advance.

    Thanks for your response! The document appears the same either way. I downloaded the file and have opened it with both Adobe Acrobat and Adobe Acrobat Reader DC.

  • Choosing proper CoDecs for the masses?

    Here is a website that serves up QT movies of a specific person's commercial film work: http://www.sprocketfuel.com/2007/reel.html
    For some reason, the Fast Start QT movies created for this site are not working very smoothly... it almost seems that the computer will play the beginning of the QT movie, and then catch up to the download, and re-set, only to begin playing from the beginning again.
    These movies are only :30-:60 seconds in length, and only 4Meg to 8Meg in size... it doesn't seem like they should be so troubled!
    They were exported as Fast Start movies from QT Pro 6, using Sorensen 3, High (not Best) Quality and 22K stereo audio.
    In the past, we have had pretty good luck with that, but now they seem to be acting quirky.
    Should I choose a different codec? Make them even smaller? What is a good rule of thumb to make them play smoothly for the masses?
    PC Windows XP Pro Fast. Very Fast.
    PC   Windows XP Pro   Fast. Very Fast.

    Hmmm...
    I don't know if I just answered my own question, but I went ahead and did the JavaScript updates for the Windows IE fix... and it seems to have improved things dramatically. Who'da thunk it? I only use FireFox, so I didn't think that would affect my experience, nor could I understand why the JS fix would help either... but something triggered and it works a lot better for me now.
    Any webmeisters that haven't yet changed their OBJECT and EMBED coding, I highly advise that you do! Very weird, but it seems to work well.
    I was sure my problems were from odd codecs, slow servers, or funky computers... but it seems to have been a Microsoft "update" that killed the established way of doing things.
    Fargin' Microsoft!
    PC Windows XP Pro Fast. Very Fast.

  • In iWeb I created a hyperlink to a file on my computer. When I publish I get a 404 error for the link.  Can anyone help?

    In iWeb I created a hyperlink to a file on my computer. When I publish I get a 404 error for the link.  Can anyone help?

    How would I check to see if the like works when I enable via the inspector pane
    If you enable hyperlinks when you click on the link link to the pdf file it will open a browser window and display the pdf file.
    I upload the pdf files to the server and link to them as if they were an external web page:
    That's been more reliable for me than linking to the file as Link To: A file and have iWeb upload the pdf file to the serve.

  • User roles were deleted for the mass change in CUA system.

    Dear Team,
    I have assigned a role to a set of users in CUA via SU10 to a specific child system, as like I have executed the task 3 to 4 times for the assignment of the different roles to a set of users and some users may repeated in each execution .
    And when I check in child system after few hours the old roles were deleted and contains the role which I have assigned in the mass change.
    It was happened only to few users not more than 20 users, then I expected that may be the users who get repeated in SU10 more than one time for the different role assignment it get impacted.
    But that is not a problem, because I verified some of the users who repeated more than one time in child system and they didnu2019t get deleted  the old roles and it was appended with the new role to the existing rights of the user.
    Still some of the IDOC were showing in SCUL transaction with Yellow signal triangle shape
    So please help me out what would be the issue.
    Kindly let me know if need more information....
    SV

    Hi,
    It is a problem related to IDOC issue. Please contact Basis Team regarding pushing of the Idocs. I am giving an over view of the steps that needs to be executed for idoc push. Please contact Basis with the same.
    Run RBDAGAIN report (se38)
    Give Idocs and save as variant.
    Now go to sm36 specify a job name and start.
    This will change the Idoc status from 02 to 30. For 03 to 30 it needs a different report. Please check and let me know if any issue. As long as idocs are not pushed properly it will give an error. At times also check the CUA user is ok or not. It gets locked at times. To know which one is the CUA user->Login to child system->su01->See the change executed by the user->Get the user name.
    Let me know if any issue.
    Regards
    Aveek.

  • HT1498 Today I tried to rent ,this means war, it plays ok but always comes up with an error for the sound, also we can't play anything on AirPlay tonight , the icon doesn't even show up

    Tried to watch, movie, "this means war, but couldn't get any sound working , always came up with error, also we tried to play things from you tube and iview but the icon for the apple tv wasn't there, we switched and restarted the Internet, wireless(airport ) and even restarted our iPads , but could play anything thru apple tv, even on my computer (Mac book air) the icon was there but only allowing to p,au on the MacBook air,there was no option fir apple tv, I also restarted the apple tv, still nothing working
    I'll try agin tomorrow , the 22 July and see if anything is working
    Cheers lilian

    I am experiencing a similar problem in Windows 7 64bit.  Since my laptop has a 128gb SSD, I have loaded my iTunes library on to an external drive.  I can sync my iPhones and iPads from this library, and the songs play fine from those devices.  However, when I select a song from my library, and click the play button, nothing happens.  iTunes does nothing.  I have also tried right-clicking mp3s in my library and selecting "Play", with no results.  I do not receive an error message of any kind.
    I have also noticed that some of my mp3's within iTunes denote the Time as 00:00.  The same mp3's will play and register properly using other mp3 players on my computer, and they also play normally on my iPhones and iPads.
    I am running Windows 7 x64 on a Lenovo T530, in iTunes 11.1.3.  Everything else in iTunes appears to function normally.  I can listen to internet radio stations without an issue, through iTunes, and they play as they should.  I have tried three different external drives, with different drive formats, and they all have the same issue.  If I copy my iTunes library back to my internal drive, iTunes will play my mp3s.
    I did not have this issue with iTunes 10, so I am assuming it is something that has occured within the last few updates.
    Has anyone found a fix for this?  Unfortunately, I am forced to use iTunes 11 because of my iOS devices, otherwise I would revert to iTunes 10.

  • Activation error for the extractor 0fc_bp_items.

    Here is the error message that i am facing while activating the data source. 0fc_bp_items.

    Hi Ram,
    Thanks for the quick turn around as i can see at the source level that.

  • Error for the fact table while processing the cube - attribute key cannot be found when processing

    Please help as I am new to SSAS and this is urgent requirement. This is a MOLAP cube and below is the error that I am receiving when processing the cube. The cube is set to Prrocess Full. Several similar errors are popped up for various dimensions.
    "Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'Fact_Table', Column: 'ID', Value: '1'. The attribute is 'Id'. Errors in the OLAP storage engine: The attribute key was converted to an unknown member because
    the attribute key was not found. Attribute Id of Dimension: 17 - Ves - PoC Cont from Database: DB, Cube: IPNCube, Measure Group: iSrvy, Partition: Partition1, Record: 1."
    Thanks in advance.

    Thanks for the recommendations David.
    It will be really great if you can clear some of my doubts:
    To my information, all the dimensions need to be processed first and then the fact table will be processed.
    So if the ID's are not present in the dimension tables, then it should not be present in the Fact table either.
    Here we found null values in the dimension table and the ID's were present in the Fact table. What might be the reasons causing such situation?
    Also how frequently the cube needs to be processed? Currently the ETL which processes the cube, is scheduled in a SQL Job Agent on hourly basis everyday. 
    Is there any possibilty that the cube might be under processing state and the SQL job for the next run getting executed trying to access and process the cube while it was still processing?

  • Runtime Error for the Picking List Smartform

    Hi All,
    I am working on the smartform, used for GI Scrapping for 551 Movement type. The requirement is they need DEA number for the Plant. I have written code for getting the DEA number. Iacivated the form and I want to print it using the TCODE MB02.
    I get the runtime error saying UPDATE TERMINATED.I saw Dump Analysis it says CALL_FUNCTION_PARM_MISSING. It says IS_ADRC is the parameter. The ABAP program is the include program /SMB40/M07DRSON. This show the function module lf_fname with out passing the parameter IS_ADRC. How can I change the program. This is Standard program.
    Thanks,

    Then the smart form interface in the transaction SMARTFORMS you have to remove the parameter IS_ADRC. As the calling program will not automatically add the parameters if you add it in the smartforms...
    If you want the values from the table ADRC..you can write subroutines in the INITIALIZATION to get the values...
    Thanks,
    Naren

  • SAP TAO | getting an error "replay Error" for the scenario

    Hi,
    I am getting the "replay error" for a scenario.
    When tested the individual components, they were passing separately in HP ALM, but when consolidate all of those test cases in one test scenario then this error "replay error" is shown.
    Could anyone help in resolving this issue.
    regards,
    Sunil Kumar

    Dear sunil kumar
    You have posted the query in Career Center..
    Is your question related about Career ???
    Please read the document before posting any query.
    Find Topic Spaces on SCN (Forums)

  • Error for the first time

    My ipod has always work fine. Just some background: I am an apple user and my ipod is windows formatted because I sometimes use it for file transfer on various computer OS platforms. Now just for the first time every I inserted my ipod into my powerbook and got an error "the ipod (name) cannot be updated. The disk could not be read from or written to."
    I then unplug and replug the ipod yet the same message occurs. Any ideas on what is wrong? Or fixes? Is this the beginning of hardrive failure for the ipod? Or will a simple restore work (I want to avoid this if possible just because it takes time and is hard on the ipod)?
    Thank you,
    TM

    http://docs.info.apple.com/article.html?artnum=301267

  • Data Conversion Errors for the last week

    We've been running a simple Stream Analytics job for little over a month now with a very light workload. Input is Event hub and output SQL Server. We noticed today that we haven't received anything into SQL Server since 2014-12-08 (we don't receive events
    every day so we only know that everything still worked on the 8th of December), so we checked the job's logs. It seems that job is failing to process all the messages: The value of "Data Conversion Errors" is high.
    I wonder what could have happened? We haven't touched the client since we started the job so it's still sending the messages in same format. And we haven't touched the job's query either.
    Has there been an update to either to Stream Analytics or to Events Hub which could cause the issue we're seeing?

    I've followed word for word the TollApp Instructions (except the thing with NamespaceType "Messaging" that has been added to New-AzureSBNamespace).
    I have 0 line in output, and this is the service log:
    Correlation ID:
    e94f5b9e-d755-4160-b49e-c8225ceced0c
    Error:
    Message:
    After deserialization, 0 rows have been found. Possible reasons could be a missing header or malformed CSV input.
    Message Time:
    2015-01-21 10:35:15Z
    Microsoft.Resources/EventNameV2:
    sharedNode92F920DE-290E-4B4C-861A-F85A4EC01D82.entrystream_0_c76f7247_25b7_4ca6_a3b6_c7bf192ba44a#0.output
    Microsoft.Resources/Operation:
    Information
    Microsoft.Resources/ResourceUri:
    /subscriptions/eb880f80-0028-49db-b956-464f8439270f/resourceGroups/StreamAnalytics-Default-West-Europe/providers/Microsoft.StreamAnalytics/streamingjobs/TollData
    Type:
    CsvParserError
    Then I stopped the job, and connected to the event hub with a console app and received that:
    Message received. Partition: '11', Data: 'TollId,EntryTime,LicensePlate,State,Make,Model,VehicleType,VehicleWeight,Toll,Tag
    85,21/01/2015 10:24:56,QBQ 1188,OR,Toyota,4x4,1,0,4,361203677
    Message received. Partition: '11', Data: 'TollId,EntryTime,LicensePlate,State,Make,Model,VehicleType,VehicleWeight,Toll,Tag
    33,21/01/2015 10:25:42,BSE 3166,PA,Toyota,Rav4,1,0,6,603558073
    Message received. Partition: '11', Data: 'TollId,EntryTime,LiMessage received. Partition: '10', Data: 'TollId,EntryTime,LicensePlate,State,Make,Model,VehicleType,VehicleWeight,Toll,Tag
    59,21/01/2015 10:23:59,AXD 1469,CA,Toyota,Camry,1,0,6,150568526
    Message received. Partition: '10', Data: 'TollId,EntryTime,LicensePlate,State,Make,Model,VehicleType,VehicleWeight,Toll,Tag
    25,21/01/2015 10:24:17,OLW 6671,NJ,Honda,Civic,1,0,5,729503344
    Message received. Partition: '10', Data: 'TollId,EntryTime,LicensePlate,State,Make,Model,VehicleType,VehicleWeight,Toll,Tag
    51,21/01/2015 10:24:23,LTV 6699,CA,Honda,CRV,1,0,5,169341662
    Note the bug on the 3rd message. In my opinion it's unrelated, it could be the writeline that can't keep up with the stream in the console application. And at worst it's in the stream, but then I should see at least some lines in output for the correctly
    formatted messages.

  • CheckSum Error for the payment interface to Bank

    Dear all,
    Could you shed some lights as we have just complete the client migration and encountering the 'invalid checksum' after we have run the F110 and upload the file to Bank for GIRO payment. I have called the Bank Support, as their advice is to check our checksum generated by SAP.
    As this is first time to generate payment posting file in the new client, and believe the checksum would be revised in the new client of SAP. Bank side is unable to reset the checksum.
    Could you shed some lights on how to change the checksum and resolve the error?
    Thank you so much in advance.

    Hi Aaron,
    As mentioned by Mr. Dhar, I was able to complete the outbound Parmt. Now the error message I am getting is as given below (It is a copy paste of the SAP error message):-
    IDoc type could not be determined for the IDoc
    Message no. B1090
              Diagnosis
                 The IDoc passed to the ALE layer could not be processed. 
                 The specifications passed in the control record were not correct.
                 The basic IDoc type (field EDIDC-IDOCTP on the outbound side or  
                 EDI_DC-IDOCTYP on the inbound side)has not been specified for this
                 IDoc.
                  The attempt to read the basic IDoc type from table EDIDO also failed.
                  No table entry was found for IDoc type  from field DOCTYP.
                  Procedure
                   Possible error sources:
                     - The calling program did not provide values for the fields specified
                     above correctly. Make a note of the transaction in which this error
                      occurred and consult your ALE administrator.
                       - The IDoc type  is not known in your system and must be
                          maintained.

  • WSDL error for the BAPI_PO_CREATE1

    Hi,
      I am creating a WSDL link for the bapi to create purchase orders:
    If I use a Document style, I get to enter all fields like POHEADER, POHEADERX, POACCOUNT, POITEM etc, but when I click the send I get an Internal server Error 500; and the ST22 trace gives me a report saying
    Error analysis
        You attempted to access an unassigned field symbol
        (data segment 32780).
        This error may occur if
        - You address a typed field symbol before it has been set with
          ASSIGN
        - You address a field symbol that pointed to the line of an
          internal table that was deleted
        - You address a field symbol that was previously reset using
          UNASSIGN or that pointed to a local field that no
          longer exists
        - You address a global function interface, although the
          respective function module is not active - that is, is
          not in the list of active calls. The list of active calls
          can be taken from this short dump.
    I then tried using the RPC style of WSDL...... here i only get to enter the POHEADER, POHEADERX, POACCOUNT fields but the POITEM field is not displayed so I cannot enter poitem data. and the response I receieve from the system is " PLEASE ENTER THE ITEMS FIRST. Purchase order not created".
    How can I resolve this? Is there some way to makes more fields visible in RPC style WSD?

    I found that there is a skip field in the document style which if not checked generates the above error.
    Arpita

Maybe you are looking for

  • Yoga 2 11 Poor Wifi connection and slow.

    My Yoga 2 11 is getting worse wifi speeds than my GS3 smartphone, I have already tried updating the drivers. I have installed all the drivers that came in the sub-partition of my laptop and also went to the lenovo website and got the latest WLAN and

  • Cannot download purchases music

    I have been having a problem lately (no change in setup), where I get an error when I try to download music from the ITMS. When I check for purchases, I get the following error: There was an error downloading your purchased music. The disk could not

  • Imac Internal Soundcard and Logic express 9

    Hi there, I have just purchased an imac with Logic express 9 (will arrive in a couple of weeks), which has for the time being eaten up all my funds so I cannot yet buy an external audio interface for it. Would anyone be able to give me any informatio

  • How to set position of a PDEPath object

    Hi, I am a beginer in plug-in development in Acrobat SDK. I was trying to reflow contents inside pdf. I was able to reflow most  of the content except PDEPath object.as For PDEPath object re-flow I was using  function PDEElementSetMatrix (PDEElement

  • Pop-Up Menus gone wrong.

    As you can see here; its all messed up I would like to know what maybe the problem here please. How can i create pop menus using thumbnails from the video in the BD. (related to this thread; http://forums.adobe.com/thread/691588?tstart=0 )