Need help in resolving the below error - SQL statement to execute cannot be

Here is my CO as below , which creates a callable statement.
try {
OAApplicationModule oaapplicationmodule = pageContext.getApplicationModule(webBean);
OADBTransactionImpl t = (OADBTransactionImpl)oaapplicationmodule.getOADBTransaction();
OracleCallableStatement proc = (OracleCallableStatement)t.createCallableStatement(lquery, -1);
proc.execute();
t.commit();
catch(SQLException sqlexception)
throw OAException.wrapperException(sqlexception);
After running the page , getting the below error ... ( Please find the below error stack )
I reffered the developement guide but did not get helpful things.
Please provide me any clues on the same.
Regards Raghu
-- Error Stack ---------------------------------------------------------
Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27123: SQL error during call statement preparation. Statement: null
     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
     at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
     at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
     at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2637)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
     at OA.jspService(OA.jsp:40)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
     at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: SQL statement to execute cannot be empty or null
     at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
     at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
     at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
     at oracle.jdbc.driver.OracleConnection.privatePrepareCall(OracleConnection.java:1138)
     at oracle.jdbc.driver.OracleConnection.prepareCall(OracleConnection.java:1054)
     at oracle.jbo.server.DBTransactionImpl.createCallableStatement(DBTransactionImpl.java:3033)
     at cisco.oracle.apps.xxchr.element.server.webui.XXCHRElementSetSearchCO.processFormRequest(XXCHRElementSetSearchCO.java:343)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
     at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
     at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
     at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
     at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
     at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
     at OA.jspService(OA.jsp:40)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
     at java.lang.Thread.run(Thread.java:534)
java.sql.SQLException: SQL statement to execute cannot be empty or null
     at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
     at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
     at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
     at oracle.jdbc.driver.OracleConnection.privatePrepareCall(OracleConnection.java:1138)
     at oracle.jdbc.driver.OracleConnection.prepareCall(OracleConnection.java:1054)
     at oracle.jbo.server.DBTransactionImpl.createCallableStatement(DBTransactionImpl.java:3033)
     at cisco.oracle.apps.xxchr.element.server.webui.XXCHRElementSetSearchCO.processFormRequest(XXCHRElementSetSearchCO.java:343)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
     at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
     at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
     at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
     at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
     at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
     at OA.jspService(OA.jsp:40)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
     at java.lang.Thread.run(Thread.java:534)
Edited by: Raghu on Sep 14, 2010 2:58 AM

