Query and timeout

On my BSP application a call a query with RSAQ_REMOTE_QUERY_CALL .... Problem : this function spend 6 minutes... SO I have alway a timeout ...
IS somebody know how to fix this issue ?

<a href="/people/mark.finnern/blog/2003/09/24/bsp-in-depth-confusion-between-stateless-stateful-and-authentication">BSP In-Depth: Confusion between Stateless, Stateful and Authentication</a> does have a sidebar that explains about the different timers that can mess up your application.

Similar Messages

  • Question on query causing timeouts and CXpacket

    Hello,
    I am using SQL Server 2008 R2 SE with 24 processors as shown below:
    This is a standalone non clustered server. The MAXDOP setting is 8 as shown below:
    These settings have been the same for more than an year. But since last week I am noticing that query is taking longer time to execute and complaining on 94% wait time is on CXPACKET. Does this necessarily mean the MAXDOP setting has to be changed?
    I added a few indexes for this query and CXPacket is gone but the indexes are causing failures somewhere else. As soon as the indexes were disabled these failures are gone. 
    Experts I need your valuable thoughts on this. Thanks a bunch.

    Hello,
    But since last week I am noticing that query is taking longer time to execute and complaining on 94% wait time is on CXPACKET. Does this necessarily mean the MAXDOP setting has to be changed?
    I would think not at this moment (though that's just a guess right now). Is this a problem with just a single query, a few, all, etc? The first step I would take (against CXPACKET waits on a query) is to check out the execution plan and verify that statistics
    skew isn't causing a problem with work divisions per thread. To do this, find the parallelism operators (press f4 to show details in SSMS) and investigate the threads and the amount of rows each processed. If it is skewed on some threads that could be participating
    in the issue you are having. Let's start checking here and see what the result is.
    You could also get the execution plan and upload it somewhere for us to look at.
    Sean Gallardy | Blog
    MCM 2008
    MCSM:Data Platform Charter Member

  • In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    The query is re-issued as a flashback query and the client process can continue to fetch from the cursor. This is described in the Net Services Administrators Guide, the section on Transparent Application Failover.

  • What is the diff b/w logical query and physical query?

    Thanks In advance

    In OBIEE terms the logical query is how you query the BI Server, the Presentation services sends logical SQL to the BI Server, you can also write your own using JDBC , pull from BI Server using ODI etc.
    The BI Server engine takes this logical query and writes (a number of) phyiscal querie(s) to satisfy the logical request, depeninding on how your BMM and Physical layer is setup. There are a number of rules the BI Server evaluates before deciding the most appropriate Physical query to generate, rules include Physical Joins, Aggregate tales / Hierarchy levels and so on.
    Hope this helps,
    Good luck with interview :-)
    Alastair

  • Creating a print button to call a Report Query and pass filters

    If i use the REPORT QUERY option in APEX 4 to create an statement that is the same one used in an interactive report, can I create a link or button to the REPORT QUERY and pass all the session and filter information from the interactive report to the report query?
    This way I can have the interactive report screen where the user can do all sorts of modifications and such and then pass those to the REPORT QUERY so I can call that from a custom link or button.
    You may ask "why does he need another print button?"
    Answer: I am using a view that has some embedded HTML tags to format the output really nicely. The HTML download version created by the interactive reports works beautifully. The customer also wants a PDF version (meh) which does not render the HTML tags and actually echos them as part of the text. I found that I can create another view that uses the CHR function to create all the breaks and such I was doing with HTML and these do render properly in PDF. So, I figured just have 2 reports: 1 Interactive and 1 using a REPORT QUERY. I just want to call the REPORT QUERY version but use the Interactive Search form to set all the parameters.
    Or, am I over thinking this and there is an easier method?
    I made a previous post where I showed how I got the APEX printing to work and i hoped that helped someone out - fixing this issue would put the whole thing to rest.
    Thanks

    Is BI Publisher desktop (MS Word add-in) a possibility? This would allow you to use MS Word to create your output template (RTF) that would result in a properly formatted PDF. Of course, you'd have to right an updated version of the query without HTML embedded. Just thinking outside of the box.

  • Web Analysis Error -- Error while executing query and retrieving data

    Regarding Web Analysis:
    We have a number of reports that we created. yesterday they were all working fine. today we try to open them and most are generating an error.
    The error is:
    Error while executing query and retrieving data.; nested exception is:
    com.hyperion.ap.APException: [1033] Native:
    1013033[Thu Oct 22 09:08:17
    2009]server name/application name/database name/user name/Error91013033)
    ReportWriter exit abnormally
    Does anyone have any insight into what is going on?
    My version information is:
    Hyperion System 9 BI+ Analytic Administration Services 9.3.0.1.1 Build 2
    Web Analysis 9.3.0.0.0.286
    Thanks in advance for your help.
    DaveW

    Hi,
    And also click on check option by opening the query in Query designer,as Mr . Arun suggested.
    And if you get any error in checking, see the long message(detail).
    With rgds,
    Anil Kumar Sharma .P

  • How to implement Quick Query and Saved Searches in ADF?

    We are using 11gR2 ADF.
    The requirement is to enable Quick Search and save the Searches.
    In the Oracle ADF documentation, it is mentioned that
    - Create a view with view criteria named.
    - In the .jspx drag and drop the view criteria and Select Quick Query
    Upon doing the above, we see that a Search panel is getting created, but with a message 'No Search Fields Added'.
    In the named view criteria, Under 'UI Hints' we have set
    -- execution mode as Both
    -- Search region mode is Basic
    -- Show Operators in Basic
    Under 'Criteria Definition'
    the attributes are added in a group with OR condition.
    Thanks for your reply. Oracle ADF developer guide does not help!!
    If you have any other documentation that helps in implementing this Quick Query and Saved Search, your help is greatly appreciated.

    Set the following on your af:query component
    SaveQueryMode = hidden
    ModeChangeVisible = false
    This should work for you ..
    Regards,

  • Different LOVs in af:query and af:form for the same VO attribute

    Hi,
    We need to display different LOVs in af:query and af:form for the same attribute in VO.
    Is it possible to use LOV Switcher for this ?
    What condition can we use in LOV Switcher attribute to check if it is View Critearia row or VO row ?

    We have a VO attribute "User" which needs to be displayed as LOV in a Search Panel ( af:query component created using View Critearia ) and in a af:form.
    When this VO attribute is displayed in search panel, in LOV, we need to show all users.
    When this VO attribute "User" is displayed in a form for editing, in LOV, we need to show only active users.
    For this, we created two LOVs "ActiveUsersLOV" ( which shows only active users ) and "AllUsersLOV" ( which shows all users ) on VO attribute "User".
    LOVSwitcher attribute should return "ActiveUsersLOV" if the LOV is displayed in form and "AllUsersLOV" if the LOV is displayed in search panel.

  • Plz help don't know how to create a query and link it to a UDF

    hi,
    i am new to business one and however hard i am trying to use a query to link it to a UDF, it is not working. i think i am doing the whole thing wrong,so ill just post one problem i have and if any one of u can explain to me in steps i may be able to learn to link other queries and UDFs.so plz help me out .
    problem:
    i want to display the account balance of every customer/vendor whenvever i open a marketing document. i have created a UDF for the marketing documents in the title with name and description 'account balance'.
    Now how do i link the customer/vendor name field to this UDF so that the query generated will show the account balance of the corresponding customer/vendor.plz tell me in steps as to what tables to choose ,what fields to choose, what conditions and relatoins to use in a query wizard
                                                                                    thank you

    hi,
    A/R invoice
    for name UDF:
    SELECT T0.CardName FROM OCRD T0 WHERE T0.CardCode = $[OINV.CardCode]
    for balance UDF:
    SELECT T0.Balance FROM OCRD T0 WHERE T0.CardCode = $[OINV.CardCode]
    A/P invoice
    for name UDF:
    SELECT T0.CardName FROM OCRD T0 WHERE T0.CardCode = $[OPCH.CardCode]
    for balance UDF:
    SELECT T0.Balance FROM OCRD T0 WHERE T0.CardCode = $[OPCH.CardCode]
    FOR OTHER FORMS ONLY CHANGE THE END OF THE QUERY    FOR Example
    $[OPCH.CardCode]
    OPCH  is the table name, change it to other table.
    save the query and set it to customer code for refresh in A/R invoice
    save the query and set it to Vendor code for refresh in A/P invoice
    regards
    sandip

  • How to create a transport request with query and only with its structure.

    HI guru,
                how to create a transport request with query and only with its structure.transport request should not  include any other query items like ( variables, conditions...etc)
    thanks in advance.
    venkata

    Hi,
    Goto RSA1 and then Transport Connection -> In SAP Transports select Object Types-> Query Elements -> Then select Query->Give Technical name of the query and then select for transfer. In the right side you can choose the components which you wanted to transport.
    Regards,
    anil

  • Using different hierarchy in a query and last value error

    Hi guys,
    there is a hierarchy for customers in the 0Customer Infoobject which I should use in my query.
    I have activated the hierarchy in the query and now some results are not appearing but red crosses "x" are shown.
    And the error message: The function Calculate Results as ... could not be applied everywhere.
    I know that I am using the result as "last value" for some columns because I need them there (for example: to determine the last value for the credit limit of the current month). I think these columns where I am using the last value calculation are only affected.
    I mean my query has a lot of characteristics and key figures and I was told that a hiearchy for customers which is available should be used. But now there are these red crosses.
    I don´t see any other solution as not to use this specific hierarchy.
    Has anybody a suggestion what could be an argument to use or not to use a hierarchy?
    Is it sometimes like in my case that a hierarchy is not possible to use?
    Thanks in advance!

    Hi,
    say for example your customer hierarchy is customers grouped under region. You can maintain this region as one of the attribute of customer and you can display this attribute in the report. Indirectly, this will give similar output to that of hierarchy.
    But lot depends on how your hierarchy is formed, before commenting whether it can be moved to master data attributes.
    Thanks.

  • I/O Assistant Query and Parse problem.

    Hi,
    I am trying to use the I/O assistant with Instrument via the serial port (com1). When I use the query and parse option it only grabs the first line and parses it. For example, my command is "gc", my instrument by nature will echo that back to serial port and when the parse occurs it only receives the "gc" rather then the entire result. Using hyperterminal I get this below. What is important to me is the second line but I only read back gc for some reason with I/O assistant. Any way to parse entire result?
    tp gc
    version: gc.library 1.3.0.0 (2003.11.03)

    In your Query and Parse step you should see a termination character window. As explained in the help window when you move the mouse over the termination character window, this character terminates the read session. The default is \n or a line feed. When your instrument sends two lines, the first line ends with a line feed and the read stops before the second line is read. Set the term character to none to read the entire line. Your instrument probably requires a termination character at the end of the string you're sending so put the termination character in the command line (i.e. gc\n).

  • How do make link between query and UDF

    How do you link a query to your UDF after you created the query and the UDF?
    Also do you have to set the UDF as type "general", and "link"?
    Please take me thru step?

    oh good - a discussion about whether to use "link" or "image" when having an image connected to a product!!!
    Billy and Suda - We had fun with this one some time ago in a project collecting additional data and images for the customer's products on the market.  As we were ramping up the project, we tried both ways of connecting an image to a product and there was a few drawbacks we found with using the UDF type of "General" and "Image":
    1.  The image was placed directly on the UDF portion on the Item Master - they were working in large TIFF (?) formats and the picture just looked horrible.  The approving manager could not tell if the image should be approved for press or not.  When he double-clicked on the image in the UDF portion it brought up another SAP window that wasn't quite crystal clear.
    2.  The image took up so much room on the UDF portion of the Item Master that the data entry personnel had to constantly scroll down to enter the other data points (color, size, branded promo, mixture, etc - there were about 12 fields).  Talk about being ticked!
    3.  While using the "General" and "Link" it addressed those concerns BUT there was one extra enormous advantage with this General/Link method.  When the image was brought up, it opened up the image automatically in a standard picture editor/manager program.  If they liked what they saw, they continued foward with the approval of the image for press runs.  If they did not like the image, they were able to manipulate the image at the moment and then follow through with approval (time saver for sure!).
    I am sure it all boils down to what the customer requirements are, but some other clients I demoed this to wanted to switch immediately after seeing that!  But definitely something to think about if you are planning on connecting an image to a product...
    Oh and she really is correct, Billy - I have never heard of anyone linking a query to a "link" or "image" type...I don' t know how you would even do that as the "link" or "image" selection leads you directly into the attachment and/or storage path and location...
    take care - Zal

  • Enabling Create New Query and Personalize in Check Status

    Hi All,
    We followed below steps Enable Create New Query and Personalize in Check Status
    Go to the role of the user - PFCG - Authorizations - Change authorization data - Cross-application authorization objects - authorizations for Personal Object Work List (POWL) iViews
    Specified the application ID POWL_APPID - SAPSRM_E_CHECKSTATUS
    What should be done to enable define query and personalize for all users.
    We have changed the following settings -
    In activity POWL_CAT - '??' , POWL_LSEL-DISALLOWED - POWL_QUERY - ?? , POWL_RA_AL - ?? , POWL_TABLE - ??.
    With our current settings Create New Query and Personalize in Check Status appear but are disabled (greyed out)
    New Query Button appears but clicking on it produces no output.
    Nikhil
    Edited by: Nikhil Malvankar on Sep 12, 2011 5:57 AM

    You could the following to check if the Query still exists in the database:
    Open SQL Management Studio and connect to the SQL Server hosting the ConfigMgr database
    In SQL Managemnt Studio, Expand Database, Expand CM_YourSiteCode
    Expand tables and find the dbo.Queries table
    Right-click the dbo.Queries table and select Select Top 1000 Rows
    See if you can find your "ghost" Query
    Please note - it IS NOT supported
    to make direct changes to ConfigMgr database so I would properly call PSS on this one before you start getting creative.

  • Record has already been updated by another user. Please re-query and retry

    Hi,
    I want to uncheck the option Send e-mails for canceled notifications in Workflow mailer but getting error in fouth step in workflow Notification mailer:-
    1. Connect to Oracle Applications Manager with SYSADMIN.
    2. select Workflow manager.
    3. Click on EDIT button-->Advanced(Step 1)--->next(step 2)--->next(step 3)---"ERROR"
    This record has already been updated by another user. Please re-query and try again. ORA-06512: at "APPS.FND_SVC_COMP_PARAM_VALS_PKG", line 288 ORA-06512: at line 1
    Regards,

    Pl see if MOS Doc 286418.1 (ORA-06512: At Fnd_svc_comp_param_vals_pkg When Configuring The Java Mailer) can help
    HTH
    Srini

Maybe you are looking for

  • Help!! My Illustrator CS5  quits unexpectedly Mac Os X Lion

    Hi , I have installed CS5 Web Premium long ago and since few months the Illustrator CS5 will not launch. It quits during the launch of the app saying just it quit unexpectedly. Other apps work just fine. I have tried uninstalling the suite and reinst

  • Iphone 5 - No network access however data services are available

    The iPhone 5 has not network access, i am unable to make or receive calls. However the data seems to be working as the App store and internet is accessible. Can you please help me, I have always wanted a iphone and now that I have it I cant use it. T

  • Error in LSMW getting return code 6

    Hi all,              i Am getting a  Error in LSMW getting return code 6 , after asign a file , in the read data step i am getting the error , please help me it is very urgent, sridhar

  • Can i have a link for online reservation for repair my iphone 5?

    Hi there, My iphone 5's screen is cracked. i just want to book a reservation for repair or swap with new phone paying extra money.  So could you please send me a link for reservation?

  • 1841 Router Layer 2 routing

    I have 4 layer 2 ports on my router. I would like to connect them to my different vlan segments on my switch or directly to server boxes. I can't seem to be able to route the traffic from those boxes out. The router sees the interfaces as up, but I c