Error referencing a custom function within a view

The view I'm working on works fine if I leave it without a function I'm using to calculate which gpa to use, likewise the function I designed works fine on its own.
However when I add the bolded line below, to my view I get a "Missing Expression" error when I try to create the view. I'm guessing this is some silly mistake on my part, but I'd appreciate if someone could point me in the right direction as all my searching on these forums hasn't turned up anything.
I've tried various changes in formatting such as removing the as CALC_GPA and nesting the function in a sub-query. All ended up with the same error.
Lastly the select statement does work with the function on its own, it only fails when I try to make it into a view.
create view AR_SCHOLARSHIP_GPA as
select SPRIDEN_PIDM "PIDM_KEY",SPRIDEN_ID "STUDENT_ID",SPRIDEN_LAST_NAME "LAST_NAME",
SPRIDEN_FIRST_NAME "FIRST_NAME",
(select SUM(SHRTGPA_QUALITY_POINTS)/SUM(SHRTGPA_GPA_HOURS)
     from SATURN.SHRTGPA
     where pa.SPRIDEN_PIDM = SHRTGPA_PIDM
     and SHRTGPA_GPA_TYPE_IND = 'I'
     and SHRTGPA_GPA_HOURS > 0) "INST_GPA",
(select MAX(SORDEGR_GPA_TRANSFERRED)
     from SATURN.SORDEGR
     where pa.SPRIDEN_PIDM = SORDEGR_PIDM) "PCOL_GPA",
(select MAX(SORHSCH_GPA)
     from SATURN.SORHSCH
     where pa.SPRIDEN_PIDM = SORHSCH_PIDM) "HSCH_GPA",
ZFINDGPA(pa.SPRIDEN_PIDM) as CALC_GPA,
(select MAX(SORTEST_TEST_SCORE)
     from SATURN.SORTEST
     where pa.SPRIDEN_PIDM = SORTEST_PIDM
     and SORTEST_TESC_CODE = 'SATV') "SAT_VERBAL",
(select MAX(SORTEST_TEST_SCORE)
     from SATURN.SORTEST
     where pa.SPRIDEN_PIDM = SORTEST_PIDM
     and SORTEST_TESC_CODE = 'SATM') "SAT_MATH"
from SATURN.SPRIDEN pa
where SPRIDEN_CHANGE_IND is null
and ((select SUM(SHRTGPA_QUALITY_POINTS)/SUM(SHRTGPA_GPA_HOURS)
     from SATURN.SHRTGPA
     where pa.SPRIDEN_PIDM = SHRTGPA_PIDM
     and SHRTGPA_GPA_TYPE_IND = 'I'
     and SHRTGPA_GPA_HOURS > 0) >= 3.25
or ((select NVL(SUM(SHRTGPA_GPA_HOURS),0)
     from SATURN.SHRTGPA
     where pa.SPRIDEN_PIDM = SHRTGPA_PIDM
     and SHRTGPA_GPA_TYPE_IND = 'I') = 0
and ((select MAX(SORDEGR_GPA_TRANSFERRED)
     from SATURN.SORDEGR
     where pa.SPRIDEN_PIDM = SORDEGR_PIDM) >= 3.25
or (NOT EXISTS (select MAX(SORDEGR_GPA_TRANSFERRED)
     from SATURN.SORDEGR
     where pa.SPRIDEN_PIDM = SORDEGR_PIDM)
and (select MAX(SORHSCH_GPA)
     from SATURN.SORHSCH
     where pa.SPRIDEN_PIDM = SORHSCH_PIDM) >= 3.25))))
Thank you for any help you can provide.