check the code pasted by me again
Connection conn = pageContext.getApplicationModule(webBean).getOADBTransaction().getJdbcConnection();
Connection conn = oaapplicationmodule.getOADBTransaction().getJdbcConnection(); //Right oneThanks
--Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • I need help getting past the installation error "windows cannot fint TEMP file"

    I need help getting past the installation error "windows cannot find TEMP file"

    Seems like some who have tried two devices on the JMICRON IDE port have had trouble. Try without the hard drive and see if you get that error. If that is the case I would try a PATA to SATA converter for your hard drive and connect it to one of the Intel SATA Ports.
    http://www.newegg.com/Product/Product.aspx?Item=N82E16812107112
    http://www.amazon.com/ADDONICS-IDE-SERIAL-CONVERTER-ADIDESA/dp/B000090169
    http://www.compusa.com/products/product_info.asp?product_code=339900#ts
    http://www.xpcgear.com/ide2sata.html
    http://www.ubuyitdirect.com/-p-1045.html?currency=USD
    http://www.satasite.com/sata-ide-converter.htm
    http://www.pcgears.com/default.aspx?oid=187150
     

  • Please help me on the below error code.

    Hi All,
    Good evening. Can any one help me on the below error
    What is the route cause for that n what is the solution?
    ORA-27101: shared memory realm does not exist. "
    Regards,
    GR

    What is the route cause for that "Error ORA-27101 is reporting that the shared memory key generated by the client does not match any currently existing keys. This is to be expected if the ORACLE_HOME or ORACLE_SID used by the client is not the same as that used when starting up the database."
    n what is the solution?That depends on the type of your connection.
    You should probably check your listener.ora and make sure your ORACLE_HOME is set properly.
    See Metalink Doc Id 122183.1

  • Error Posting IDOC: need help in understanding the following error

    Hi ALL
    Can you please, help me understand the following error encountered while the message was trying to post a IDOC.
    where SAP_050 is the RFC destination created to post IDOCs
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>FM NLS_GET_LANGU_CP_TAB: Could not determine code page with SAP_050 Operation successfully executed FM NLS_GET_LANGU_CP_TAB</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error: FM NLS_GET_LANGU_CP_TAB: Could not determine code page with SAP_050 Operation successfully executed FM NLS_GET_LANGU_CP_TAB</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Your help is greatly appreciated.............Thank you!

    Hi Patrick,
      Check the authorizations assigned to the user which you used in the RFC destinations, If there is no enough authorizations then it is not possible to post the idocs.
    Also Refer this Note 747322
    Regards,
    Prakash

  • Need help getting around the following error: JBO-27101: Attempt to access dead entity in EO.

    Hi everyone,
    My logic in prepareForDML() updates some attributes (shown in the snippet below) based on whether an insert or update is taking place. But, when I delete a line, I get the following error: JBO-27101: Attempt to access dead entity in EO. So far, I have not been able to catch this error.
            if (operation == DML_INSERT) {
                setLineId((new SequenceImpl("eo_s",
                                            getDBTransaction()).getSequenceNumber()));
                setCreatedBy(createdBy);
                setCreationDate(currentDateAndTime);
                setLastUpdatedBy(lastUpdatedBy);
                setLastUpdateDate(currentDateAndTime);
            } else if (operation == DML_UPDATE) {
                setLastUpdatedBy(lastUpdatedBy);
                setLastUpdateDate(currentDateAndTime);
    Any advice would be appreciated. Thanks!
    James

    Hi Timo,
    Thanks for responding. Whenever I delete a line and commit, I get the error. And, since inserts and updates are all that I am interested in, I did not think that I needed deletion logic. The VO contains several EOs, but all are reference EOs that cannot be updated except for the main EO.
    Here is the entire prepareForDML() method:
        protected void prepareForDML(int operation, TransactionEvent e) {
            // BEGIN Initial Version
            // Using prepareForDML is a best practice (versus doDML).
            ApplicationModule am;
            boolean lineIsValid;
            byte entityState;
            byte postState;
            Date currentDateAndTime;
            Date weekEndingDate;
            Number createdBy;
            Number lastUpdatedBy;
            String amConfiguration;
            String amDefinition;
            String entityStateText;
            String operationText;
            String postStateText;
            ServicesAMImpl servicesAMImpl;
            Timestamp timeStamp;
            // amDefinition = "com.model.services.ServicesAM";
            // amConfiguration = "ServicesAMLocal";
            // am = Configuration.createRootApplicationModule(amDefinition, amConfiguration);
            createdBy = new Number(-1); // TODO fnd_profile.value('USERNAME')
            entityState = getEntityState();      
            entityStateText = null;
            operationText = null;
            postState = getPostState();
            postStateText = null;
            lastUpdatedBy =
                    new Number(-1); // TODO fnd_profile.value('USERNAME'); is there a last login id?
            // servicesAMImpl = (ServicesAMImpl)am;
            // lineIsValid = servicesAMImpl.callValidateLineProcedure(getBillable());
            timeStamp = new Timestamp(System.currentTimeMillis());
            currentDateAndTime = new Date(timeStamp);
            // TODO Should weekEndingDate be in the callValidateLineProcedure()?
            weekEndingDate =
                    commonCode.nextDay(getActivityDate(), Calendar.THURSDAY);
            setWeekEndingDate(weekEndingDate);
            // TODO See https://community.oracle.com/message/9542286?tstart=14.
            // if (entityState != Entity.STATUS_DELETED & entityState != Entity.STATUS_DEAD)...
            System.err.println("prepareForDML - getLineId: " + getLineId());
            switch (operation) {
            case DML_DELETE:
                operationText = "Delete";
                break;
            case DML_INSERT:
                operationText = "Insert";
                break;
            case DML_UPDATE:
                operationText = "Update";
                break;
            System.err.println("prepareForDML - operationText: " +
                               operationText); // TODO
            // System.out.println("prepareForDML - operationText: " + operationText); // TODO
            switch (entityState) {
            case Entity.STATUS_INITIALIZED:
                entityStateText = "Initialized";
                break;
                // Don't do anything.
            case Entity.STATUS_UNMODIFIED:
                entityStateText = "Un-Modified";
                break;
                // Don't do anything.
            case Entity.STATUS_DEAD:
                entityStateText = "Dead";
                break;
                // Don't do anything.
            case Entity.STATUS_DELETED:
                entityStateText = "Deleted";
                break;
                // entity.revert();
                // entity.refresh(Entity.REFRESH_CONTAINEES);
            case Entity.STATUS_MODIFIED:
                entityStateText = "Modified";
                break;
                // entity.refresh(Entity.REFRESH_UNDO_CHANGES);
            case Entity.STATUS_NEW:
                entityStateText = "New";
                break;
                // entity.refresh(Entity.REFRESH_FORGET_NEW_ROWS);
                // entity.refresh(Entity.REFRESH_REMOVE_NEW_ROWS);
            default:
                entityStateText = String.valueOf(entityState);
            System.err.println("prepareForDML - entityStateText: " +
                               entityStateText);
            switch (postState) {
            case Entity.STATUS_INITIALIZED:
                postStateText = "Initialized";
                break;
                // Don't do anything.
            case Entity.STATUS_UNMODIFIED:
                postStateText = "Un-Modified";
                break;
                // Don't do anything.
            case Entity.STATUS_DEAD:
                postStateText = "Dead";
                break;
                // Don't do anything.
            case Entity.STATUS_DELETED:
                postStateText = "Deleted";
                break;
                // entity.revert();
                // entity.refresh(Entity.REFRESH_CONTAINEES);
            case Entity.STATUS_MODIFIED:
                postStateText = "Modified";
                break;
                // entity.refresh(Entity.REFRESH_UNDO_CHANGES);
            case Entity.STATUS_NEW:
                postStateText = "New";
                break;
                // entity.refresh(Entity.REFRESH_FORGET_NEW_ROWS);
                // entity.refresh(Entity.REFRESH_REMOVE_NEW_ROWS);
            default:
                postStateText = String.valueOf(postState);
            System.err.println("prepareForDML - postStateText: " + postStateText);
            // DeadEntityAccessException
            if (operation == DML_INSERT) {
                setLineId((new SequenceImpl("eo_s",
                                            getDBTransaction()).getSequenceNumber()));
                setCreatedBy(createdBy);
                setCreationDate(currentDateAndTime);
                setLastUpdatedBy(lastUpdatedBy);
                setLastUpdateDate(currentDateAndTime);
            } else if (operation == DML_UPDATE) {
                setLastUpdatedBy(lastUpdatedBy);
                setLastUpdateDate(currentDateAndTime);
            // Configuration.releaseRootApplicationModule(am, true);
            // END Initial Version
            super.prepareForDML(operation, e);
    Here is the entire doDML() method:
        protected void doDML(int operation, TransactionEvent e) {
            // BEGIN Initial Version
            // This logic is for troubleshooting only.
            String operationText;
            operationText = null;
            switch (operation) {
            case DML_DELETE:
                operationText = "Delete";
                break;
            case DML_INSERT:
                operationText = "Insert";
                break;
            case DML_UPDATE:
                operationText = "Update";
                break;
            System.err.println("doDML - operationText: " + operationText); // TODO
            // System.out.println("doDML - operationText: " + operationText); // TODO
            // END Initial Version
            super.doDML(operation, e);
    James

  • Need Help in Getting the below output

    Hi All,
    The below is the table data.
    col1     col2     col3     col4     col5     col6
    Aa     1     Con     100     10     -1
    Ba     2     Cam     50     2     33
    Aa     1     Con     200     20     -2
    Ca     3     val     2     5     -10
    Aa     1     Con     150     30     -3
    Ba     2     Cam     20     3     11
    Ca     3     val     3     5     -20
    Ba     2     Cam     30     5     22
    Ca     3     val     5     4     -30
    I need the output as below. Please help me in getting the output.
    col1     col2     col3     col4     col5     col6
    Aa     1     Con     100     10     -1
    Aa     1     Con     200     20     -2
    Aa     1     Con     150     30     -3
    Aa-Con Subtotal          450     60     -6
    Ba     2     Cam     20     3     11
    Ba     2     Cam     30     5     22
    Ba     2     Cam     50     2     33
    Ba-Cam Subtotal          100     10     66
    Ca     3     val     2     5     -10
    Ca     3     val     3     5     -20
    Ca     3     val     5     4     -30
    Ca-val Subtotal          10     14     -60
    I am using Oracle 10g. Let me know if other details required.
    Thanks in Advance.
    Regards,
    Ravi Kumar Ankarapu.

    You can try using ROLLUP and GROUPING SETS like how some of the other forum members have suggested. Another way of getting the desired output would be :
    with t as
    select 'Aa' col1, 1 col2, 'Con' col3, 100 col4, 10 col5, -1 col6 from dual
    union all
    select 'Ba', 2, 'Cam', 50, 2, 33 from dual
    union all
    select 'Aa', 1, 'Con', 200, 20, -2 from dual
    union all
    select 'Ca', 3, 'val', 2, 5, -10 from dual
    union all
    select 'Aa', 1, 'Con', 150, 30, -3 from dual
    union all
    select 'Ba', 2, 'Cam', 20, 3, 11 from dual
    union all
    select 'Ca', 3 ,'val', 3, 5, -20 from dual
    union all
    select 'Ba', 2, 'Cam', 30, 5, 22 from dual
    union all
    select 'Ca', 3, 'val', 5, 4, -30 from dual
    select * from
        select * from t
        union all
        select distinct * from
            select col1 || '-' || col3 || ' Sub-total' col1, null col2, null col3,
            sum(col4) over (partition by col1 order by col1) col4,
            sum(col5) over (partition by col1 order by col1) col5,
            sum(col6) over (partition by col1 order by col1) col6
            from t
    order by col1, col2, col3
    Output:
    "COL1"     "COL2"     "COL3"     "COL4"     "COL5"     "COL6"
    "Aa"     "1"     "Con"     "150"     "30"     "-3"
    "Aa"     "1"     "Con"     "100"     "10"     "-1"
    "Aa"     "1"     "Con"     "200"     "20"     "-2"
    "Aa-Con Sub-total"     ""     ""     "450"     "60"     "-6"
    "Ba"     "2"     "Cam"     "50"     "2"     "33"
    "Ba"     "2"     "Cam"     "20"     "3"     "11"
    "Ba"     "2"     "Cam"     "30"     "5"     "22"
    "Ba-Cam Sub-total"     ""     ""     "100"     "10"     "66"
    "Ca"     "3"     "val"     "5"     "4"     "-30"
    "Ca"     "3"     "val"     "2"     "5"     "-10"
    "Ca"     "3"     "val"     "3"     "5"     "-20"
    "Ca-val Sub-total"     ""     ""     "10"     "14"     "-60"

  • Need help in resolving ORA-06502: PL/SQL: related to WF objects

    Hi,
    We are getting the following error "Oracle error -6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small has been detected in FND_USER_RESP_GROUPS_API.UPDATE_ASSIGNMENT" when we add a new user or make changes to the existing user or anything associated with Workflow process. We have an SR open for over a week, but no resolution yet...!
    We ran autoconfig few times, complied Invalid objects etc ...but no luck!
    This is ERP 11.5.10.2 on Red Hat Linux 4.0 on a 2-node RAC cluster and 2-node Apps Cluster (PCP) ---; thanks in advance..!
    Subroto

    Did this work successfully before ? If so, what has changed ? Can this error be reproduced consistently on all instances ? Can you pl provide the navigation path to reproduce the error ?
    Are you using the Internal Controls Manager module ? If so, MOS Doc 456950.1 (Preventive Segregation of Duties Constraints On Users Form Fails With Ora-6512, Ora-4088) may help.
    HTH
    Srini

  • Need help to solve the following error

    Hi, I m using JDBC driver for sql server 2000 in the program and when i get online it will hv the following error:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:193)
         at Login.<init>(Login.java:26)
         at Login.main(Login.java:196)
    Exception in thread "main" Exit code: 1
    There were errors
    Can anyone help me to solve it? Thank you!

    Doesnt look like a java problem, rather a SQLServer setup problem - java can't connect.
    :1433 is the default remote access port for MS SQLServer... so you should be right there.
    1) Make sure SQLServer is set up for remote access
    2) Dunno whats going on with the server name. it looks... odd. Try specifying the IP address of the server rather than the hostname
    3) Just a final stab-in-the-dark thought.... but you mentioned it works when not connected to the internet, but not when you are connected.... could you be running a firewall (that starts when you connect to the net) that is blocking access through port 1433?

  • Can any one please help me resolving the following error while accessing online lync meeting portal

    When I am  try to access the Join
    Online Meeting link in a meeting portal in Lync Online, I am receiving the above of the following error messages in Microsoft Internet Explorer or Chrome browser.
    Can any one please suggest me how to overcome this issue.
    Thanks in advance
    Kiran Marri

    Hi,
    Did the issue happen only for you or for multiple users?
    You will need a valid conference for the URL to work. Please check if you did any typo for the URL. For example, in the format:
    https://meet.contoso.com/username/confID
    You can try to schedule a new conference from Outlook, check if the full URL like the example above and try to use this URL to join meeting.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Need help on how to code this SQL statement! (one key has leading zeros)

    Good day, everyone!
    First of all, I apologize if this isn't the best forum.  I thought of putting it in the SAP Oracle database forum, but the messages there seemed to be geared outside of ABAP SELECTs and programming.  Here's my question:
    I would like to join the tables FMIFIIT and AUFK.  The INNER JOIN will be done between FMIFIIT's MEASURE (Funded Program) field, which is char(24), and AUFK's AUFNR (Order Number) field, which is char(12).
    The problem I'm having is this:  All of the values in AUFNR are preceeded by two zeros.  For example, if I have a MEASURE value of '5200000017', the corresponding value in AUFNR is '005200000017'.  Because I have my SQL statement coded to just match the two fields, I obviously get no records returned because, I assume, of those leading zeros.
    Unfortunately, I don't have a lot of experience coding SQL, so I'm not sure how to resolve this.
    Please help!  As always, I will award points to ALL helpful responses!
    Thanks!!
    Dave

    >
    Dave Packard wrote:
    > Good day, everyone!
    > I would like to join the tables FMIFIIT and AUFK.  The INNER JOIN will be done between FMIFIIT's MEASURE (Funded Program) field, which is char(24), and AUFK's AUFNR (Order Number) field, which is char(12).
    >
    > The problem I'm having is this:  All of the values in AUFNR are preceeded by two zeros.  For example, if I have a MEASURE value of '5200000017', the corresponding value in AUFNR is '005200000017'.  Because I have my SQL statement coded to just match the two fields, I obviously get no records returned because, I assume, of those leading zeros.
    > Dave
    You can't do a join like this in SAP's open SQL.  You could do it in real SQL ie EXEC.... ENDEXEC by using SUSBTR to strip off the leading zeros from AUFNR but this would not be a good idea because a)  modifying a column in the WHERE clause will stop any index on that column being used and b) using real SQL rather than open SQL is really not something that should be encouraged for database portability reasons etc. 
    Forget about a database join and do it in two stages; get your AUFK data into an itab, strip off the leading zeros, and then use FAE to get the FMIFIIT data (or do it the other way round). 
    I do hope you've got an index on your FMIFIIT MEASURE field (we don't have one here); otherwise your SELECT could be slow if the table holds a lot of data.

  • Need help on resolving the issue with adobe output server - error MSG256 & MSG 210 not in .ini file

    Hi,
    I am using adobe output designer 5.5 for designing the label template and using the Adobe output server for printing process.
    In the Jfmerge.ini we given the condition "DiscardUnknownFields=Yes" for ignoring the unwanted fields in the .dat file.
    During the process, I faced some issue with the output server in printing the labels.
    When the .dat file is placed in the Data folder of adobe, the label is not getting printed in the printer.
    The file is move to the error folder and an error file is getting generated which contains the error message as given below:
    090826 02:59:02 D:\Program Files\Adobe\Central\Bin\jfmerge: [256]** Message Msg256 not in .ini file **
    090826 02:59:02 D:\Program Files\Adobe\Central\Bin\jfmerge: [210]** Message Msg210 not in .ini file **
    2009/08/26 02:59:02 D:\Program Files\Adobe\Central\Bin\jfserver.exe: [314]Agent exit message: [210]** Message Msg210 not in .ini file **
    The output server is a new installtion and I verified the Jfmerge.ini file. It contains the message details of Msg256 and Msg210.
    I also verified the license and it is a valid licence.
    Kindly help me out in solving this issue.
    Thanks
    Senthil

    I assume this is too late to help you, but other might need a hint.  I had the same problem, and found some possible causes that I posted on http://codeznips.blogspot.com/2010/02/adobe-output-server-message-msg210-not.html.
    It is quite likely that you are missing some double quotes around the path specifying the ini file (-aii), if its installed under "Program Files".
    Hope this helps anyone....
    Vegard

  • Please help to resolve to below error

    HI all,
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01190: control file or data file 1 is from before the last RESETLOGS
    ORA-01110: data file 1: 'D:\ORACLE\SSCE\SSCRDEV\DATAFILES\SYS1SSCR.ORA'
    SQL> recover database using backup controlfile until cancel;
    ORA-00283: recovery session canceled due to errors
    ORA-19909: datafile 1 belongs to an orphan incarnation
    ORA-01110: data file 1: 'D:\ORACLE\SSCE\SSCRDEV\DATAFILES\SYS1SSCR.ORA'

    890306 wrote:
    HI all,
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01190: control file or data file 1 is from before the last RESETLOGS
    ORA-01110: data file 1: 'D:\ORACLE\SSCE\SSCRDEV\DATAFILES\SYS1SSCR.ORA'
    SQL> recover database using backup controlfile until cancel;
    ORA-00283: recovery session canceled due to errors
    ORA-19909: datafile 1 belongs to an orphan incarnation
    ORA-01110: data file 1: 'D:\ORACLE\SSCE\SSCRDEV\DATAFILES\SYS1SSCR.ORA'You seem to be in a predicament.
    provide recent historical details regarding what led up to current post above?
    do as below so we can know complete Oracle version & OS name.
    Post via COPY & PASTE complete results of
    SELECT * from v$version;

  • Need help to resolve the issue for DW4

    when i set up my manage site using php and mysql local server environment it give me an erro saying unidentified error has occur. then when i do them manually i get the connection but my table list do not show at all on my db connection listings.
    Any idea how to go about in fixing this issue! i am stuck and cannot develep a web apps that i wanted to develop!

    No, it's YOUR FAULT for not knowing after 25 years into the personal computer age that things sometimes go wrong and computers crash, which is why it is essential to keep backups of anything important. As you did not keep backups obviously you didn't think anything on your phone was important.

  • Need help to resolve the Date time issue(Urgent)

    Hello All,
    I am running simple code as follows, to get the date and time. getting difference in 2 environment. Our both environment of AIX.
    import java.io.PrintStream;
    import java.util.Calendar;
    public class DateTest
    public DateTest()
    public static void main(String args[])
    java.util.Date now = Calendar.getInstance().getTime();
    System.out.println((new StringBuilder("Calendar.getInstance
    ().getTime():")).append(now).toString());
    Problematics environment gives following o/p
    bash-4.0$ java -cp . DateTest
    Calendar.getInstance().getTime():Wed Feb 03 00:59:40 EST 2010
    bash-4.0$ date
    Wed Feb  3 05:59:42 EST 2010
    bash-4.0$
    In another enviornment gives proepr o/p
    bash-4.0$ java -cp . DateTest
    Calendar.getInstance().getTime():Wed Feb 03 05:01:45 GMT-05:00 2010
    bash-4.0$ date
    Wed Feb 3 05:01:48 CST 2010
    can some one help me out in this...............

    What were the results of your investigations based on the pointers you got from [your earlier thread|http://forums.sun.com/thread.jspa?threadID=5423811] ?

  • APP-ALR-04106: Please correct the user-defined SQL statement for this alert

    Hi All,
    I have created an alert for engineering module in R12. It got tested and was working fine. when the user testing it, while trigger the alert getting the error, "APP-ALR-04106: Please correct the user-defined SQL statement for this alert".
    when verified the alert, it got verified and ran also. It parsed the query successfully and when run it fetched few records.
    Need help in resolving the issue.
    Thanks in advance.
    Regards,
    sri
    Edited by: user10939296 on Jan 18, 2010 1:16 AM

    Hi Sri;
    I have already gone through the Note: 948037.1. But this note is related to 11i. The solution provided in the Note is for 11i.
    I am facing this issue in R12. Is this patch applicable to R12?I belive its not. But u can check Solution part 4 for your instance, at least it can give you idea. The other note in metalink related bug and all for R11 too.
    I belive its better way to rise Sr while waiting other forum user response to that thread
    Regard
    Helios

Maybe you are looking for