Raise exception when call dbms_debug.get_value

create or replace procedure aaa
is
a in integer;
b binary_integer;
c varchar2(200);
begin
a := 1;
b := dbms_debug.get_value('a', 0, c, null);
dbms_output.put_line('return = ' || b);
if b = dbms_debug.error_bogus_frame then
c := 'Frame does not exist';
elsif b = dbms_debug.error_no_debug_info then
c := 'Entrypoint has no debug information';
elsif b = dbms_debug.error_no_such_object then
c := 'variable_name does not exist in frame#';
elsif b = dbms_debug.error_unknown_type then
c := 'The type information in the debug information is illegible';
elsif b = dbms_debug.error_nullvalue then
c := 'Value is NULL';
elsif b = dbms_debug.error_indexed_table then
c := 'The object is a table, but no index was provided';
elsif b = dbms_debug.error_exception then
c := 'exception inside Probe';
end if;
dbms_output.put_line('value = ' || c);
end;
after i call 'execute aaa;', the sqlplusw output
return = 28
value = exception inside Probe
Thanks!

Hi,
I could recollect same kind of issue in our system. In production system we were facing a short dump. however not in Development and quality.
Is it the same issue with you?
If yes. please check the single selections consistency in development & production.
thanks
Kamal

Similar Messages

  • MSS - Business Event Details - Error Unexpected Exception when Calling RFC

    Dear Experts,
    Manager is getting the Error "Unexpected Exception when Calling RFC from Profile Application 'Business Event' when he tries to get the Training history of ONE employee in MSS. However, he is getting the details for the other employees of his department.
    Any inputs on this?
    Thank you.

    I believe it is our custom iView that is incorrect.

  • Raise Exception when execute UCMON

    Dear all,
    I need help. When we execute the transaction UCMON we have a Dump.
    Erro tpo.exec.         RAISE_EXCEPTION
    Data e hora            31.01.2011 17:44:30
    Dump breve ABAP não está complet.gravado (demas.extenso)
    TxtBreve
         Exception condition "NOT_FOUND" raised.
    O que aconteceu ?
         The current ABAP/4 program encountered an unexpected
         situation.
    O que pode ser feito?
         Print out the error message (using the "Print" function)
         and make a note of the actions and input that caused the
         error.
         To resolve the problem, contact your SAP system administrator.
         You can use transaction ST22 (ABAP Dump Analysis) to view and administer
          termination messages, especially those beyond their normal deletion
         date.
         is especially useful if you want to keep a particular message.
    Análise do erro
         A RAISE statement in the program "CL_UC_METHOD==================CP" raised the
          exception
         condition "NOT_FOUND".
         Since the exception was not intercepted by a superior program
         in the hierarchy, processing was terminated.
         Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
    as p/eliminação de erros
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system you
    use the following search criteria:
    "RAISE_EXCEPTION" C
    "CL_UC_METHOD==================CP" or "CL_UC_METHOD==============
    "CREATE_ACCOUNT"
    or
    "CL_UC_METHOD==================CP" "NOT_FOUND"
    or
    "UCUWB000 " "NOT_FOUND"
    If you cannot solve the problem yourself and you wish to send
    an error message to SAP, include the following documents:
    1. A printout of the problem description (short dump)
        To obtain this, select in the current display "System->List->
        Save->Local File (unconverted)".
    2. A suitable printout of the system log
        To obtain this, call the system log through transaction SM21.
        Limit the time interval to 10 minutes before and 5 minutes
          after the short dump. In the display, then select the function
          "System->List->Save->Local File (unconverted)".
       3. If the programs are your own programs or modified SAP programs,
          supply the source code.
          To do this, select the Editor function "Further Utilities->
          Upload/Download->Download".
       4. Details regarding the conditions under which the error occurred
          or which actions and input led to the error.
    Ambiente de sistema
       SAP Release.............. "640"
       Application server....... "cpsapbwp01"
       Network address.......... "172.16.21.222"
       Operating system......... "Linux"
       Release.................. "2.6.18-238.1.1.el5"
       Hardware type............ "x86_64"
       Character length......... 16 Bits
       Pointer length........... 64 Bits
       Work process number...... 2
       Short dump setting....... "full"
       Database server.......... "bwdb"
       Database type............ "ORACLE"
       Database name............ "BWP"
       Database owner........... "SAPCSB"
       Character set............ "C"
       SAP kernel............... "640"
       Created on............... "May 2 2010 20:07:20"
    Created in............... "Linux GNU SLES-10 x86_64 cc4.1.2"
    Database version......... "OCI_102 "
    Patch level.............. "327"
    Patch text............... " "
    Supported environment....
    Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
      10.2.0.."
    SAP database version..... "640"
    Operating system......... "Linux 2.6"
    Memory usage.............
    Roll..................... 16192
    EM....................... 29328992
    Heap..................... 0
    Page..................... 65536
    MM Used.................. 23444056
    MM Free.................. 1691488
    SAP Release.............. "640"
    Usuário e transação
        Client.............. 600
        User................ "CS096152"
        Language key........ "P"
        Transaction......... "UCWB_INT "
        Program............. "CL_UC_METHOD==================CP"
        Screen.............. "SAPLUCUM_00 1000"
        Screen line......... 3
    Infos p/ponto de cancelamento
        The termination occurred in the ABAP program "CL_UC_METHOD==================CP"
         in "CREATE_ACCOUNT".
        The main program was "UCUWB000 ".
        The termination occurred in line 27 of the source code of the (Include)
         program "CL_UC_METHOD==================CM009"
        of the source code of program "CL_UC_METHOD==================CM009" (when
         calling the editor 270).
    Segmento texto fonte
    Linha Txt.fonte
        1 * bal080305 090305 826099 pass exception not_found to caller
        2 method CREATE_ACCOUNT .
        3
        4   data:
        5     lo_instance type ref to if_uc_cust_data,
        6     lo_account  type ref to cl_uc_account.
        7
        8   clear: eo_account, e_accid.                                 "bal080305
        9
       10   if do_account_factory is initial.
       11     do_account_factory = do_factory->get_account_factory( ).
       12   endif.
       13
       14   if i_accid is initial.
       15     call method do_account_factory->create
       16       exporting io_model    = do_model
       17       importing eo_instance = lo_instance.
       18     call method lo_instance->get_guid
       19       importing e_guid = e_accid.
       20   else.
       21     call method do_account_factory->get_instance_by_guid
       22       exporting io_model    = do_model
       23                 i_guid      = i_accid
       24       importing eo_instance = lo_instance
       25       exceptions not_found  = 1.                        "begin bal080305
       26     if not sy-subrc is initial.
    >>>>>       raise not_found.
       28     endif.                                                "end bal080305
       29     e_accid = i_accid.
       30   endif.
       31   call method lo_instance->set_ffix( dt_ffix ).
       32
       33   if if_stm_timestamp = gc_true.
       34     lo_account ?= lo_instance.
       35     call method lo_account->set_task_stm_timestamp( gc_true ).
       36   endif.
       37
       38   eo_account ?= lo_instance.
       39
       40 endmethod.   31   call method lo_instance->set_ffix( dt_ffix ).
    What happens?
    Thanks a lot
    Marilia Costa

    Hi,
    I could recollect same kind of issue in our system. In production system we were facing a short dump. however not in Development and quality.
    Is it the same issue with you?
    If yes. please check the single selections consistency in development & production.
    thanks
    Kamal

  • Raise exception when the user entered value is not present

    Hello Abap experts,
    To raise an exception in the function module when the imported variable value is not presnt in the table.
    import variable: cust_name.
    how to define a exception for this raise it in the code. any examples and suggestions.
    Thanks,
    BWer

    Here is the F1 help on RAISE.
    <i>
    RAISE
    Basic form 1
    RAISE except.
    Effect
    This statement is only effective in function modules and methods.
    It triggers the exception except.
    If the exception is to be handled by the caller of the function module or method ( CALL FUNCTION or CALL METHOD ), the system passes control straight back to the caller. EXPORT parameters of a function module or method are not filled. The EXPORTING, CHANGING, and RETURNING parameters of a function module or method are only filled with the current values if they were defined to be passed by reference. reference).If they are defined to be passed by value, they are not filled.
    If the exception is not handled by the caller, the program terminates with an appropriate error message.
    Example
    Let there be a function module STRING_SPLIT containing the following code (see also the example in the documentation of the CALL FUNCTION statement):</i>
    <b>FUNCTION-POOL CSTR.
    FUNCTION STRING_SPLIT.
      IF STRING NA DELIMITER.
        RAISE NOT_FOUND.
      ENDIF.
    ENDFUNCTION.</b>
    The calling program might then contain the following:
    <b>PROGRAM EXAMPLE.
    CALL FUNCTION 'STRING_SPLIT'
         EXCEPTIONS
              NOT_FOUND = 7.
    IF SY-SUBRC = 7.
      WRITE / 'There is a problem.'.
    ELSE.
    ENDIF.</b>
    <i>
    If the NOT_FOUND exception is raised in a RAISE statement in the function module STRING_SPLIT, the system exits the function module and returns control to the calling program. The return code, which you should evaluate directly after the CALL FUNCTION statement, now contains the value 7.
    Note
    Runtime errors:
    RAISE_EXCEPTION: The caller did not handle the exception that was triggered.
    Related
    MESSAGE ... RAISING
    Additional help
    Creating Function Modules
    </i>
    Regards,
    Rich Heilman

  • NO_PERMISSION Exception when calling secured EJB-methods

    In WL6.1, I have an Ejb with secured methods. The (Swing) client application accesses the Ejb through rmi-iiop using the JDK1.3.1 Orb.
    Unfortunately, it seems that the caller identity (which was supplied in the InitialContext lookup) is not propagated
    to the server: any call to a secured method
    fails with a CORBA NO_PERMISSION Exception.
    Non secured methods work fine.
    Using the t3 protocol the program also works fine, but that would require
    the 25Mb weblogic.jar on all clients,
    which is unattainable for us.
    Any ideas how this situation can be corrected?
    -Allard Siemelink

    I am still getting the NO_PERMISSION Exception when using "weblogic.jndi.WLInitialContextFactory".
    We use Sun's JRE, version 1.3.1_01.
    Am I forgetting something?
    My code is as follows:
    InitialContext context = null;
    try {
    Hashtable ht = new Hashtable();
    ht.put(InitialContext.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(InitialContext.PROVIDER_URL, "iiop://localhost:80");
    ht.put(InitialContext.SECURITY_PRINCIPAL, "system");
    ht.put(InitialContext.SECURITY_CREDENTIALS, "system_password");
    context = new InitialContext(ht);
    Object objHome = context.lookup(EJB_NAME);
    MyHome myHome = (MyHome)PortableRemoteObject.narrow(objHome, MyHome.class);
    MyRemote myRemote = myHome.create();
    //NEXT LINE Crashes when method is secured:
    myRemote.securedMethod();
    finally {
    if (context!=null) context.close();
    Andy Piper <[email protected]> wrote:
    Allard Siemelink <[email protected]> writes:
    In WL6.1, I have an Ejb with secured methods. The (Swing) client applicationaccesses the Ejb through rmi-iiop using the JDK1.3.1 Orb.
    Unfortunately, it seems that the caller identity (which was suppliedin the InitialContext lookup) is not propagated
    to the server: any call to a secured method
    fails with a CORBA NO_PERMISSION Exception.Make sure you are using WLInitialContextFactory and not
    CNCtxFactory. Only the former will give you security.
    andy

  • Exception when calling SOAP Lookup-API async

    Hello,
    i'm calling a SOAP-Comunication Channel (Lookup-API) out of my MessageMapping. The WebService Called is <u>asynchron</u> because i just send some data and i don't care about the result. The WebService itselfs is implemented on our XI. In other words: we call us self.
    In order to call my WebService asynchronous, i added <i>&QualityOfService=ExactlyOnce</i> at the end of the URL. The SOAP-Action is:
    <i>http://sap.com/xi/WebService/soap1.1</i>
    The problem is: the WebService works perfekt! But: in my mapping i get
    nevertheless the following exception:
    Errorcom.sap.aii.mapping.lookup.LookupException: Exception during processing the payload.Problem when calling an adapter by using communication channel SOAP_Receiver_SetIdocStatusAsync (Party: , Service: SetIdocStatus, Object ID: f6b1ce38e9fa332cba4eb1a6f0a3e17f) null com.sap.aii.mapping.lookup.LookupException: Problem when calling an adapter by using communication channel SOAP_Receiver_SetIdocStatusAsync (Party: , Service: SetIdocStatus, Object ID: f6b1ce38e9fa332cba4eb1a6f0a3e17f) null at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.process(AdapterProxyLocal.java:96) at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.call(SystemAccessorInternal.java:47) at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:141) at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:74) at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169) at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:296) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211) at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) 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:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Root Cause: com.sap.aii.af.service.api.AFException at com.sap.aii.af.service.api.AdapterAccess.call(AdapterAccess.java:122) at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.process(AdapterProxyLocal.java:87) at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.call(SystemAccessorInternal.java:47) at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:141) at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:74) at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169) at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:296) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211) at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) 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:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

    The problem is: i don't know how to check for the HTTP-Header, because
    my call
    <i>SOAPOutPayload = accessor.call(payload);</i>
    throws the mentioned exception, even though it works behind the scene.
    Is it possible to check for the HTTP-Response-Code in the catch block?
    We want to avoid an synchronous scenario because we don't need the result and the WebService is rather slow.

  • Netweaver throwing following exception when calling the ProductionOrder WS

    Hi,
    when calling the ProductionOrder web service I get the following exception from the system:
    nested exception is: com.sap.engine.services.ts.exceptions.BaseSystemException: Exception ( SAP J2EE Engine JTA Transaction : [0ffffffaa60fffffffe00103e] ) in rollback.
    The system was migrated from Netweaver CE 7.1 SP4 to SP5 before the error started to occur.
    Any ideas how to fix this? Start/Stopping ME didn't do the trick.
    Kind Regards,
    Christoph Mertins

    Yes the stack trace is:
    System exception 
    [EXCEPTION]
    javax.ejb.EJBException: nested exception is: com.sap.engine.services.ts.exceptions.BaseSystemException: Exception ( SAP J2EE Engine JTA Transaction : [0ffffffaa60fffffffe0013ffffffb6] ) in rollback.
    com.sap.engine.services.ts.exceptions.BaseSystemException: Exception ( SAP J2EE Engine JTA Transaction : [0ffffffaa60fffffffe0013ffffffb6] ) in rollback.
    at com.sap.engine.services.ts.jta.impl.TransactionImpl.rollback(TransactionImpl.java:921)
    at com.sap.engine.services.ts.jta.impl.TransactionManagerImpl.rollback(TransactionManagerImpl.java:486)
    at com.sap.engine.services.ejb3.runtime.impl.TransactionAttributeHandler$Required.error(TransactionAttributeHandler.java:296)
    at com.sap.engine.services.ejb3.runtime.impl.TransactionAttributeHandler$TransactionAttributeErrorsHandler.error(TransactionAttributeHandler.java:130)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:40)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    at $Proxy3782.create(Unknown Source)
    at com.sap.me.productdefinition.wserpimpl.productionOrder.ProductionOrderPersister.createOrUpdate(ProductionOrderPersister.java:133)
    at com.sap.me.productdefinition.wserpimpl.GenericVOServiceImpl.createOrUpdate(GenericVOServiceImpl.java:57)
    at com.sap.me.productdefinition.wserpimpl.productionOrder.ProductionOrderServiceHandlerAdapter.updateProductionOrder(ProductionOrderServiceHandlerAdapter.java:51)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at com.visiprise.frame.proxy.DefaultInterceptor.intercept(DefaultInterceptor.java:31)
    at com.visiprise.frame.proxy.InterceptorChain.process(InterceptorChain.java:48)
    at com.visiprise.frame.proxy.ProxyContext.process(ProxyContext.java:67)
    at com.visiprise.frame.proxy.AdviceInterceptor.intercept(AdviceInterceptor.java:45)
    at com.visiprise.frame.proxy.InterceptorChain.process(InterceptorChain.java:48)
    at com.visiprise.frame.proxy.GenericSOProxy.invoke(GenericSOProxy.java:81)
    at $Proxy3884.updateProductionOrder(Unknown Source)
    at com.sap.me.production.ws.ProductionOrderService.updateProductionOrder(ProductionOrderService.java:53)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at com.sap.engine.services.webservices.runtime.JavaClassImplementationContainer.invokeMethod(JavaClassImplementationContainer.java:96)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:525)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:494)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:260)
    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:178)
    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWithLogging(ServletDispatcherImpl.java:114)
    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:72)
    at com.sap.engine.services.webservices.servlet.SOAPServletExt.doPost(SOAPServletExt.java:90)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
    at com.sap.me.webservice.ClearServiceContextFilter.doFilter(ClearServiceContextFilter.java:28)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:461)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:397)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:83)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:243)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:327)
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException is thrown by the pooled connection: com.sap.sql.log.OpenSQLException: Connection object com.sap.sql.jdbc.vendor.VendorConnectionHandle@aa1bf8e has already been closed.
    at com.sap.engine.services.dbpool.spi.LocalTXManagedConnectionImpl.throwBaseResourceException(LocalTXManagedConnectionImpl.java:89)
    at com.sap.engine.services.dbpool.spi.LocalTXManagedConnectionImpl.rollback(LocalTXManagedConnectionImpl.java:389)
    at com.sap.engine.services.ts.jta.impl.TransactionImpl.rollback(TransactionImpl.java:813)
    ... 83 more
    Caused by: com.sap.sql.log.OpenSQLException: Connection object com.sap.sql.jdbc.vendor.VendorConnectionHandle@aa1bf8e has already been closed.
    at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:83)
    at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:122)
    at com.sap.sql.jdbc.vendor.VendorConnectionHandle.validate(VendorConnectionHandle.java:383)
    at com.sap.sql.jdbc.vendor.VendorConnectionHandle.setAutoCommit(VendorConnectionHandle.java:38)
    at com.sap.engine.services.dbpool.spi.LocalTXManagedConnectionImpl.rollback(LocalTXManagedConnectionImpl.java:386)
    ... 84 more

  • Raise Exception when Executing Native SQL

    Hi ALL,
                 when i am executing native sql, it raises following exception:
    CX_SY_NATIVE_SQL_ERROR
    code as shown below:
    REPORT  ZABC2.
    data:begin of ty_final occurs 0,
    vkorg type vbrk-vkorg,
    vtweg type vbrk-vtweg,
    spart type vbrp-spart,
    werks type vbrp-werks,
    fkart type vbrk-fkart,
    vbeln_invoice type vbrk-vbeln,
    matnr type vbrp-matnr,
    arktx type vbrp-arktx,
    fkimg type vbrp-fkimg,
    ntgew type vbrp-ntgew,
    mwsbp type vbrp-mwsbp,
    posnr type vbrp-posnr,
    vbeln type likp-vbeln,
    bldat type likp-bldat,
    erdat type likp-erdat,
    traid type likp-traid,
    ernam type likp-ernam,
    posnr_do type lips-posnr,
    vbeln_so type vbak-vbeln,
    audat_so type vbak-audat,
    erdat_so type vbak-erdat,
    ernam_so type vbak-ernam,
    posnr_so type vbap-posnr,
    vbeln_contract type vbak-vbeln,
    audat_contract type vbak-audat,
    erdat_contract type vbak-erdat,
    ernam_contract type vbak-ernam,
    vbtyp_contract type vbak-vbtyp,
    posnr_contract type vbap-posnr,
    end of ty_final.
    TRY.
    break-point.
    EXEC SQL .
    select
           i1.inv_vkorg,
           i1.inv_vtweg,
           i1.inv_spart,
           i1.inv_werks,
           i1.inv_fkart,
           i1.inv_vbeln,
           i1.inv_matnr,
           i1.inv_arktx,
           i1.inv_fkimg,
           i1.inv_ntgew,
           i1.inv_mwsbp
           i1.inv_posnr,
           d.do_vbeln,
           d.do_bldat,
           d.do_erdat,
           d.do_traid,
           d.do_ernam,
           d.do_posnr,
           s.so_vbeln,
           s.so_audat,
           s.so_erdat,
           s.so_ernam,
           s.so_posnr,
           c.co_vbeln,
           c.co_audat,
           c.co_erdat,
           c.co_ernam,
           c.co_vbtyp,
           c.co_posnr
    into :ty_final
    from (SELECT
    VBAK.VBELN co_vbeln,
    VBAK.AUDAT co_audat,
    VBAK.ERDAT co_erdat,
    VBAK.ERNAM co_ernam,
    VBAK.VBTYP co_vbtyp,
    VBAP.POSNR CO_POSNR
    FROM VBAK , VBAP
    WHERE VBAK.VBELN=vbap.vbeln
    and vbak.vbtyp='G') c,
    (SELECT
    vbak.vbeln so_vbeln,
    vbak.audat so_audat,
    vbak.erdat so_erdat,
    vbak.ernam so_ernam,
    vbap.posnr so_posnr
    FROM VBAK ,VBAP
    WHERE vbak.VBELN=vbap.vbeln
    and vbak.vbtyp='C') s,
    (SELECT
    likp.vbeln do_vbeln,
    likp.bldat do_bldat,
    likp.erdat do_erdat,
    likp.traid do_traid,
    likp.ernam do_ernam,
    lips.posnr do_posnr
    FROM    LIKP , LIPS
    WHERE likp.VBELN=lips.vbeln
    and likp.vbtyp='J'.
    ) d,
    (SELECT
    vbrk.vkorg  inv_vkorg,
    vbrk.vtweg  inv_vtweg,
    vbrp.spart  inv_spart,
    vbrp.werks  inv_werks,
    vbrk.fkart  inv_fkart,
    vbrk.vbeln  inv_vbeln,
    vbrp.matnr  inv_matnr,
    vbrp.arktx  inv_arktx,
    vbrp.fkimg  inv_fkimg,
    vbrp.ntgew  inv_ntgew,
    vbrp.mwsbp  inv_mwsbp,
    vbrp.posnr  inv_posnr
    FROM VBRK , VBRP
    WHERE vbrk.VBELN=vbrp.vbeln
    AND vbrk.VBTYP='M'
    AND vbrk.FKART NOT IN ('S1','S2','S3')
    AND vbrk.FKSTO<>'X') i1,
    (SELECT
           vbelv,
           POSNV,
          vbtyp_v,
           vbeln,
           POSNN,
          vbtyp_n
    FROM   VBFA
    where VBTYP_V='G'
    AND VBTYP_N='C'
    ) f1,
    (SELECT
           vbelv,
           POSNV,
          vbtyp_v,
           vbeln,
           POSNN,
          vbtyp_n
    FROM   VBFA
    where VBTYP_V='C'
    AND VBTYP_N='J'
    ) f2,
    (SELECT
           vbelv,
           POSNV,
          vbtyp_v,
           vbeln,
           POSNN,
          vbtyp_n
    FROM   VBFA
    where VBTYP_V='J'
    AND VBTYP_N='M'
    ) f3
    where c.vbeln=f1.vbelv(+)
    and f1.vbeln=f2.vbelv(+)
    and s.vbeln=f2.vbelv(+)
    and f2.vbeln=f3.vbelv(+)
    and d.vbeln=f3.vbelv(+)
    and i1.vbeln=f3.vbeln(+)
    ENDEXEC.
    **and c.vbeln=f3.vbelv(+)
    **and i1.vbeln=d.vbeln(+)
    *if sy-subrc <> 0.
    CATCH CX_SY_NATIVE_SQL_ERROR.
    ENDTRY.
    *ENDIF.
    break-point.

    Hi,
    Try using this ..
    data ref1 type ref to CX_SY_NATIVE_SQL_EROR.
    try.
    exec sql.
    endexec.
    catch CX_SY_NATIVE_SQL_EROR.
    write 'Error ', ref1->SQL_ERROR.
    RAISE EXCEPTION myref.
    endtry.
    Edited by: Vasavi Kotha on Jan 6, 2009 11:26 AM

  • Scripting API: Com exception when calling Session.Record

    Hi,
    I'm communicating with SAP Scripting API Com-Object from my Net application.
    When the Scripting events are disable in server side (by setting sapgui/user_scripting_disable_recording=TRUE in the server profile see Note 692245) ans i try to set the GuiSession.Record property to true i recieve a COM exception.
    System.Runtime.InteropServices.COMException (0x80010105): The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
    at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
    at SAPFEWSELib.ISapSessionTarget.set_Record(Boolean )
    My question is - is this is the expected behavior? (I wouldn't expect exception when mode is disabled).
    Thanks,
    Dror.

    The problem is: i don't know how to check for the HTTP-Header, because
    my call
    <i>SOAPOutPayload = accessor.call(payload);</i>
    throws the mentioned exception, even though it works behind the scene.
    Is it possible to check for the HTTP-Response-Code in the catch block?
    We want to avoid an synchronous scenario because we don't need the result and the WebService is rather slow.

  • Exception when calling ABAP Proxy modelled in SAP PI: CL_SOAP_RUNTIME_ROOT

    Hi,
    We have a scenario where we:
    1. Modell an interface in SAP PI
       This interface contains a complex type from a different namespace
    2. Use it to create an ABAP proxy in backend system
    3. Configure it with SOAManager
    4. Call the ABAP proxy ws directly from a third-party system (biztalk)
    We're currently testing calling the ABAP proxy from soapUI, but get a strange exception thrown by the SOAP framework in ABAP backend.
    The test in soapUI is setup by importing the WSDL acquired from SOAMANAGER.
    The error message we in the SOAP response is:
    CX_SY_REF_IS_INITIAL:Exception CX_SOAP_ROOT occurred
    (program: CL_SOAP_RUNTIME_ROOT==========CP, include: CL_SOAP_RUNTIME_ROOT==========CM004, line: 130)..
    An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally,
    nor declared in a RAISING clause.Dereferencing of the NULL reference
    It is a very low level error from the CL_SOAP_RUNTIME_ROOT program and not a descriptive error message at all.
    We've checked the user and the authorizations it has, we've redone the SOAManager config but the problem persists.
    We find no dumps in the ABAP proxy since the request never reaches it.
    For a limited time I'll make WSDL and SOAP response available
    WSDL (some values anonymized) available at http://dl.dropbox.com/u/4379928/SOAP/project.wsdl
    Complete SOAP response is available at http://dl.dropbox.com/u/4379928/SOAP/soap_data.xml
    Any ideas on where to look?

    Hi,
    We've now managed to implement a workaround.
    The workaround was to create the endpoint in PI as well.
    So that the traffic goes from third-party solution->PI-> WS-enabled ABAP Proxy
    When we did this initially, we got some errors related to the asynch method of this call, but this was resolved by changing the channel from "best effort" to "Guaranteed delivery". 
    Still we don't know what the root cause of the initial problem was, but we assume it is related to the asynch nature of the service (though we have other asynch proxies that work without problems).
    Regards
    Dagfinn

  • Raise exception when get ScreenTop of GuiMenu

    Hi expert,
    When i get ScreenTop property of a GuiMenu object, It raise an exception. Please help me know how can I get GuiMenu ScreenTop and what control i can get this property.
    Thanks

    Hi Christian,
    Not only GuiMemu do no support control location property, there are some controls are the same behavior with GuiMenu control such as Matched code button, Combo Dropdown list, etc. I know the purpose of SAP scripting is support to automatic processing, e-Learning, I'm working on a e-learning system so i need to get control location properties so i can capture control image. Can you tell me SAP Scripting can support some properties as follow in future:
    +Can FindByPosition function return the topmost and the leaf control at point, the current FindByPosition function has some problems:
       -Do not return the top most control at point. That is I call this function when the mouse  
        point is pointed to menu control, dropdown list, Matched Code button, it return the
        GuiMainWindow.
       -Do not return the "leaf control". that is i call it when the mouse point is pointed to tree
        control, just return the tree control, does not return the tree node. In menu bar
        control, it does not return menu control, just return Menu bar control.
    +Can Sap Scripting support control location property to any control that can render on screen.
    Best Regards.
    Thanh Ngo.
    P/S
    One more. Can you tell me there is any solution to resolve above problems? thanks a lot.

  • Exception when calling web service from Oracle forms 10g

    Hi All,
    I am trying to integrate Oracle Forms 10g(V 10.1.2.0.2.) with Web Services.
    There is a java class named 'authenticate' which is generated using Oracle JDeveloper.
    This class is included in the forms application by using "Import Java Class" feature.
    Forms built the following funtion based on that class:
    -- Method: authenticate (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION authenticate(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(2);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    message('here1');
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'mypackage/AuthenticatorWebServiceServiceStub',
    'authenticate', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    message('here2');
    END;
    However when the above code is invoked it shows the message 'here1' on the form and then throws the following exception: java.lang.Exception: java.lang.ClassCastException
    Please suggest me what's wrong with the code. I appreciate your time and help.
    Thanks,
    Scott.

    My primary skill is PL/SQL but the only information I found on Oracle's site to call a web service from a 10g Form was creating a jar file and importing the java class. Since I don't want to ask our corporate IT to make changes on the UNIX box for the jar files I went a different route.
    I use UTL_HTTP.BEGIN_REQUEST to call a URL then load I load the data to a table as a CLOB since we have more than 4000 characters. Now I need to parse the XML and load it into a form. I have never done this so if there is a helpful site please let me know. I have looked at several sites but none do what I want.
    Thanks

  • CX_SY_CONVERSION_NO_DATE_TIME:XSLT exception when calling Web Service

    I have created a Web Service on our Sandbox SAP server and am attempting to call it from our DEV SAP Server.  The returning structure contains date fields that sometimes are null. A null date field in SAP is equal to 00000000.
    When I call the Web Service and the date values are null, I get the following exception:
    CX_SY_CONVERSION_NO_DATE_TIME:XSLT exception.An error occurred when deserializing in the simple transformation program /1SAI/TXS982F8A669D1A54B7AD0D.
    Value 0000-00-00 is not a valid date in accord with the XML format for ABAP
    I would not expect to see this type of error, sense the call is between two SAP systems. 
    Is there anyway to fix this without moving space to any null date field in the function module?
    That's kind of annoying to do sense I have so many date fields.
    Example:
    IF date1 IS INITIAL.
        MOVE space TO date1.
    ENDIF.
    IF date2 IS INITIAL.
        MOVE space TO date2.
    ENDIF.
    IF date3 IS INITIAL.
        MOVE space TO date3.
    ENDIF.
    IF date4 IS INITIAL.
        MOVE space TO date4.
    ENDIF.

    Hi All,
    I got a solution for this exception. Hope it will help to all facing this problem.
    I was using proxy created from SE80.
    In my proxy for exporting parameters of methods I have changed all date fields.
    Earlier it was having Techn. type under Attributes of fields : XSDDATE_D. I chnaged this to DATS.
    It worked fine.
    Manish

  • Bugreport: Long Plugin-Name raises exception when used in item

    Hi,
    i created an item-type plugin with a rather long name which saves and "compiles" successfully.
    Name: Resizeable Textarea (remember Size)
    Internal Name: PLUGIN_INFO.ORACLEAPEX.RESIZABLETEXTAREAREMEMBERSIZE
    But when i try to use this plugin for an item, following exception is raised:
    ORA-20505: Error in DML: p_rowid=6139204663671389, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-12899: value too large for column "APEX_040000"."WWV_FLOW_STEP_ITEMS"."DISPLAY_AS" (actual: 52, maximum: 50)The Problem is caused by the internal name. This should be checked when creating/saving the plugin, or the restriction on DISPLAY_AS needs to be adapted.
    thanks for fixing :-)
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

    Fixed in 4.1
    Thanks
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Back button of internet explorer raise exception when running WAD tamplate

    Hi gurus,
    when we run a WAD template the users automatically use the back button of the explorer in order to navigate one step backward.
    this action raise an exception: "Webpage has expired".
    is somebody know a way that could work or a way to eliminate the back button of the explorer?
    thanks in advanced
    Miri

    >> I do not think it is because of the parameters you are entering/using, try without using the
    >> parameters (just for testing), if you still get the error then its not the parameters which is causing
    >> the problem.
    If I create the report without asking for user-entered params, it works.
    >> Can you please specify the browser and the tool to display the report you are using? Generally the
    >> error popps up when there are any mistakes in html or if you are using a javascript which has a error.
    The active browser on the computer is IE7 - 7.0.5730.13
    I am using the installed crystal reports 11 program to run the report.  I open the report in CR by going to File/Open and selecting the report. Then I get prompted for my ms sql login info, which I enter.  Then I see the "Enter Values" window with my data entry fields; but I don't see the nice formatting and buttons which I see when I run this from the other computers; I see only the placeholders.  I select or enter data and click on the "OK" link.  Then the message box pops up.  The message box pops up when I click on any of the links or on the "x" in the upper right.  Mesage box is explicit - Intenet Explorer Script Error, etc., as I described in my original post.
    Thanks
    Azhar

Maybe you are looking for

  • Iphoto wont open and cant install of app install disc

    2 days ago iphoto came up as damaged or incomplete when pressed. I followed the instructions of here to remove the iphoto pkg files but still could not install iphoto again. The disc that came with my mac just fails to install at the end,. I really h

  • DVD will not play on certain stand alone machines.  Help!

    Hello, everyone. I'm going crazy trying to find a solution to this. I burn a lot of DVDs for people using DVD-R media, and burned at 1x. For most people, that works fine. However, I have certain people who just can't get a clean copy - the video will

  • JMS messages stuck in queue in weblogic v923 cluster

    Hi all, Enviornment details: In our pre-production weblogic v923 cluster enviornment with Oracle 10g database, there are 10 server boxes with 2 managed nodes running on each server box in linux enviornment. There are 3 JMS queues and 1 error queue pe

  • How to update Acrobat to a newer version

    I have Acrobat Pro Extended 9.3.1. How do I upgrade it to 9.4.1? How do I find the patch? What is the name of the patch? Thanks.

  • Changing text-colour for links

    I can change the text-colour on my web-pages for ordinary text, but not for links. Is there any way around this ?