That where clause that you're seeing is within one of the subqueries in my select statement. If you look carefully (sorry I know its a bit messy in this format) the function itself is within the main select statement, which is the same one in which I alias pa. I have tried moving the function around in the select statement, but although it continues to work as a standalone select statement, it fails as soon as I try and turn it into a view.
As for the function coding as requested:
create or replace Function ZFindGPA
(pidm_in IN number)
return number is
i_gpa number(4,2);
p_gpa number(4,2);
h_gpa number(4,2);
gpa number(4,2);
BEGIN
BEGIN
select SUM(SHRTGPA_QUALITY_POINTS)/SUM(SHRTGPA_GPA_HOURS)
into i_gpa
from SATURN.SHRTGPA
where pidm_in = SHRTGPA_PIDM
and SHRTGPA_GPA_TYPE_IND = 'I'
and SHRTGPA_GPA_HOURS > 0;
exception
when no_data_found then
i_gpa := NULL;
END;
BEGIN
select MAX(SORDEGR_GPA_TRANSFERRED)
into p_gpa
from SATURN.SORDEGR
where pidm_in = SORDEGR_PIDM;
exception
when no_data_found then
p_gpa := NULL;
END;
BEGIN
select MAX(SORHSCH_GPA)
into h_gpa
from SATURN.SORHSCH
where pidm_in = SORHSCH_PIDM;
exception
when no_data_found then
h_gpa := NULL;
END;
IF i_gpa is not null THEN
gpa := i_gpa;
ELSIF p_gpa is not null THEN
gpa := p_gpa;
ELSE
gpa := h_gpa;
END IF;
return gpa;
END;
In any case thanks for helping me look into this, I know its got me stumped :-P

