Subreport tabs are re-querying the database when changing tabs

I've got a simple report with embedded subreports that open in a new tab in the viewer.  When I switch between tabs, the tab is re-running the query and rebuilding the report or subreport.  Is there a way to prevent this and just display the already-rendered report?

start with storing the report in session so that it uses the session object on each postback (paging, drilling, etc all cause postbacks) instead of reopening the report each time.

Similar Messages

  • I am unable to see any POP3 or IMAP tab when I set up an account in my iphone 4S. Hence by default all my email accounts become IMAP and the messages are deleted from the server when I delete them from the iphone.

    I am unable to see any POP3 or IMAP tab when I set up an account in my iphone 4S. Hence by default all my email accounts become IMAP and the messages are deleted from the server when I delete them from the iphone.

    ok sorry everyone but i solved it myself but the solution is so nuts i've posted it here to help others who have the same problem.
    to setup a comcast imap account on your iphone:
    go to mail, contacts, etc in settings
    under accts, select add account
    select "other"
    new screen, choose "add mail account"
    now on the new acct screen you must enter your name, email address and password for your GMAIL acct ! (yes i said your gmail acct !, or some other acct with a NON comcast address).
    hit next
    then the acct verifies
    when verified a screen will open with all the acct settings for this acct AND @ the top of the screen are the 2 buttons > imap or POP
    select imap and THEN CHANGE ALL THE ACCOUNT information to the comcast account !
    then hit next and the account will take a couple minutes to verify but it will verify and now you have a comcast imap acct set up on your iphone.  The problem must be that when the iphone sends the initial verify acct info to comcast (if you enter that information first) the comcast server is simply not setup yet to signal the iphone that there is an imap option.

  • Exception when querying the database

    Hi
    I'm using jtds driver to connect to the database, it's been working fine all along and now all of a sudden it's giving exceptions when I query the database and It requires me to logout and login to my application again.
    The exception is as follows
    javax.servlet.ServletException: Could not execute query
            at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)
            at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
            at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:524)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
            at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
            at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
            at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
            at java.lang.Thread.run(Thread.java:534)
    root cause
    net.sf.hibernate.exception.GenericJDBCException: Could not execute query
            at net.sf.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:80)
            at net.sf.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:69)
            at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
            at net.sf.hibernate.impl.SessionImpl.convert(SessionImpl.java:4131)
            at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1557)
            at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1531)
            at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1523)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
            at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:524)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
            at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
            at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
            at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
            at java.lang.Thread.run(Thread.java:534)
    Caused by: java.sql.SQLException: Invalid state, the Connection object is closed.
            at net.sourceforge.jtds.jdbc.ConnectionJDBC2.checkOpen(ConnectionJDBC2.java:1305)
            at net.sourceforge.jtds.jdbc.ConnectionJDBC2.prepareStatement(ConnectionJDBC2.java:1978)
            at org.apache.commons.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:216)
            at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:323)
            at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:263)
            at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:236)
            at net.sf.hibernate.impl.BatcherImpl.prepareQueryStatement(BatcherImpl.java:67)
            at net.sf.hibernate.loader.Loader.prepareQueryStatement(Loader.java:784)
            at net.sf.hibernate.loader.Loader.doQuery(Loader.java:269)
            at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:138)
            at net.sf.hibernate.loader.Loader.doList(Loader.java:1063)
            at net.sf.hibernate.loader.Loader.list(Loader.java:1054)
            at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854)
            at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1554)
            ... 42 moreCan it maybe be the large size of the dabase?
    What can be wrong?

    java.sql.SQLException: Invalid state, the Connection object is closed
    It answers your question to an extent. Check if your connection or recordset object is closed
    cheers,
    Siddhs

  • Getting error "SQL error in the database when accessing a table."

    Hi All,
    We are getting Dump Error SQL error in the database when accessing a table for the batch job EISSD/REQUISITION 14 / which includes program AQ20FD==========A2============. Please reply. The Dump error details are as follows
    Short text
        SQL error in the database when accessing a table.
    How to correct the error
        Database error text........: "ORA-01555: snapshot too old: rollback segment
         number 21 with name "_SYSSMU21$" too small"
        Internal call code.........: "[RSQL/FTCH/VBRK ]"
        Please check the entries in the system log (Transaction SM21).
    Thanks
    Padmakar Kudtarkar
    Edited by: Rob Burbank on May 19, 2011 9:38 AM

    The query where we are getting error in Standard program AQ20FD==========A2============ for Job
    EISSD/REQUISITION 14 / is as follows:
    select VBRKBUKRS VBRKFKART VBRKFKDAT VBRKFKTYP VBRKGJAHR VBRKKUNAG VBRKKUNRG VBRKKURRF VBRKVBELN VBRKWAERK VBRP~AUBEL
           VBRPAUPOS VBRPFKIMG VBRPKVGR2 VBRPKZWI1 VBRPMATNR VBRPMWSBP VBRPNETWR VBRPPSTYV VBRPVBELN VBRPVGBEL VBRP~VGPOS
           VBRPVKBUR VBRPVKGRP VBRPVRKME VBRPWAVWR
    into (VBRK-BUKRS , VBRK-FKART , VBRK-FKDAT , VBRK-FKTYP , VBRK-GJAHR , VBRK-KUNAG , VBRK-KUNRG , VBRK-KURRF , VBRK-VBELN
         , VBRK-WAERK , VBRP-AUBEL , VBRP-AUPOS , VBRP-FKIMG , VBRP-KVGR2 , VBRP-KZWI1 , VBRP-MATNR , VBRP-MWSBP , VBRP-NETWR
         , VBRP-PSTYV , VBRP-VBELN , VBRP-VGBEL , VBRP-VGPOS , VBRP-VKBUR , VBRP-VKGRP , VBRP-VRKME , VBRP-WAVWR )
    from ( VBRK
           inner join VBRP
           on VBRPVBELN = VBRKVBELN )
           where VBRK~BUKRS in SP$00004
             and VBRK~FKDAT in SP$00001
             and VBRK~KUNAG in SP$00002
             and VBRK~VBELN in SP$00006
             and VBRP~MATNR in SP$00003.
      %dbacc = %dbacc - 1.
      if %dbacc = 0.
        stop.
      endif.
      check SP$00004.
      check SP$00001.
      check SP$00002.
      check SP$00006.
      check SP$00003.
      add 1 to %count-VBRK.
      %linr-VBRK = '01'.
      extract %fg01.
      %ext-VBRP01 = 'X'.
        extract %fgwrVBRP01.
    endselect.

  • SQL error in the database when accessing a table.

    Hi,
    I got below error at production server. Please suggest how to reslove this error.
    <br>
    <br>
    <br>
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    <br>
    Exception              CX_SY_OPEN_SQL_DB
    <br>
    Date and Time          02.01.2011 15:55:06
    <br>
    <br>
    <br>
    <br>
    <br>
    Short text
    <br>
    SQL error in the database when accessing a table.
    <br>
    <br>
    <br>
    How to correct the error
    <br>
    Database error text........: "[10054] TCP Provider: An existing connection was
    <br>
    forcibly closed by the remote host.
    <br>
    [10054] Communication link failure"
    <br>
    Internal call code.........: "[RSQL/INSR/SWFCNTBUF ]"
    <br>
    Please check the entries in the system log (Transaction SM21).
    <br>
    <br>
    If the error occures in a non-modified SAP program, you may be able to
    <br>
    find an interim solution in an SAP Note.
    <br>
    If you have access to SAP Notes, carry out a search with the following
    <br>
    keywords:
    <br>
    <br>
    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
    <br>
    "CL_SWF_CNT_FACTORY_SHMEM======CP" or "CL_SWF_CNT_FACTORY_SHMEM======CM001"
    <br>
    |    "ADD_INSTANCE"         
    <br>
    <br>
    <br>
    Information on where terminated
    <br>
    Termination occurred in the ABAP program "CL_SWF_CNT_FACTORY_SHMEM======CP" -
    <br>
    in "ADD_INSTANCE".
    <br>
    The main program was "SAPMSSY1 ".
    <br>
    <br>
    In the source code you have the termination point in line 16
    <br>
    of the (Include) program "CL_SWF_CNT_FACTORY_SHMEM======CM001".
    <br>
    The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
    <br>
    procedure "ADD_INSTANCE" "(METHOD)", but it was neither handled locally nor
    <br>
    declared
    <br>
    in the RAISING clause of its signature.
    <br>
    <br>
    The procedure is in program "CL_SWF_CNT_FACTORY_SHMEM======CP "; its source
    <br>
    code begins in line
    <br>
    1 of the (Include program "CL_SWF_CNT_FACTORY_SHMEM======CM001 ".
    <br>
    <br>
    <br>
    <br>
    Source Code Extract
    <br>
    <br>
    Line
    SourceCde
    <br>
    <br>
    1
    METHOD add_instance .
    <br>
    2
    <br>
    3
    data: ls_id type swfcntbuf.
    <br>
    4
    <br>
    5
    check buffer method - store in local buffer if necessary
    <br>
    6
    retcode = cl_swf_cnt_factory=>add_instance( ibf_por = ibf_por instance = instance ).
    <br>
    7
    <br>
    8
    CHECK m_buffer_method EQ mc_buffer_shared.
    <br>
    9
    <br>
    10
    append key to list of tasks to add stored in database table SWFCNTBUF
    <br>
    11
    will be evaluated by build process for shared memory area (UPDATE_BUFFER method)
    <br>
    12
    <br>
    13
    ls_id-mandt = sy-mandt.
    <br>
    14
    ls_id-id    = ibf_por.
    <br>
    15
    <br>
    >>>>>
    INSERT swfcntbuf CONNECTION r/3*wfcontainer
    <br>
    17
    FROM ls_id.
    <br>
    18
    <br>
    19
    IF sy-subrc EQ 0.
    <br>
    20
    Commit seems to be necessary always, even if INSERT has failed, to get rid of
    <br>
    21
    database locks
    <br>
    22
    COMMIT CONNECTION r/3*wfcontainer.
    <br>
    23
    ENDIF.
    <br>
    24
    <br>
    25
    ENDMETHOD.
    <br>

    duplicate here SQL error in the database when accessing a table.
    Do not post the same question in more than on forum.

  • SQL error occurred in the database when acces

    Dear All,
    I am getting following error message while doing file to file scenario.
    source side messages are pickedup and entering into the Queues .receiver side i cant able to see any souce messages.
    SYSFAIL Message is showing in the Queues when i was double click that message its giving following message.
    SQL error occurred in the database when acces
    a table.
    Plz, help me in this regard.
    Thanks,
    Mahesh

    Hi Mahesh,
    Did you get a chance to check the IPC log directories
    Also usually for a sysfail message you can check the smw01
    You will see a bdoc with status F05. What does it say there?
    or
    Is it "Scheduled for outbound processing" or "recorded for outbound processing".
    I guess the message has not been processed, so the next step is to go to transaction SMQ2, and check for info as to why it is not processed.
    If you see a queue status of SYSFAIL, first try resetting it to "Ready" again. If it still fails then, delete that particular LUW. And if you still have some more messages in the queue just click the unlock queue button.
    Reward points if this helps
    Regards
    Pragathi.

  • Inbound-Queue SYSFAIL: SQL error in the database when accessing a table

    Hi,
    we send around 80 IDoc simultaneously, there 15 are stuck.
    They all have SYSFAIL in SMQ2 with message: SQL error in the database when accessing a table
    I already unlocked the queues and try to resend. Nothing happend!
    I ran RSQIWKEX for the single queus but now there are new queues in Status SYSFAIL.
    I already checked some entries in forum and blogs, but nothing worked out yet!
    Can someone help?! it's urgent!!
    br

    Hi, well as mentioned i searched and found this already.
    But in ST22 i got error concerning
    Laufzeitfehler         DBIF_RSQL_SQL_ERROR
    Ausnahme               CX_SY_OPEN_SQL_DB
    So i guess it's something more serious.
    Any more ideas?!
    Can i simply delete the stucked queues and reporcess them?!
    br

  • If I don't select the database when I run an opened script.....

    If I don't select the database when I run an opened script, it will run forever. I think it should generate an error to user, to tell user to select a database. My version is 1.0.14.67 windowsxp
    thx

    Please walk us through the steps that you use to recreate this issue. For me, the commit option is not available unless a connection is specified, so I am confused as to what actions you are performing. Also let us know what your platform and patch level is in sqldeveloper.

  • Is there any way to prevent the OS from querying the Superdrive when start

    Just a random question. Whenever my MacBook Pro starts up (either from sleep or a complete/fresh start, the OS queries the drive slot to see if there is a disc present. While this may be normal behavior, it seems to slow down the start up process. (I rarely ever have a disc in the drive). Just curious if this, in fact, normal, or if there's something awry.

    Is there any way to prevent the OS from querying the Superdrive when start
    No
    he OS queries the drive slot to see if there is a disc present.
    How can you tell? Based on the noise it makes?

  • I have given up on my dell and bought an iMac 27"... Now how do I transfer my dell iTunes playlists from my dell to my iMac, as they are showing on the iMac when I plug in my iPod but it's not allowing to me to play them as they are shaded?

    I have given up on my dell and bought an iMac 27"... Now how do I transfer my dell iTunes playlists from my dell to my iMac, as they are showing on the iMac when I plug in my iPod but it's not allowing to me to play them as they are shaded? I have also separately transferred all my music via my external drive from my dell to my iMac which is showing in iTunes but won't upload to my iPod... Just to confuse you even more my AppleTV which is linked to my log in email address and home sharing is showing and playing all the playlists I want to see on my iMac... Phew that was exhausting hope you understand and can help me:-)

    You may have transferred all your songs, but your iPad is seeing the library as a different entity.
    The following article(s) may help you.
    Moving your iTunes library to a new computer  

  • DBIF_RSQL_SQL_ERROR with SQL error in the database when accessing a table.

    dear all,
      i have done a system copy from production server into quality server. quality was scrapped and freshly installed with SAP then used the DB flush method to carry out the system copy. i had to change the DBS_ORA_SCHEMA in environment variables to SAP<SOURCE SID> from SAPSR3. the sap version is ECC6.0,DB is ORACLE10.2 on WIN NT.
      after MMC opened, i get "SQL error in the database when accessing a table" error is coming. in SM21, I am getting "Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000 )
    Database error 8103 at SEL access to table TBTCO
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    Database error 8103 at FET access to table TBTCP
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    > Short dump "081018 130339 sibqty_Q TY_00 " generated
    Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
    > Short dump "081018 130339 sibqty_Q TY_00 " generated
    Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
    Delete session 001 after error 023
    Database error 8103 at DEL access to table TMSALOGAR
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    > Short dump "081018 130432 sibqty_Q TY_00 " generated
    Database error 8103 at FET access to table SNAP
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    > Short dump "081018 130432 sibqty_Q TY_00 " generated
    Transaction Canceled SY 002 ( SQL error in the database when accessing a table. )
    Database error 8103 at FET access to table TSP02"
    please find the st22 DUMP:
    ow to correct the error                                                                          |
    Database error text........: "ORA-08103: object no longer exists"
    Internal call code.........: "[RSQL/READ/TBTCO ]"
    Please check the entries in the system log (Transaction SM21).
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
    "SAPMSSY2" or "SAPMSSY2"
    "INITIATE_JOB_START"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "INITIATE_JOB_START" "(FORM)", or its possible occurrence must be declared in
    the
    RAISING clause of the procedure.
    |   
    please do me this favor if you know to avoid this problem..
    thanks a lot..

    Hello Anuj,
    This is because the COUNT(*) is returning a value which is longer than the INT4 data type it is expecting. If you restrict the selection by introducing a WHERE clause, then you won't get the dump:
    DATA: dyn_from    TYPE string,
          dyn_where   TYPE string,
          gx_sql_err  TYPE REF TO cx_sy_open_sql_error,
          gv_text     TYPE string.
    dyn_from  = `DD01L INNER JOIN DD02L ON DD02L~AS4LOCAL = DD01L~AS4LOCAL AND DD02L~AS4VERS = DD01L~AS4VERS`.
    dyn_where = `DOMNAME LIKE 'Z%'`.
    TRY .
        SELECT COUNT(*) FROM (dyn_from) WHERE (dyn_where).
        WRITE: / sy-dbcnt NO-GROUPING.
      CATCH:  cx_sy_open_sql_db             INTO gx_sql_err,
              cx_sy_dynamic_osql_semantics  INTO gx_sql_err,
              cx_sy_dynamic_osql_syntax     INTO gx_sql_err.
    ENDTRY.
    IF gx_sql_err IS BOUND.
      gv_text = gx_sql_err->get_text( ).
      WRITE: / gv_text.
    ENDIF.
    BR,
    Suhas

  • What else are stored in the database buffer cache?

    What else are stored in the database buffer cache except the data blocks read from datafiles?

    That is a good idea.
    SQL> desc v$BH;
    Name                                                                                                      Null?    Type
    FILE#                                                                                                              NUMBER
    BLOCK#                                                                                                             NUMBER
    CLASS#                                                                                                             NUMBER
    STATUS                                                                                                             VARCHAR2(10)
    XNC                                                                                                                NUMBER
    FORCED_READS                                                                                                       NUMBER
    FORCED_WRITES                                                                                                      NUMBER
    LOCK_ELEMENT_ADDR                                                                                                  RAW(4)
    LOCK_ELEMENT_NAME                                                                                                  NUMBER
    LOCK_ELEMENT_CLASS                                                                                                 NUMBER
    DIRTY                                                                                                              VARCHAR2(1)
    TEMP                                                                                                               VARCHAR2(1)
    PING                                                                                                               VARCHAR2(1)
    STALE                                                                                                              VARCHAR2(1)
    DIRECT                                                                                                             VARCHAR2(1)
    NEW                                                                                                                CHAR(1)
    OBJD                                                                                                               NUMBER
    TS#                                                                                                                NUMBERTEMP      VARCHAR2(1)      Y - temporary block
    PING      VARCHAR2(1)      Y - block pinged
    STALE      VARCHAR2(1)      Y - block is stale
    DIRECT      VARCHAR2(1)      Y - direct block
    My question is what are temporary block and direct block?
    Is it true that some blocks in temp tablespace are stored in the data buffer?

  • DBIF_RSQL_SQL_ERROR: SQL error in the database when accessing a table

    Hi Gurus,
    Im getting DBIF_RSQL_SQL_ERROR: SQL error in the database when accessing a table error while I was importing support pack in the system. This is ERP 6.0 with EHP4 with MS SQL in back ground and I was applying the BASIS SP 04. It was in the TEST scenario and in the SPDD_SPAU_CHECK phase it threw the error.
    Short text
        SQL error in the database when accessing a table.
    What can you do?
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    How to correct the error
        Database error text........: "[601] Could not continue scan with NOLOCK due to
         data movement."
        Internal call code.........: "[RSQL/FTCH/E071 ]"
        Please check the entries in the system log (Transaction SM21).
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
        "SAPLSVRT" or "LSVRTU01"
        "TR_LAST_IMPORT_OF_OBJECT"
    SPAM  is ending with the above short dump. I have checked the space availability and it is OK.
    Kindly help.
    Renju Aravind.

    Hi,
    this error is very often seen in case of a database corruptions. Please follow note 142731 and perform a complete database check. Send the results when they show errors.
    Best regards
      Clas

  • How to query the database periodically???

    Hi,
    i would like to do a certain task ( like fetching the database, etc) in a particular interval time. For example, my program has to query the database in every 15 mins and display the record if any new record added in the table.
    Any one please help me in this and if possible, please give me a sample code.

    Hi,
    Yes, the delay is 1000 ms ( 1 sec) but the program runs only 12 secs because the main thread sleep only 12000 ms.
    public static void doMain()
    *throws Exception {*
    Timer t = new Timer(true);
    t.schedule(new Ping("Fixed delay")
    *, 0, 1000);*
    Thread.currentThread().sleep(12000);
    After 12000 ms, the program stops running.
    But my requirement is, my program runs continuously for a particular period of time without stops running. ( for example, if i give a period of time is 2 to 6, the program runs in every 1000 ms delay between 2pm to 6pm without stops running).
    Please help me in this.......

  • Wanted to know what actions are taken on the database

    Dear Sir
    I wanted to find out what actions are performed explicitly on the database.For example I apply a patch on the database of create object,drop object,insert object,update object ...etc.Does Oracle Maintain any logs for such object.?....
    .I wanted to find out what actions are performed on the database on daily basis?....Can we maintain the log of it?
    Appreciate your help on the above?
    Regards

    [email protected] wrote:
    Dear Sir
    But I wanted to know If anybody firing any DML,DDL OPERATION IN THE DATABASE.CAN ORACLE MAINTAINS ANY AUDIT OF THAT?
    RegardsPeople dont perform commands on the database level but they do it on the tables. So you would be setting the auditing on the objects actually. Not to nick pick but the terminology should be correctly used as it may come as an confusion later on. Depending on what you need, that type of auditing can be set on the table.
    Also make a habit to post your db version and o/s for sure in all the posts.
    HTH
    Aman....

Maybe you are looking for

  • F4 HELP not working in QA, but does en DEV :o(

    Hi Folk, I hgave a situation where the F4 (Binocular) works perfect in DEV. But when it comes to QA system, the F4 search help does NOT work for the account aswsignment fields, but does for the rest. Any ideas? Thanks in advance, Thomas

  • Having trouble with my AUDIGY SE

    I'm running winxp.. and up until some random hour todat its been running fine, for months. Now its not working at all. I reinstalled windows, installed the driver but in the midst of that it gave me a "directsound device not detected"? error. Can any

  • Flash SWF AFX    Play vs Static

    I have a bunch of Flash files with varying lengths of timeline. I export them as SWF files then import into AFX. Usually they wont play the animation and just come in as a static images. However sometimes they DO play. Does anyone know how to make su

  • ODS to CUBE error

    Hi All, Please help me out with the following error while loading from ODS to CUBE (BW3.5) Error message when processing in the Business Warehouse Diagnosis An error occurred in the SAP BW when processing the data. The error is documented in an error

  • Serious problem with Vortex

    Vortex WILL freeze your iPod up. My iPod is in Mint condition, and is an 80GB, and literally has no scratches or problems that I know of. Typical reseting is fine, but Apple really needs to release an update for this game which fixes this bug. Where