Error ERR-9131 Error in PLSQL function body for item default code, item=P24

Hi All,
Am getting the below error in my page 24
ORA-01403: no data found
Error ERR-9131 Error in PLSQL function body for item default code, item=P24_REQ_BY_ID
OK
I dont know what to do?:(
Suddenly am getting this error in the page.
Can anyone help me to understand why this error is coming?
Thanks & Regards,
Ramya
Edited by: 901942 on Jan 29, 2012 10:16 PM

Data stored in these tables is different. If Oracle says that there's no record that satisfies the WHERE condition, why do you think that it lies? It is too stupid to do that.
Therefore, you need to handle the exception. There are several ways to do it. Here are some of them.
The first one is the most obvious - EXCEPTION handling section.
DECLARE
  default_value VARCHAR2(100);
BEGIN
  SELECT ISID INTO default_value
    FROM USER_TBL
    WHERE UPPER(ISID) = UPPER(:APP_USER);
  RETURN default_value;
EXCEPTION
  WHEN NO_DATA_FOUND THEN
    RETURN (null);  -- or whatever you find appropriate
END;Another one is to use aggregate function (MAX is a good choice) as it won't return NO-DATA-FOUND, but NULL:
DECLARE
  default_value VARCHAR2(100);
BEGIN
  SELECT MAX(ISID) INTO default_value
    FROM USER_TBL
    WHERE UPPER(ISID) = UPPER(:APP_USER);
  RETURN default_value;
END;

Similar Messages

  • Error ERR-1018 Error clearing step cache

    The full error message was:
    ORA00001: unique constraint (FLOWS_030000.WWV_FLOW_COLLECTIONS_UK) violated ORA-00060: deadlock detected while waiting for resource
    Error ERR-1018 Error clearing step cache
    We can't reproduce it (so it would appear to be intermittent and very rare), but it may be significant that it occurred in an unauthenticated application.
    Does anyone have any idea about what circumstances would cause this error to occur?
    Many thanks for your help.
    John.

    Can't believe that the thread immediately preceding this one when I posted it (the relevant thread is called 'intermittent collection violations') more-or-less answers this question... (and that I didn't find it when searching).
    Edited by: John Vaughan on Nov 12, 2008 1:14 PM

  • Error ERR-1082 Error in executing authorization scheme code.

    Hi,
    i imported my application from test to prod environment
    when run application i received the error (on login page)
    ORA-06550: line 13, column 19: PL/SQL: ORA-00942: table or view does not exist ORA-06550: line 12, column 13: PL/SQL: SQL Statement ignored ORA-06550: line 16, column 18: PLS-00364: loop index variable 'C1' use is invalid ORA-06550: line 16, column 4: PL/SQL: Statement ignored ORA-06550: line 17, column 14: PLS-00364: loop index variable 'C1' use is invalid ORA-06550: line 17, column 4: PL/SQL: Statement ignored ORA-06550: line 25, column 19: PL/SQL: ORA-00942: table or view does not exist ORA-06550: line
    Error      ERR-1082 Error in executing authorization scheme code.
    Any help?
    Thanks in advance
    Costantino

    Hi Scott,
    Thank you for the quick reply.
    What I did was to install APEX 3.1 to 11g db, and installed packaged application which called Software Management. It is working fine to log into the application and other operations, but I got the same error which reported on this thread once I applied the existing authorization schemes. So I thought if I missed to import the apex_access_setup and apex_access_control tables. I am looking for the solution to enable the default authorizations...
    I would appreciate if you could give me any suggestions.
    Thanks,
    Rui

  • Function Module  for FB01 Vendor line items postings in 3.1 Version

    Hello all,
    Is there any Function Module  for FB01 Vendor line items postings in 3.1 Version. I do not want to go for BDC. Please suggest.
    Thanks,
    Subba

    Hi,
    search for function module ACCPOSTING* or get development class of transaction FB01 and goto SE80, enter development class - and search in function group's function module.
    Cheers.
    ...Reward if useful.

  • Function module for GL account open items at a key date

    Is there a function module for "GL account open items at a key date" similar to following for customer and vendor accounts?
    BAPI_AR_ACC_GETOPENITEMS Customer account open items at a key date
    BAPI_AP_ACC_GETOPENITEMS Vendor account open items at a key date
    If not, please suggest any alternatives. I am looking to capture the output of FBL3N (GL account line item display) in a program.
    Thank you in advance.
    Prasanna Pujari

    hi,
    please go through the below link i think it will help u.
    http://sapfunctional.com/FI/GL/Balance.
    Regard
    Abhishek Tripathi

  • Function module for reading service line items of a po

    function module for reading service line items of a po.............I want to read data from eslh and esll tables to getthe service line details.....
    My requirement is if the item category is 9 I need to print the service line items. So I wan to read the data of service line items from a function module. I am not able to find a fm which fetches both elsh and esll data...

    Hi oskchaitanya ,
    use bapi BAPI_PO_GETDETAIL1.
    Regards
    REA

  • PLSQL function body returning an sql report returns ORA-01403 No Data Found

    I am on APEX 3.1.2.00.02 and Oracle 10g.
    I am developing a report with SQL Query (PL/SQL function body returning SQL query) type. But on running the report I am getting
    report error:
    ORA-01403: no data found
    Region Source
    declare
      qry varchar2(32767);
    begin
      --Procedure call
      my_pkg.get_query(qry);
      htp.p(qry);
      return /*select 1 from dual */ qry;
    end;
    Procedure
    PROCEDURE get_query (V_QRY OUT VARCHAR2)
    IS
      qry varchar2(32767);
    begin
      qry := ' select name
         , max(decode(to_char(service_date,''Mon-YY''), ''Jan-09'', value, null)) as "Jan-09"
         , max(decode(to_char(service_date,''Mon-YY''), ''Jan-09'', value, null)) as "Feb-09"
         from MY_TABLE
         group by name ';
      V_QRY := qry;
    end;
    The query will be enhanced later to add more months and year based on user parameters once I am successfull in running report on this.
    I wish to use Query Specific Column names. I have seen this suggestion from Scott in a number of threads to use /*select 1 from dual */ with query but not working in my case.
    Can someone please suggest what can I do to make it working?
    Regards,
    Amir

    Firstly, have you unit tested the procedure (namely, within the SQL Workshop, SQL*Plus, SQL Developer,etc, etc.) to see if it produces the right output in the first place?
    If you have, and the query string generated is valid, try assigning the output to a page item (thus allowing you to view it in the session browser) or even pass the procedure output into the debug window (with the use of the wwv_flow.debug function). This might reveal some state or session change which is causing it not to return.You might find this easier to achieve if you change from a 'procedure and out parameter' combination to a 'function returning string' approach.
    Alternatively, try re-creating the report in a new region - occasionally I've come across weird bugs with report regions which resolved themselves in this manner.

  • Computation using plsql function body

    Apex 4.2 linux 11gR2
    I am trying to compute a value based on existing data in DB
    Using apex functionality, pl/sql function body to compute AFTER SUBMIT
    declare
        c    number(4);
        temp NUMBER(11,2);
        temp1 NUMBER(11,2);
        --P11_CURRENT_MONTH_EST_TO_DATE  NUMBER(11,2);
    begin
          select count (*) into c
          FROM REVENUE_ANNUAL
          where COMPANY_ID=:P11_COMPANY
          and period=:P11_PERIOD;
          dbms_output.put_line(c);
          if c>0 then
                  SELECT  CURRENT_MONTH_BILLED_TO_DATE
                  into temp
                  FROM REVENUE_ANNUAL
                  where COMPANY_ID=:P11_COMPANY
                  and period=:P11_PERIOD;
                  --dbms_output.put_line(temp);
                  :P11_X :=:temp;
                 :P11_CURRENT_MONTH_EST_TO_DATE := temp*0.19;
                --dbms_output.put_line(P11_CURRENT_MONTH_EST_TO_DATE);
           end if ;
       end ;
      block is executed successfully in sql dev but on insert in apex , it never returns a value.
    Your Help is appreciated.
    Edited by: Hunk09 on Apr 23, 2013 4:04 PM
    Edited by: Hunk09 on Apr 23, 2013 4:06 PM

    If your computation type is "PL/SQL Function Body", then you need to add something like this to your procedure.
    return temp;which will set whatever item you've associated with your computation to the variable "temp" in session state.

  • Converting SQL Report Region to PLSQL Function Body Returning SQL Query

    All:
    I want to convert my SQL Report Region to a PLSQL-generated SQL Report Region so that I can eliminate where clauses dynamically and speed up my app, and also so that I can provide additional sorting options.
    <br><br>
    My problem is that I have lots of embedded single quotes that already are coded as 3 single quotes in the SQL Report Region. I am not sure at all how to code them within the PLSQL.
    <br><br>
    As example, here is one column from my query:
    <br><br>
    select decode(nvl(g.date_sub_1,g.date_rec_1), null, decode(g.article, 0, 'E', 1, 'U'), '< a href="javascript:unElevate( ' ' ' || g.grid || ' ' ',' ' ' || g.natca || ' ' ')">' || decode(g.article, 0, 'E', 1, 'U') || '< /a>') "Reverse" from g_table g
    <br><br>
    (Note that I added spaces within the code so it would display properly in the browser.)
    <br><br>
    To clarify, that's a double quote before javascript, and then 3 single quotes before the first concatenation group, then 3 single quotes after the second concatenation group, then 3 single quotes before the third, 3 single quotes after the fourth followed by an end-paren followed by a double quote etc.
    <br><br>
    My question is, what do I do with these triple-single quotes within PLSQL? Probably a no-brainer for the experienced folks, but I am thinking like a mobius strip at this point.
    <br><br>
    Bill
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]

    Scott,
    I think that feature was made for my situation! I keep getting
    Function returning SQL query: Query cannot be parsed within the Builder. If you believe your query is syntactically correct, check the generic columns checkbox below the region source to proceed without parsing.
    (ORA-20001: Unable to bind :43 verify length of item is 30 bytes or less. Use v() syntax to reference items longer than 30 bytes. ORA-01006: bind variable does not exist)
    I did chop the query up into little bits, i.e.
    p_sql := p_sql || q'! ... !';
    p_sql := p_sql || q'! ... !';
    p_sql := p_sql || q'! ... !';
    return p_sql;
    But I'm not sure what I'm supposed to do here.
    Thank you.
    Bill

  • Function Module for Outbound process code

    Hi,
    I have a scenario in which i have to send MBGMCR02 Idoc from SAP to XI.
    I created a new Outbound process code and now I have to code the function module that populates data into the segments.
    Does anyone have sample code for this, i.e code to put in the finction module of an outbound process code?

    hi...
    please find the below code.
    *& Report  ZPROGRAM11
    REPORT  ZPROGRAM11.
    tables : likp,vbuk,vbfa,ibin,vbap,vbak,kna1.
    types : begin of iy_tab,
             vbeln type vbfa-vbeln,
            vbelv type vbfa-vbelv,
           posnv type vbfa-posnv,
           end of iy_tab.
    types : begin of iy_tab1,
    vbeln type vbuk-vbeln,
    wbstk type vbuk-wbstk,
    end of iy_tab1.
    types : begin of iy_tab2,
    vbeln type vbak-vbeln,
    kunnr type vbak-kunnr,
    vkorg type vbak-vkorg,
    vtweg type vbak-vtweg,
    spart type vbak-spart,
    end of iy_tab2.
    data : i_ibase type ib_ibase.
    data : i_kunnr type vbak-kunnr.
    data : it_tab type table of iy_tab with header line,
      it_tab1 type standard table of iy_tab1 ,
      wa_tab1 type iy_tab1,
      it_tab2 type standard table of iy_tab2 ,
      wa_tab2 type iy_tab2.
    data : t_edidd type standard table of edidd .
    data : t_edidc type  edidc.
    data : t_edidc1 type standard table of edidc .
    data : wa type edidd.
    data : wa1 type e1edl20.
    data : wa2 type zibase.
    data : wa3 type e1edl32.
    data : wa4 type e1edl44.
    data : wa5 type e1edl37.
    data : wa6 type e1edl28.
    data : wa7 type e1edl30.
    data : wa8 type e1edl24.
    data : wa9 type e1adrm1.
    data : begin of it_tab3 occurs 10,
           vbeln type iy_tab-vbelv,
           posnr type iy_tab-posnv,
           i_ibase type ib_ibase,
           end of it_tab3.
      types :    begin of iy_tab4 ,
            valfr type ibin-valfr,
            ibase type ibin-ibase,
           amount type ibin-amount,
           unit type ibin-unit,
           end of iy_tab4.
           data : it_tab4 type standard table of iy_tab4,
                  wa_tab4 type iy_tab4.
      data : begin of it_tab5 occurs 10,
             vbeln type vbfa-vbelv,
             posnr type vbfa-posnv,
             ibase type ibib-ibase,
             valfr type ibin-valfr,
             amount type ibin-amount,
             unit type ibin-unit,
             matnr type vbap-matnr,
             kunnr type vbak-kunnr,
             vkorg type vbak-vkorg,
             vtweg type vbak-vtweg,
             spart type vbak-spart,
             name1 type kna1-name1,
             end of it_tab5.
          types : begin of iy_tab6,
                 vbeln type vbap-vbeln,
                 posnr type vbap-posnr,
                 matnr type vbap-matnr,
                end of iy_tab6.
          data : it_tab6 type standard table of iy_tab6,
                 wa_tab6 type iy_tab6.
    types : begin of iy_tab7,
            kunnr type kna1-kunnr,
            name1 type kna1-name1,
            end of iy_tab7.
    data: it_tab7 type standard table of iy_tab7,
          wa_tab7 type iy_tab7.
          data : wa_table type ytable1.
    selection-screen: begin of block b1 with frame title text-t00.
    parameters: p_vbeln type vbfa-vbeln.
    selection-screen: end of block b1.
    start-of-selection.
      select vbeln vbelv posnv  from vbfa into table it_tab
      where vbeln = p_vbeln.
      if sy-subrc eq 0.
            loop at it_tab.
        select vbeln wbstk from vbuk into table it_tab1
          for all entries in it_tab
        where vbeln = it_tab-vbeln.
            endloop.
      endif.
      loop at it_tab1 into wa_tab1.
        if wa_tab1-wbstk = 'C'.
          loop at it_tab.
            call function 'IBSD_CREATE_IBASE'
              exporting
                i_vbeln                     = it_tab-vbelv
                i_posnr                     = it_tab-posnv
                i_as_sold                   = '0'
                i_as_build                  = '0'
                i_capid                     = '0'
              I_CHANGE                    = ' '
               i_commit                    = 'X'
              I_COMMIT_WAIT               = ' '
             importing
               e_ibase                     = i_ibase
             exceptions
               order_not_found             = 1
               position_not_found          = 2
               nothing_to_do               = 3
               too_much_to_do              = 4
               missing_authorization       = 5
               foreign_lock                = 6
               others                      = 7
            if sy-subrc <> 0.
              message id sy-msgid type sy-msgty number sy-msgno
                      with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            else.
              move it_tab-vbelv to it_tab3-vbeln.
              move it_tab-posnv to it_tab3-posnr.
              move i_ibase to it_tab3-i_ibase.
              append it_tab3.
              if sy-subrc eq 0.
               select valfr ibase  amount unit from ibin into table it_tab4
                  for all entries in it_tab3
                  where ibase = it_tab3-i_ibase.
                 if sy-subrc eq 0.
                   select vbeln posnr matnr from vbap into table it_tab6
                     for all entries in it_tab3
                     where vbeln = it_tab3-vbeln and posnr = it_tab3-posnr .
                     if sy-subrc eq 0.
              select vbeln  kunnr vkorg vtweg spart from vbak into table it_tab2
                for all entries in it_tab
                  where vbeln = it_tab-vbelv.
              sort it_tab2 by vbeln.
              delete adjacent duplicates from it_tab2 comparing all fields.
             if sy-subrc <> 0.
               select kunnr name1 from kna1 into table it_tab7
                 for all ENTRIES IN it_tab2
                 where kunnr = it_tab2-kunnr.
                 endif.
               endif.
               endif.
               endif.
               endif.
          endloop.
        else.
          exit.
       if sy-subrc eq 0.
       endif.
        endif.
      endloop.
      loop at it_tab3.
        move it_tab3-vbeln to it_tab5-vbeln.
        move it_tab3-posnr to it_tab5-posnr.
        move it_tab3-i_ibase to it_tab5-ibase.
        if sy-subrc eq 0.
          read table it_tab4 into wa_tab4 with key ibase = it_tab3-i_ibase.
          move wa_tab4-valfr to it_tab5-valfr.
          move wa_tab4-amount to it_tab5-amount.
          move wa_tab4-unit to it_tab5-unit.
          if sy-subrc eq 0.
            read table it_tab6 into wa_tab6 with key  vbeln = it_tab3-vbeln posnr = it_tab3-posnr.
            move wa_tab6-matnr to it_tab5-matnr.
            if sy-subrc eq 0.
              read table it_tab2 into wa_tab2 with key vbeln = it_tab3-vbeln.
              move wa_tab2-kunnr to it_tab5-kunnr.
              move wa_tab2-vkorg to it_tab5-vkorg.
              move wa_tab2-vtweg to it_tab5-vtweg.
              move wa_tab2-spart to it_tab5-spart.
              if sy-subrc eq 0.
                read table it_tab7 into wa_tab7 with key kunnr = wa_tab2-kunnr.
                move wa_tab7-name1 to it_tab5-name1.
                append it_tab5.
                endif.
              endif.
          endif.
          endif.
         append it_tab5.
          endloop.
        loop at it_tab5.
          move it_tab5-vbeln to wa_table-vbeln.
           move it_tab5-kunnr to wa_table-kunnr.
            move it_tab5-vbeln to wa_table-vbeln.
             move it_tab5-ibase to wa_table-ibase.
              move it_tab5-matnr to wa_table-matnr.
               move it_tab5-valfr to wa_table-valfr.
                move it_tab5-unit to wa_table-unit.
                 move it_tab5-amount to wa_table-amount.
                  move it_tab5-vkorg to wa_table-vkorg.
                   move it_tab5-vtweg to wa_table-vtweg.
                    move it_tab5-spart to wa_table-spart.
                    move it_tab5-name1 to wa_table-name1.
                    insert ytable1 from wa_table.
                    endloop.
    *INSERT ytable1 FROM TABLE it_tab5.
        loop at it_tab5.
        wa1-vbeln = it_tab-vbeln.
        wa1-vkorg = it_tab5-vkorg.
        wa-segnam = 'E1EDL20'.
        wa-sdata = wa1.
        wa-hlevel = 2.
        append wa to t_edidd.
      loop at it_tab3.
        wa2-i_ibase = it_tab5-ibase.
        wa2-i_qty = it_tab5-amount.
        wa2-i_dat = it_tab5-valfr.
        wa-segnam = 'ZIBASE'.
        wa-sdata = wa2.
        wa-hlevel = 3.
        append wa to t_edidd.
               endloop.
    wa9-name1 = it_tab5-name1.
    wa-segnam = 'E1ADRM1'.
    wa-sdata = wa9.
    wa-hlevel = 3.
    append wa to t_edidd.
        wa-segnam = 'E1EDL28'.
        wa-sdata = wa6.
        wa-hlevel = 3.
        append wa to t_edidd.
        wa-segnam = 'E1EDL30'.
        wa-sdata = wa7.
        wa-hlevel = 4.
        append wa to t_edidd.
        wa3-kunnr = it_tab5-kunnr.
        wa-segnam = 'E1EDL32'.
        wa-sdata = wa3.
        wa-hlevel = 5.
        append wa to t_edidd.
        wa8-meins = it_tab5-unit.
        wa8-vtweg = it_tab5-vtweg.
        wa8-spart = it_tab5-spart.
        wa-segnam = 'E1EDL24'.
        wa-sdata = wa8.
        wa-hlevel = 3.
       append wa to t_edidd.
        wa-segnam = 'E1EDL37'.
        wa-sdata = wa5.
        wa-hlevel = 3.
        append wa to t_edidd.
        wa4-vbeln  = it_tab5-vbeln.
        wa4-posnr = it_tab5-posnr.
        wa4-matnr = it_tab5-matnr.
        wa-segnam = 'E1EDL44'.
        wa-sdata = wa4.
        wa-hlevel = 4.
        append wa to t_edidd.
        endloop.
        t_edidc-mandt = sy-mandt.
        t_edidc-direct = '1'.
        t_edidc-rcvpor = 'A000000062'.
        t_edidc-rcvprt = 'LS'.
        t_edidc-rcvprn = 'O2C_ASSET'.
    t_edidc-rcvpfc = 'LS'.
        t_edidc-sndpor = 'SAPSIT'.
        t_edidc-sndprt = 'LS'.
        t_edidc-sndprn = 'T90CLNT090'.
    t_edidc-sndpfc = 'LS'.
        t_edidc-mestyp = 'DELVRY'.
        t_edidc-idoctp = 'DELVRY03'.
    *t_edidc-rcvpfc = 'LS'.
    t_edidc-sndpfc = 'LS'.
        t_edidc-cimtyp = 'ZDELVRY03'.
        append t_edidc to t_edidc1.
        call function 'MASTER_IDOC_DISTRIBUTE'
                                   exporting
                                     master_idoc_control                  = t_edidc
                                 OBJ_TYPE                             = ''
                                 CHNUM                                = ''
                                   tables
                                     communication_idoc_control           = t_edidc1
                                     master_idoc_data                     = t_edidd
                                  exceptions
                                    error_in_idoc_control                = 1
                                    error_writing_idoc_status            = 2
                                    error_in_idoc_data                   = 3
                                    sending_logical_system_unknown       = 4
                                    others                               = 5
        if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          else.
          CALL FUNCTION 'DB_COMMIT'
          CALL FUNCTION 'DEQUEUE_ALL'
          EXPORTING
            _SYNCHRON       = ' '
          COMMIT WORK.
        endif.
         endloop.

  • SQL Query (pl/sql function body returning Sql query)

    Hi All,
    I have created a region of "SQL Query (pl/sql function body returning Sql query)" type and it is working fine , but when I am migrating(export /import) this application from development to systest environment ,
    It gives error for this region :
    Error ERR-1101 Unable to process function body returning query.
    OK
    ORA-06550: line 1, column 52: PLS-00306: wrong number or types of arguments in call to 'FU_TRADE_REPORT_QUERY' ORA-06550: line 1, column 45: PL/SQL: Statement ignored
    Any pointer ...why this is happening.
    Thanks
    Dikshit

    If your function is a stored function that is called from within APEX (function body not coded into the app itself), have you made sure that the function has been created and compiles ok prior to installing your apex app.
    If there are some dependency issues between other PL/SQL units or database objects that are causing your function not to be compiled, you apex install will fail as you are trying to reference an uncompelled bit of pl/sql.
    Let me know how you get on
    Regards
    Duncan

  • SQL Query ( PL/SQL function body returning query ) page

    Hello Friends,
    I have a page with type SQL Query ( PL/SQL function body returning query ).
    I have written a pl/sql block that returns a sql query - select statment.
    Some times i am getting no data found error - does it got to do with the variable that stores the query .
    =======================
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Error ERR-1101 Unable to process function body returning query.
    OK
    =====================
    When the query is returned with records where exactly the records are stored is it in the variable declared in pl/sql block or with the Oracle Apex implicit cursor.
    Here's the pl/sql block ..
    The query is generated while the user is navigating through pages ..
    ====================
    declare
    l_return_stmt varchar2(32767);
    l_select varchar2(32000);
    l_from varchar2(32000);
    l_where varchar2(32000);
    l_order_by varchar2(32000);
    l_stmt_recordcount varchar2(32000);
    l_recordcount number ;
    begin
    l_select := 'select '||:P10_VARLIST1||:P10_VARLIST2||:P10_VARLIST3
    ||:P10_VARLIST4||:P10_VARLIST5;
    l_from := ' from '||:P10_RELATION;
    if length(:P10_WHERE) > 0 then
    l_where := ' where '||:P10_WHERE;
    else
    l_where := '';
    end if;
    if length(:P10_ORDER_BY) > 0 then
    l_order_by := ' order by '||:P10_ORDER_BY;
    else
    l_order_by := '';
    end if;
    l_return_stmt := l_select||l_from||l_where||l_order_by;
    :P10_STMT := l_return_stmt;
    return l_return_stmt;
    end;
    =============================
    Appreciate your help in this regard.
    thanks/kumar
    Edited by: kumar73 on Apr 22, 2010 6:38 AM

    It looks like the query string you are trying to pass back exceeds the 32K limit for a varchar. Where this is happening is kind of difficult to tell as it could be any number of points, and also depends on what you are passing into the process via page items.
    I would first try to establish what combination of page items causes this error to occur. Then, starting from the bottom and working your way backwards, I would start 'switching off' some of the items you use to build your query until it breaks again, thus establishing which part is leading to the error.
    Also, I'm not sure what :P10_STMT is doing (are you maybe using this for visiblity of the query created)?
    It looks like the query string you are trying to pass back exceeds the 32K limit for a varchar. Where this is happening is kind of difficult to tell as it could be any number of points, and also depends on what you are passing into the process via page items.
    I would first try to establish what combination of page items causes this error to occur. then, starting from the bottom and working your way backwards, I would start 'switching off' some of the items you use to build your query until it breaks again, thus establishing which part is leading to the error.
    Also, I'm not sure what :P10_STMT is doing (are you maybe using this for visiblity of the query created)?

  • Kindly help ORA-00917: missing comma" ERR-1101 Unable to process function

    HI Experts,
    Since yesterday every thing was fine, i do not know what happened in the evening, we are facing some issue with our production.
    I'm getting the following error ,when i running the report
    ORA-00917: missing comma
         Error      ERR-1101 Unable to process function body returning query.
    Since long time we have even not touched the code , i'm wondering about this error...the same code was working fine just 2 days back.
    Kindly help me with this...
    Code
    DECLARE
       date_from DATE:=:P46_TRANS_DATEFROM;
       date_to DATE:=:P46_TRANS_DATETO;
       --date_from DATE :=TO_DATE('22-Nov-2007','DD-Mon-yyyy');
       --date_to DATE :=TO_DATE('23-Nov-2007','DD-Mon-yyyy');
       date_counter DATE:=date_from;
       v_city varchar2(32):=:P46_CITY;
       str_month1 VARCHAR2(3):=SUBSTR(TO_CHAR(date_from,'DD-MON-YYYY'),4,3);
       str_year1 VARCHAR2(4):=SUBSTR(TO_CHAR(date_from,'DD-MON-YYYY'),8,4);
       str_month2 VARCHAR2(3):=SUBSTR(TO_CHAR(date_to,'DD-MON-YYYY'),4,3);
       str_year2 VARCHAR2(4):=SUBSTR(TO_CHAR(date_to,'DD-MON-YYYY'),8,4);
       day_from VARCHAR2(2):=SUBSTR(date_from,1,2);
       day_to VARCHAR2(2):=SUBSTR(date_to,1,2);
       CURSOR trans_alloc(m VARCHAR2,y NUMBER,email VARCHAR2) IS SELECT * FROM EFT_TRANS_ALLOCATION WHERE LOWER(MONTH)=LOWER(m) AND YEAR=y AND LOWER(email_id)=LOWER(email);
       CURSOR trans_schedules(m1 VARCHAR2,y1 NUMBER,m2 VARCHAR2,y2 NUMBER) IS SELECT * FROM OD_SHIFT_SCHEDULE WHERE (UPPER(MONTH)=m1 OR UPPER(MONTH)=m2) AND (YEAR=y1 OR YEAR=y2);
       CURSOR get_res_id(email VARCHAR2) IS SELECT resource_id,first_name,last_name FROM EFT_RESOURCES WHERE LOWER(email_id)=LOWER(email);
       rec OD_SHIFT_SCHEDULE%ROWTYPE;
       CURSOR get_shifts(id VARCHAR2) IS SELECT * FROM OD_SHIFTS WHERE shift_id=id;
       ta EFT_TRANS_ALLOCATION%ROWTYPE;
       sd OD_SHIFTS%ROWTYPE;
       sql_str VARCHAR2(4000);
       v_res_id NUMBER;
       v_fname VARCHAR2(50);
       v_lname VARCHAR2(50);
       v_shift_id VARCHAR2(32);
       s VARCHAR2(1000);
       d VARCHAR2(32);
       final_sql VARCHAR2(4000);
       v_consent VARCHAR2(3);
       s2 VARCHAR2(1000);
       dn DATE;
    BEGIN
       DELETE FROM EFT_SHIFT_SCHEDULES_RPT;
       OPEN trans_schedules(UPPER(str_month1),TO_NUMBER(str_year1),UPPER(str_month2),TO_NUMBER(str_year2));
       LOOP
          FETCH trans_schedules INTO rec;
           EXIT WHEN trans_schedules%NOTFOUND;
           OPEN get_res_id(rec.name);
           FETCH get_res_id INTO v_res_id,v_fname,v_lname;
              OPEN trans_alloc(TO_CHAR(date_counter,'MON'),TO_NUMBER(TO_CHAR(date_counter,'YYYY')),rec.name);
               FETCH trans_alloc INTO ta;
               IF trans_alloc%FOUND THEN
               dbms_output.put_line (date_counter||'----'||date_to||'Res_id:----'||v_res_id||'-'||ta.slno);
               dbms_output.put_line ('Found Alloc');
               WHILE date_counter<=date_to
               LOOP
                    --d:=d||'-'||str_month||'-'||str_year;
                    d:=SUBSTR(TO_CHAR(date_counter,'DD-MON-YYYY'),1,2);     
                    s:='INSERT INTO temp_2 SELECT "'||d||'" from OD_SHIFT_SCHEDULE where slno='||rec.slno;
                    --dbms_output.put_line (d||'-'||s);
                    DELETE FROM temp_2;
                    EXECUTE IMMEDIATE s;
                    SELECT substr(trim(VAL),1,1) INTO v_shift_id FROM temp_2;
                    s2:='INSERT INTO temp_3 SELECT "'||d||'" from EFT_TRANS_ALLOCATION where slno='||ta.slno;
                    DELETE FROM temp_3;
                    EXECUTE IMMEDIATE s2;
                    SELECT VAL INTO v_consent FROM temp_3;
                    --dbms_output.put_line (v_shift_id||'-'||v_consent);
                    --dbms_output.put_line (date_counter||'-'||date_to);
                    IF v_consent='Y' THEN
                    --dbms_output.put_line ('Im inside consent'||v_consent);
                    IF v_shift_id IS NOT NULL THEN
                    --dbms_output.put_line ('Im inside shift not null'||v_shift_id);
                       OPEN get_shifts(v_shift_id);
                       FETCH get_shifts INTO sd;
                        IF sd.night_shift_indicator='Y' THEN
                           dn:=date_counter+1;
                        sql_str:='INSERT INTO eft_shift_schedules_rpt VALUES ('||v_res_id||','''||v_fname||''','''||v_lname||''','''||rec.name||''','''||sd.shift_name||''','''||date_counter||''','''||sd.start_from||''','''||sd.start_to||''','''||''','''||sd.active_yn||''','''||dn||''')';
                        ELSE
                           sql_str:='INSERT INTO eft_shift_schedules_rpt VALUES ('||v_res_id||','''||v_fname||''','''||v_lname||''','''||rec.name||''','''||sd.shift_name||''','''||date_counter||''','''||sd.start_from||''','''||sd.start_to||''','''||''','''||sd.active_yn||''','''||date_counter||''')';
                        END IF;
                       EXECUTE IMMEDIATE sql_str;
                       CLOSE get_shifts;
                        --dbms_output.put_line (sql_str);
                    END IF;
                    END IF;
                    COMMIT;
                    date_counter:=date_counter+1;     
              END LOOP;
               END IF;
          CLOSE trans_alloc;
           CLOSE get_res_id;
           --dbms_output.put_line (rec.name);
           date_counter:=date_from;
       END LOOP;
       COMMIT;
       CLOSE trans_schedules;
    final_sql:='select a.first_name,a.last_name,a.email_id,a.shift_details,a.arrange_date,a.slot_from,a.slot_to,a.trans_arranged,a.active_yn,b.address1,b.address2,b.city,b.state,b.pin,b.worknumber,b.homenumber,b.mobilenumber,a.to_date from eft_shift_schedules_rpt a,eft_locations b where a.resource_id=b.resource_id and b.city =:P46_CITY';
    --dbms_output.put_line (final_sql);
    RETURN final_sql;
    END;

    Hi Basva,
    my best advice is find out where the error happens, e.g. using DBMS_UTILITY.FORMAT_ERROR_BACKTRACE .
    In the next step you can fix the error and rework the code so that it looks nice and has some comments in it so everyone knows what it SHOULD do.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at and http://www.wirsindapex.at

  • Error in plsql function

    Hi Friends,
    I have the below plsql function which is throwing error.
    The below function is written in Apex, so kindly let me know ow to resolve this error
    The below query checks the existing value and if null assigns a value by select statement. else will assign it back to the variable.
    Function:
    BEGIN
    IF
    :P1_VARIABLE_NAME IS NULL THEN :P1_VARIABLE_NAME:=select .... from .... (which returns a string value)
    ELSE
    :P1_VARIABLE_NAME
    END
    END
    Error:
    Encountered the symbol "SELECT" when expecting one of the following: ( - + case mod new not null avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date pipe

    Pradeep wrote:
    No I am creating a PLSQL function body option to write the above query. Is there a way in apex to dynamically bind the valueApex function bodies support bind variables. For example, you can set the rendering condition of an Apex region to a function body and code it as follows:
    if :P1_SOMEVAR = MySchema.MyFunction( :P1_SOME_OTHERVAR ) then
      return( true );
    else
      return( false );
    end if;Where the bind variables used are standard Apex page item (variables).
    I also suggest that if your questions are Apex related and not specifically PL/SQL and SQL language related, you rather ask your questions in the OTN Apex forum and not here.

  • Java system error: Server repository could not create function template

    Hi, Our BI person is trying to  publish/broadcast a query to the PRODCTION  portal, she gets the below error message.  I am
    attaching the defaulttracelog file
    "Java system error: Server repository could not create function template for RSRD_X_PRODUCE_PROXY caused by: com.sap.mw.jco.JCO$Exception: (103)"
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[./log/defaultTrace.trc]/>
    <!PATTERN[defaultTrace.trc]/>
    <!FORMATTER[com.sap.tc.logging.ListFormatter]/>
    <!ENCODING[UTF8]/>
    <!FILESET[8, 20, 10485760]/>
    <!PREVIOUSFILE[defaultTrace.7.trc]/>
    <!NEXTFILE[defaultTrace.9.trc]/>
    <!LOGHEADER[END]/>
    #1.5 #002264F9350800600000022F000019C000048E9B91EF3AB3#1282698726384#com.sap.security.core.persistence#sap.com/irj#com.sap.security.core.persistence#J2EE_GUEST#0##n/a##4dba6f30af8111df934c002264f93508#SAPEngine_Application_Thread[impl:3]_35##0#0#Error#1#/System/Security/Usermanagement#Java#An exception was thrown in the UME/ABAP user management connector that was caused by unavailability of the RFC communication with the backend system: "". ##An exception was thrown in the UME/ABAP user management connector that was caused by unavailability of the RFC communication with the backend system: "". #1#Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=localhost SYSNR=00 GWHOST=localhost GWSERV=sapgw00 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       partner '127.0.0.1:sapgw00' not reached
    TIME        Tue Aug 24 21:12:06 201
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2823
    DETAIL      NiPConnect2
    SYSTEM CALL connect
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER     56
    #1.5 #002264F93508006000000230000019C000048E9B91EF47C8#1282698726384#com.sap.engine.services.monitor.mbeans.Monitor#sap.com/irj#com.sap.engine.services.monitor.mbeans.Monitor#J2EE_GUEST#0##n/a##4dba6f30af8111df934c002264f93508#SAPEngine_Application_Thread[impl:3]_35##0#0#Error##Plain###Caller J2EE_GUEST not authorized, user J2EE_GUEST is not available from user management, reason: com.sap.security.api.NoSuchUserException:USER_AUTH_FAILED: User account for logonid "J2EE_GUEST" not found!#
    #1.5 #002264F93508006000000231000019C000048E9B91EF4CD5#1282698726384#System.err#sap.com/irj#System.err#J2EE_GUEST#0##n/a##4dba6f30af8111df934c002264f93508#SAPEngine_Application_Thread[impl:3]_35##0#0#Error##Plain###com.sap.engine.services.jmx.exception.JmxSecurityException: Caller J2EE_GUEST not authorized, user J2EE_GUEST is not available from user management, reason: com.sap.security.api.NoSuchUserException:USER_AUTH_FAILED: User account for logonid "J2EE_GUEST" not found!
         at com.sap.engine.services.jmx.auth.UmeAuthorization.checkMBeanPermission(UmeAuthorization.java:63)
         at com.sap.engine.services.jmx.JmxServerFrame.checkMBeanPermission(JmxServerFrame.java:98)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.unregisterMBean(MBeanServerSecurityWrapper.java:395)
         at com.sap.engine.services.jmx.ClusterInterceptor.unregisterMBean(ClusterInterceptor.java:1327)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.unregisterMBean(MBeanServerInterceptorChain.java:258)
         at com.sap.engine.services.monitor.mbeans.Monitor.unregister(Monitor.java:106)
         at com.sap.engine.library.monitor.impl0.AbstractMonitorNode.remove(AbstractMonitorNode.java:154)
         at com.sap.engine.library.monitor.impl0.MonitorObjectFactory.uninstallMonitorNode(MonitorObjectFactory.java:483)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:595)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:568)
         at com.sap.engine.services.monitor.server.ApplicationLifeCycleImpl.applicationStopped(ApplicationLifeCycleImpl.java:52)
         at com.sap.engine.services.monitor.deployment.MonitorDeploymentContainer.commitStop(MonitorDeploymentContainer.java:630)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commonCommitFinished(StopTransaction.java:244)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commitCommon(StopTransaction.java:290)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commitLocal(StopTransaction.java:278)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:374)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:132)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesLocalAndWait(ParallelAdapter.java:250)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.stopApplicationLocalAndWait(DeployServiceImpl.java:4569)
         at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.stopApplicationLocalAndWait(DeployCommunicatorImpl.java:628)
         at com.sap.portal.prt.sapj2ee.SAPJ2EEPortalRuntime$2.run(SAPJ2EEPortalRuntime.java:602)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1482)
         at java.lang.Runtime.load0(Runtime.java:737)
         at java.lang.System.load(System.java:811)
         at com.sapportals.wcm.service.fsmount.FSMountService.loadDLL(FSMountService.java:736)
         at com.sapportals.wcm.service.fsmount.FSMountService.<clinit>(FSMountService.java:796)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sapportals.wcm.repository.runtime.CmConfigurationProvider.convertGS(CmConfigurationProvider.java:637)
         at com.sapportals.wcm.repository.runtime.CmConfigurationProvider.convertServiceConfig(CmConfigurationProvider.java:601)
         at com.sapportals.wcm.repository.runtime.CmConfigurationProvider.readConfiguration(CmConfigurationProvider.java:205)
         at com.sapportals.wcm.crt.CrtSystemImpl.createComponentManager(CrtSystemImpl.java:108)
         at com.sapportals.wcm.repository.runtime.CmSystem.startUp(CmSystem.java:202)
         at com.sapportals.wcm.repository.runtime.CmSystem.getInstance(CmSystem.java:164)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResourceImpl(CmAdapter.java:974)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:192)
         at com.sapportals.wcm.portal.service.KMServiceImpl.afterInit(KMServiceImpl.java:249)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstanceStep2(PortalServiceItem.java:877)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:1118)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1707)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1662)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startNonCoreApplications(PortalAppBroker.java:1592)
         at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:422)
         at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:54)
         at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:361)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:42)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:114)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:394)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:139)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:386)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    #1.5 #002264F93508005C0000042300002CF00004939AAEE9AEB7#1288192475655#com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager#sap.com/irj#com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager#J2EE_GUEST#0##n/a##c7d00e00e1dc11dfa36d002264f93508#SAPEngine_Application_Thread[impl:3]_29##0#0#Error##Plain###setting initial ACL on /reporting_backend/reports/System Administration/CM Store/cm.crawlcontent - com.sap.security.api.NoSuchRoleException: Role with uniqueName system_admin_role not found!
         at com.sap.security.core.imp.RoleFactory.getRoleByUniqueName(RoleFactory.java:1783)
         at com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager.getRoles(RPRepositoryManager.java:1474)
         at com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager.syncReportResources(RPRepositoryManager.java:1334)
         at com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager.initBackend(RPRepositoryManager.java:489)
         at com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager.getResource(RPRepositoryManager.java:581)
         at com.sapportals.wcm.repository.RMAdapter.getResource(RMAdapter.java:228)
         at com.sapportals.wcm.repository.runtime.CmAdapter.findResource(CmAdapter.java:1349)
         at com.sapportals.wcm.repository.runtime.CmAdapter.findManagerAndResource(CmAdapter.java:1322)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResourceImpl(CmAdapter.java:979)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:192)
         at com.sapportals.wcm.service.reporting.ReportingService.localConfigure(ReportingService.java:294)
         at com.sapportals.wcm.service.reporting.ReportingService.startUpImpl(ReportingService.java:74)
         at com.sapportals.wcm.service.AbstractService.start(AbstractService.java:167)
         at com.sapportals.wcm.crt.CrtThreadSafeComponentHandler.tryToStart(CrtThreadSafeComponentHandler.java:247)
         at com.sapportals.wcm.crt.CrtThreadSafeComponentHandler.handleLookup(CrtThreadSafeComponentHandler.java:109)
         at com.sapportals.wcm.crt.CrtComponentManager.lookup(CrtComponentManager.java:322)
         at com.sapportals.wcm.crt.CrtComponentManager.lookupChildComponent(CrtComponentManager.java:403)
         at com.sapportals.wcm.crt.CrtContainerManager.lookupComponent(CrtContainerManager.java:44)
         at com.sapportals.wcm.crt.CrtSystemImpl.lookupComponentByUri(CrtSystemImpl.java:131)
         at com.sapportals.wcm.crt.CrtComponentManager.startUp(CrtComponentManager.java:278)
         at com.sapportals.wcm.crt.CrtSystemImpl.startUpComponentManager(CrtSystemImpl.java:166)
         at com.sapportals.wcm.repository.runtime.CmSystem.startUp(CmSystem.java:227)
         at com.sapportals.wcm.repository.runtime.CmSystem.getInstance(CmSystem.java:164)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResourceImpl(CmAdapter.java:974)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:192)
         at com.sapportals.wcm.portal.service.KMServiceImpl.afterInit(KMServiceImpl.java:249)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstanceStep2(PortalServiceItem.java:877)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:1118)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1707)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1662)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startNonCoreApplications(PortalAppBroker.java:1592)
         at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:422)
         at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:54)
         at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:361)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:42)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:114)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:394)

    Go to visual admin -> server -> services -> JCO RFC provider.
    Check the RFC that connects to the BI Abap.
    Its reporting the J2EE_GUEST user in the SAP with the system nr 00.
    Is this BI java portal?
    Is the java portal a addon to Abap or having seperate SID?
    Check the connection definitions are correct and the gateway is running.

Maybe you are looking for

  • ITunes 10 - iPhone 4 Device playlist not updating from main iTunes Playlist

    Installed iTunes 10 and synched with an Apple iPhone 4. After the first install, I could see all of the Playlists displayed in iTunes when I selected to sync Music on the iPhone using the 'Selected playlists, artists, albums, and genres'. After the i

  • Can't get, or use.

    Can't download. I have always updated. Now everytime I go on a site it says I need to update, or haven't the latest Flash player. I try to down load but am told I have the latest already. Tried to remove completely and re install ... can't / won't al

  • Enq: TX - row lock contention in forms 10g sequency number generation

    Iam Getting the Deadlock issue in oracle formdeveloper 10g database is 11g Acutually in our small Hospital organization using different forms generating entrying labrequest form finally save time one sequency number will generated i have give procedu

  • Creating Web Service Proxy From WSDL - Error SPRX046

    We are attempting to create some Web Service proxy objects from some WSDL files. Some of the WSDL files contain message definitions with multiple parts such as <i><wsdl:message name="GetNewSubmissionsResponse">       <wsdl:part element="impl:Count" n

  • EM Database Control 11.1.0.6.0 을 구성하는 도중에 발생하는 repository create error에 관한

    EM Database Control 11.1.0.6.0 을 구성하는 도중에 발생하는 repository create error에 관한 원인 및 해결 방법을 제시합니다. Problem Description 다음은 emca를 구성하여 repository를 구성하려다가 실패하여 다시 drop하고 create 시에 이와 같은 ORA-20001 이라고 하는 SYSMAN user가 이미 존재한다고 하는 에러에 대한 해결방법입니다. emca -deconfi