Similar Messages

  • Run time error due to custom function module in a program

    Hi,
    I  have created one program using custom function module ZIN_COMEV_CUSTDETAILNOTIF_OUT .The program is showing runtime error
    "Incorrect parameter with CALL FUNCTION."
    I have tested the FM using same set of parameter as in program it is working.It is throwing error while executing in program help.
    Regards
    Datta

    Hello Nagraj or harish
    I think you may be right.There is date  field in my function module ,when I am testing function module I am giving it as
    Y_DATE = 01.01.2011,but in program the field is DATS type and I have to give 20110101.If this is the problem how I can solve it.
    CALL FUNCTION 'ZIN_COMEV_CUSTDETAILNOTIF_OUT'
      EXPORTING
        Y_SENDER              = gv_g_sender
        Y_RECEIVER            = gv_g_reciever
        Y_PARTNER             = GV_V_PARTNER
        Y_BASIC_PROCESS       = GC_BASIC_PROCESS
      Y_SWITCHNUM           =
      Y_SEN_LOAD            =
        Y_INTUI               = GV_V_INTUI
      Y_TRANSACTIONID       =
        Y_DATE                = GV_V_DATE

  • Call a PAL function within a view in HANA?

    Hi community!
    Does anyone know how you can integrate the call of a PAL function (e.g tripple exponential smoothing) into a HANA view?  I guess this must be achievable in a CE Script?
    Business scenario: we would like to show a time series based prediction on a Design Studio dashboard. Because the datasource is near-realtime and rapidly changing, we would like to calculate the PAL function on applications request. how can this be achieved?
    Furthermore I was not able to integrate ordinary db views in an analytical-view (it seems to only support tables? does anyone know the reason why?)
    thanks a lot!
    matthias

    Hi Mohler,
    PAL is ultimately some set of database procedures . If you want to use it as HANA View, you may need to right scripted views and consume the same.
    Analytic views are typically defined on at least one fact table that contains transactional data. Using analytic views you can create a selection of measures—sometimes referred to as key figures—, add attributes and join attribute views. Analytic views leverage the computing power of SAP HANA to calculate aggregate data, e. g., the number of cars sold per country, or the maximum power consumed per day.
    Ref : https://cookbook.experiencesaphana.com/bw/modeling-data/modeling-concepts/views/
    Sreehari

  • Code Inspector / Extended Check - Error  in Inbound Custom Function Module

    I have created a new cutom FM for Inbound IDOC Application Posting.
    In the  TABLE   Parameter of FM  the following Tables difined.
    IDOC_CONTRL                     LIKE     EDIDC
    IDOC_DATA                     LIKE     EDIDD
    IDOC_STATUS                     LIKE     BDIDOCSTAT
    RETURN_VARIABLES     LIKE     BDWFRETVAR
    SERIALIZATION_INFO     LIKE     BDI_SER
    while checking with Code Inspector Tool I got an Error for  BDI_SER.(  Last Table Parameter of the FM)
    Syntax check warning
    "BDI_SER" can be enhanced. After a structure enhancement, the semantics of the
    parameter transfer may change.
    Internal Message Code: MESSAGE G_B
    (The message can be hidden with "#EC ENHOK)
    Type "BDI_SER" or the type of one of its subcomponents can be enhanced. The semantics of the parameter transfer may change after a structure enhancement.
    For the execution of a Remote Function Call (RFC), the actual parameter and formal parameter do not have to be of the same type. In the case of structure types, the actual parameter and formal parameter can contain additional components at the end. These additional components are set to their initial values.
    Check whether the enhancement category of the relevant type correct is set or whether the category "cannot be enhanced" should be used.
    How to fix this error?  other wise how to supress the Message by adding "#EC ENHOK
    where I have to add the Comment "#EC ENHOK.
    please help to give details .
    Thanks in advance.
    Shar

    In the source code you will have this in comment right, use the "#EC ENHOK.

  • Access Report Custom Functions from code

    Post Author: leedo
    CA Forum: .NET
    Hello,
    I am using VS2005 (VB) and was able to change formula text from within code using the "FormulaFieldDefinitions" object. However, I am having problems finding out how I can do the same to Report Custom Functions.  The reason I am doing all this is that I noticed during my Windows app is running the source of my .rpt file is thrown in the user "Local Settings\Temp" folder and all code is revealed by simply opening that file. Please help. ThanksLeedo

    Post Author: MJ@BOBJ
    CA Forum: .NET
    It looks like it is not possible to access the custom functions within a report using the CR .NET SDK.  However, to address the potential security issue that you may be concerned about, is this a Windows or ASP.NET application?  If this is an ASP.NET application, then you shouldn't have to worry about the security as the end-user (client) will not be able to access that folder since the rest of the web server is typically unaccessible by the client. 
    Another way to secure your reports is to use what we call "managed reporting" solutions such as Crystal Report Server or Business Objects Enterprise, which manages reports securely and your users are only allowed to access/see what you allow them to.  These solutions also provide public SDKs so you could incorporate the system into your own applications.  For more information, go to www.businessobjects.com/products.

  • Adding "Filter Criteria" to the XSLT List View Web Part impact on "Export to Excel" functionality within Document Library

    Hi there,
    XSLT List View displaying all the list items within the Document Library. In order to implement the Search functionality within Document library out of box "Text Filter" web part is configured as explained below. The solution is similar to
    the one suggested at
    http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=77
    "Text Filter" Web Part added to the page.
    Filter Criteria (i.e., XSLT List View columns) added to the XSLT List View where the filter parameters take the input from the "Text Filter" Web Part .
      3. Both Web Parts (XSLT List View and the Text Filter) are connected.
    When the search criteria is entered into the "Text Filter" Web Part, it is passed to the relevant Columns of the XSLT List View and the documents (List Items) that match the search criteria are shown within XSLT List View.
    Search functionality working as expected.
    Query: Selecting the "Export to Excel" icon from the ribbon generates the excel spread sheet with no data except Column Titles from the Document library. In the investigation it is
    found that adding the 'Filter Criteria' on XSLT List View is causing this bug. When the Filter Criteria is removed, then "Export to Excel" functionality is working as expected.
    But it is mandatory to add "Filter Criteria" to implement the search functionality with in the document library.
    Help: Help/input appreciated on the work around to get the "Export to Excel" functionality work when the "Filter Criteria"
    exist on the XSLT List View.
    Regards,

    Once again thanks very much for your help Scott. very much appreciated.
    In the investigation it is found that removing the 'Filter Criteria' on XSLT List View makes the "Export to Excel" functionality work. But the 'Filter Criteria' is mandatory to get the 'Document Search' functionality.
    I think that due to technical limitations it should be concluded that 'only custom development can make all work, no code solutions using the SharePoint Designer can meet all the requirements.
    If you can think of any alternative solution that could help in resolving the current issue or fix the issue without any custom implementation please inform. Otherwise this issue would be marked as resolved with your suggested response.
    Regards,

  • Function within package error

    Hi friends,
    I have a package called xxhw_ams_utils with a function in it get_salary
    When i tried to execute that function within the package like the below manner means, im getting error like
    ORA-00904: "XXHW_AMS_UTILS"."GET_SALARY": invalid identifier
    select apps.xxhw_ams_utils.get_salary(1072) from dualwhere 1072 is the assignment id that im passing for testing purpose.
    This is the actually the get_salary function which is inside the package xxhw_ams_utils coding
    FUNCTION get_salary
    (p_asg_id IN NUMBER)
        RETURN VARCHAR2 IS
    l_gross VARCHAR2(20);
    l_basic VARCHAR2(20);
    BEGIN
    select eev.screen_entry_value
    into l_basic
           from   pay_element_entry_values_f eev,
                  per_pay_bases              ppb,
                  pay_element_entries_f       pe
           where  ppb.pay_basis_id  +0 = 61
           and    pe.assignment_id     = 1072
           and    eev.input_value_id   = ppb.input_value_id
           and    eev.element_entry_id = pe.element_entry_id
           and    sysdate between
                            eev.effective_start_date and eev.effective_end_date
           and    sysdate between
                            pe.effective_start_date and pe.effective_end_date;
    EXCEPTION
    WHEN OTHERS THEN RAISE;
    END; Suppose if i executed like the below manner means, i getting the correct result
    select eev.screen_entry_value
    --into l_basic
           from   pay_element_entry_values_f eev,
                  per_pay_bases              ppb,
                  pay_element_entries_f       pe
           where  ppb.pay_basis_id  +0 = 61
           and    pe.assignment_id     = 1072------------------------------------>assignment id (that im passing)
           and    eev.input_value_id   = ppb.input_value_id
           and    eev.element_entry_id = pe.element_entry_id
           and    sysdate between
                            eev.effective_start_date and eev.effective_end_date
           and    sysdate between
                            pe.effective_start_date and pe.effective_end_date;Suppose if i execute like the below means it is returning error like invalid character.
    select apps.xxhw_ams_utils.get_salary(1072) from dualWhy might be the problem friends.
    Brgds,
    Mini

    Hi Giri,
    Thanks yes i didnt mentioned that function get_salary in the package specification and now the package is compiled successfully,
    But when i tried to execute i get the error like
    ORA-06503: PL/SQL: Function returned without value
    ORA-06512: at "APPS.XXHW_AMS_UTILS", line 177when i execute like
    select apps.xxhw_ams_utils.get_salary(1072) from dualBrgds,
    Mini

  • Error in Including the Custom function in Custom schema ...

    Hi Experts ,
                   I developed a time custom Function through PE04 ,  Z_5RT and included in Custom Schema , ZM04, while executing in PT60 using the schema ZM04 an error coming . Any configuration required to include custom function in a schema .
    Thanks and regards
    Renjith MP

    You are just going to place the custom function in the 'Func' field of schema.
    Check the counry assignment, parameters & finally you have to activate the function. Check T52A0 for correct internal number.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/96/79bc54b27911d1a5400000e83ddb11/frameset.htm
    Regards
    N Navaneethan
    Edited by: Navaneethan on Dec 15, 2008 4:30 PM

  • Inconsistent Errors when processing  IDocs using custom Function Module

    I am encountering a most perplexing error. Here is the situation.
    We have a custom function module to update data in the EH&S system. We are having a bizarre error occurring. This is the basic processing of the function module:
    1. IDoc data is read and loaded into an internal table.
    2. Data is run through a series of checks to determine if the data is valid for entry into the system.
    3. After validation we use function module  C1F2_SUBSTANCES_READ_WITH_REF to read  characteristic data for the  substance. This data is used to validate whether current data exists to allow for loading of the IDoc data. (This is the step where the IDoc is receiving an error even if the data is valid. This only occurs if we are processing a large amount of Idocs and one IDoc contains valid data and another invalid data for the same substance. It occurs even if the Idocs are not processed in sequence.  If individually processed or reprocessed after initial failure they pass. This is what is so confusing!) If it exists, a flag is set and  the data is loaded using function module BAPI_BUS1077_CHANGE to modify the data.
    4. If the flag is set to allow further processing, the function module C1F2_SUBSTANCES_READ_WITH_REF is used again to select different characteristic data for the substance. A similar validation process occurs and if it passes, data is loaded using BAPI_BUS1077_CHANGE to update and BAPI_BUS1077_CREATE to create new data.
    Here is the situation:
    When processing one valid record for one substance, the record loads successfully.  When processing multiple valid records (all are valid) for one substance, they all load successfully.  The problem occurs when attempting to load valid and invalid records for the same substance.  Some times the program successfully loads the valid data (as expected).  Other times, it will not load any records.  It is not consistent!
    The order of IDoc processing does not have an impact on the success of the load.  Whether the valid or invalid record processes first does not have an impact on the success of the valid substance load.
    Does anyone have ANY Idea of what is going on? I am clearing all fields in the function module before processing occurs. I cannot find what is causing the error to occur.
    HELP!
    Jim Hardy

    I have some further information. It seems that if data for a substance is sent in two separate Idocs, one with valid and one with invalid data, As long as the two IDocs are processed consecutively, they process correctly. If they are separated by IDocs containing other substance information, they fail.
    thanks
    Jim

  • Error in Custom Function Module

    Hi,
    I am working on implementing General Ledger Business content in financial Accounting.
    We had a requirement of creating a Custom Virtual cube similar to 0FIGL_V10. Hence, we had copied the standard function module RS_BCT_FIGL_DATA_GET_VC10 and created a custom function module. Before doing that, we had copied the function group RS_BCT_FIGL and created a custom function group for the custom function module.Both were activated subsequently. Then, we had created a custom virtual cube (ZFIGL_V10) using the custom function module.
    The queries on the Standard virtual cube were migrated to ZFIGL_V10 using the RSZC transaction code. when the queries are executed in RSRT, we get an error message "**An exception with the type CX_SY_DYN_CALL_ILLEGAL_FUNC occurred" and the ABAP debugger is started post that error.
    Has anyone faced this problem before?could any of you provide some pointers to it.
    Regards,
    Sainath

    You cannot use the standard function module which is used for standard cube for another cube.
    You should not change the function module.
    Instead you can make a copy of the function module you are using aand use this copy in ur virtual cube which will work in the same way the actual Fm used to work and it will make you perfrom the changes.
    Follow the below steps:
    1) Goto SE37 and In the top tool bar click on the copy button which is on right side of delete button.
    2) in fr FM give the name of the actual FM and in to Fm give the name of the function module you want to copy.
    3) Then click on copy.
    4) Now open this new function in edit mode and goto the import/export parameters and check. it will have all the same parameters as the actual FM. Here you can make the changes you want.
    5) Now use this FM in your virtual cube and it will be working as per your requirement
    https://forums.sdn.sap.com/click.jspa?searchID=9605118&messageID=4999763
    Hope it Helps
    Chetan
    @CP..

  • Is there a custom function available which can be used for logging errors captured in a sp in a sql table

    Is there a custom function  available which can be used for logging errors captured in a sp during and after execution in a sql table?
    Basically we  would like to utilize such function  in every sp and log errors of each sp in a error log table
    Mudassar

    Thanks .
    I was able to write this however I am thinking I am missing something
    CREATE FUNCTION testfunction1()
    RETURNS @temp_error TABLE (
    id int identity(1,1),
    procedure_name varchar(255),
    line_number int,
    error_number int,
    error_message varchar(max),
    error_state int,
    error_severity int,
    occurence_datetime datetime default current_timestamp,
    user_name sysname default suser_name(),
    login_name sysname default suser_name()
    AS
    BEGIN
    insert @temp_error(procedure_name,line_number,error_number,error_message,error_state,error_severity)
    select error_procedure(),error_line(),error_number(),error_message(),error_state(),error_severity()
    RETURN;
    END;
    CREATE TYPE test_type AS TABLE(
    id int identity(1,1),
    procedure_name varchar(255),
    line_number int,
    error_number int,
    error_message varchar(max),
    error_state int,
    error_severity int,
    occurence_datetime datetime default current_timestamp,
    user_name sysname default suser_name(),
    login_name sysname default suser_name()
    GO
    create proc usp_error_test
    @test_type AS test_type READONLY
    as
    begin
    begin try
    select 1/0
    end try
    begin catch
    select * from testfunction1(@test_type)
    end catch
    end
    Mudassar

  • Can we call custom functions in view objects?

    Can we call custom functions in view objects?these custom functions are from my backing bean...
    Please help.....

    User,
    You can certainly add code to your view objects to do whatever you like.
    However, it would be considered a very bad practice to call something in the backing bean from your view object. It violates the whole MVC design principle of ADF.
    Perhaps if you can share your real use case, someone will give you ideas about the best way to do it, but I, for one, would advise you to forget about calling a backing bean function from your view object.
    Best,
    John

  • Custom function call results in 403 Forbidden error

    Hi,
    I use an custom function to show images from blob columns in a report (as shown in Re: How to Display image, that is stored in database This run fine with Apex 2.2.
    After a new installation on an other server - now with Apex 3.1 - everything is ok, but instead of the images only the broken image is displayed.
    Clicking on "show image" calls this URL http://-bla bla- /pls/htmldb6/UNTERSCHRIFTEN.uv_blob_download?p_file=1002401114659435
    and results in this error:
    You don't have permission to access /pls/htmldb6/UNTERSCHRIFTEN.uv_blob_download on this server.
    On the same Installation the sample application runs fine, also the images are displayed correctly. Also the "show image" call http://- bla bla -/pls/htmldb6/apex_util.get_blob_file?a=103&s=805871757194874&p=6&d=476144746179567984&i=176988523388974647&p_pk1=1&p_pk2=&p_ck=DE4CD5C7A077B26C18DDBF429D62F8D5
    works correct.
    I think there is something wrong with some settings.
    Any ideas?
    Thanks for your help,
    Frank

    Hello Vidar,
    I got it: The solution is in wwv_flow_epg_include_mod_local
    I had to put my function in here.
    See also: http://daust.blogspot.com/2006/04/xe-calling-stored-procedures.html
    or in my blog: (in german) http://frankschmidt.blogspot.com/2008/07/apex-blob-direkt-im-report-anzeigen.html
    Thank's for you ideas!
    Regards,
    Frank

  • Custom Function giving compile error

    Hi All,
    I have created a custom function to get the current time stamp. Below is the java code:
    package com.oracle.determinations.examples;
    import com.oracle.determinations.engine.CustomFunction;
    import com.oracle.determinations.engine.EntityInstance;
    import java.util.*;
    import java.text.*;
    public class CurrentTimeStamp extends CustomFunction {
       public Object evaluate(EntityInstance entityInstance, Object[] objects) {
          Date dNow = new Date( );
          SimpleDateFormat ft =
          new SimpleDateFormat ("MM/dd/yyyy HH:mm:ss");
        /*System.out.println(ft.format(dNow));*/
          return ft.format(dNow);
    My Extension.xml is as below:
    <?xml version="1.0" encoding="utf-8"?>
    <extension>
      <functions>
        <function name="CurrentTimeStamp" return-type="text">
      <arg name="entered-name" type="text"/>
           <handler platform="java" class="com.oracle.determinations.examples.CurrentTimeStamp"/>
          </function>
      </functions>
    </extension>
    The extension.xml is placed under following path:
    Development/Extension/CurrentTimeStamp/extension.xml
    The JAR file is palced under following path:
    Development/Extension/CurrentTimeStamp/lib/CurrentTimeStamp.jar (the jar file includes the com.oracle.determination.example folder structure)
    When i am using CurrentTimeStamp() in the rule base, it is throwing compile error saying:
    Error after text CurrentTimeStamp(' Fount Text: ')'. Exptected value variable or constant OPA - E00111
    Can you please help me where i am getting wrong and why it is not identifying the function?
    Thanks,
    KK

    Hi,
    I tried using the function with blank arguments like:CurrentTimeStamp("") and it was compiled successfully. When I tried running this rulebase in the tomcat server (web determinations).. i got the below error; Can someone please let me know what is happening here:
    HTTP Status 500 - Servlet.init() for servlet WebDeterminationsServlet threw exception
    type Exception report
    message Servlet.init() for servlet WebDeterminationsServlet threw exception
    description The server encountered an internal error that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet.init() for servlet WebDeterminationsServlet threw exception org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source)
    root cause
    java.lang.UnsupportedClassVersionError: Unsupported major.minor version 51.0 java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClassCond(Unknown Source) java.lang.ClassLoader.defineClass(Unknown Source) java.lang.ClassLoader.defineClass(Unknown Source) com.oracle.determinations.engine.local.CustomResourceClassLoader.findClass(CustomResourceClassLoader.java:120) java.lang.ClassLoader.loadClass(Unknown Source) java.lang.ClassLoader.loadClass(Unknown Source) java.lang.Class.forName0(Native Method) java.lang.Class.forName(Unknown Source) com.oracle.determinations.util.PlatformClassLoader.newInstance(PlatformClassLoader.java:61) com.oracle.determinations.engine.local.RulebaseLoader.loadCustomFunctions(RulebaseLoader.java:267) com.oracle.determinations.engine.local.RulebaseLoader.loadRulebase(RulebaseLoader.java:178) com.oracle.determinations.interview.engine.InterviewRulebase.<init>(InterviewRulebase.java:137) com.oracle.determinations.interview.engine.local.LocalRulebaseService.applyChangeSet(LocalRulebaseService.java:250) com.oracle.determinations.interview.engine.plugins.rulebaseresolver.ClassloaderRulebaseResolverPlugin.initialise(ClassloaderRulebaseResolverPlugin.java:73) com.oracle.determinations.interview.engine.local.LocalRulebaseService.<init>(LocalRulebaseService.java:53) com.oracle.determinations.interview.engine.local.LocalInterviewEngine.initialise(LocalInterviewEngine.java:181) com.oracle.determinations.interview.engine.local.LocalInterviewEngine.<init>(LocalInterviewEngine.java:66) com.oracle.determinations.interview.engine.InterviewEngineFactory.createInstance(InterviewEngineFactory.java:19) com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:180) com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.<init>(WebDeterminationsServletContext.java:116) com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:73) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source)
    note The full stack trace of the root cause is available in the Apache Tomcat/7.0.40 logs.

  • Erroring out when trying to call a custom function from the discoverer repo

    Hi everybody, Thanks in advance....
    I have a discoverer report giving the shelf life of an item.
    The shelf life is to be calculated using a function.
    Hence, a custom function is created. I registered the function using Discoverer Administrator Edition.
    Then opened my desktop edition and opened the report.
    Going to Tools > Calculations > New > Functions > Database > selected the function and changed the parameters passed to the function by going to Items selecting the columns from the tables they are available.
    Now, when the query is refreshed, it comes up with an error "Function returns no value".
    When tested from sql session, the function returns value.
    any idea, as to whts the reason???
    -- Kiran

    Hi,
    Have you validated the function in Discoverer administrator?
    Is the function valid?
    Have you manually defined the function details or imported directly from the database?
    pls. let us know.

Maybe you are looking for

  • Timer Class not accurate and slows down my animation!?

    Does anyknow how why my timer object is not accurate and why it slows down my animation that is also present on my GUI at the same time? I have a timer in the form of 0.00 the left of the decimal point should represent a second but it doesnt, run my

  • I gave my old iPad to my daughter without restoring it to original configuration, how can she use it with her iTunes?

    I gave my old iPad to my daughter without restoring it to original configuration, how can she use it with her iTunes?

  • PAYMENT PROGRAM PROBLEM

    When i create a payment proposal today with posting date in the future and the items that have to be paid are in foreign currency the payment run program (that executed in the future date) create postings with exchange rate the rate of proposal creat

  • Error handling workflow not getting triggered

    Hi all, I'm creating a outbound IDoc. And for error handling workflow.. I created a organization structure in PPOME and assigned users. I gave this position number thus created in the partner profile in post processing permitted agent tab. But when t

  • Urgent Help with Vintage, Blended Look

    Hey everyone. New to the forum, but wanted to get some advice from the experts. I am desperately trying to achieve this exact vintage, blurred look for a photo set I have, and turn it into a preset or action for later use. Essentially, I want to matc