Set Timout at Query Level

Hi All ,
Is it possible to set a timeout on a Query level .
Say i fire a query on a table (supposed to be well tuned ) over a dblink on another database , (Say then someone dropped an Index on the table) . This shall throw the performance out of the window . In such a scenario , can i set the timout of the query ? or is it possible fat session level only ? is it possible to have such statements in a PL/SQL code ?
Many Thanks.

Hi Sven ,
Thanks for the reply , i have had a look at creating a profile and the only option that are close to the requirement are
1 .IDLE_TIME
2. LOGICAL_READS_PER_CALL
neither do the required check .
I am not very confident of Administration so kindly confirm if i am correct or not ,
<BR>
Referring to the creation of a Special DB user for this shall basically create a new schema where we can have a read only grant to schema we have all the actual tables in another schema(User) , Right ? . Also , There is a time out error given by a query to a database that is down . Is there a way to use / modify that . <BR> This seem strange that there is no query level timeout option for Oracle queries as we commonly deal with a distributed environment .

Similar Messages

  • Aggregation at Query level

    Hi,
    Does the aggregation at query level will not work in BI7.
    As i have a key figure with aggregation type summation in backend,there were some similar records when tried to set aggregation at query level it is not working summing the key figures.
    Any suggestions.

    Are you sure there is no exception aggregation defined?

  • Query level filter not working in Webi report

    Hi All,
    I am using BOXI R3.1 (SP3), m facing one problem when refreshing Webi report on daily basis. I am using three query level filter as a prompt, but i checked one filter is not working then i need to reapply this filter and rest 2 filter is working fine.
    Can anyone suggest me why problem is coming?
    Regards,

    Hi,
    Prompts are interactive, and come from the query panel. Filters are not interactive, and are set on the report or block. There are also input controls, which are interactive filters
    1. Select the universe in the list of universes to open the Query Panel.
    2. Drag the Year object to the Result Objects pane.
    3. Drag the Number of Guests object to the Query Filters pane and create a report filter that restricts Number of Guests to greater than n.
    4. Click Combined Query.
    The Combined Query pane appears in the bottom left of the Query panel with the two queries joined by UNION.
    5. Click on the second query and remove the Year and Number of Guests objects.
    6. Drag the Reservation Year object to the Result Objects pane.
    7. Drag the Future Guests object to the Query Filters pane and create a report filter that restricts the future guests to greater than n.
    8. Click Run Query.
    Best Regards
    Naveen

  • WEB BEx Analyzer Comments on Query level

    I would like to enable BW users to create comments for some queries an enable other user to read them. System BW 7.01.
    Issues and questions:
    -how to create comment on query level - it's always on data (KYF), Metadata or Master data level
    -I would like to show the document icon - next to the query title (it's relevant for the query)
    -when I create Comments (with the button in the standard template), it's on the data level (combination of KYF) - and when I
    switch to icon display (settings) I get icons in every line. If this would be just at KYF header??
    -where can I edit, delete, ... recorded comments
    Thanks, Tom

    Hi Tom,
    1) If you want to create comments on query level, you need to create metadata documents, object type 'ELEM', object name is the technical name of the query.
    2) Document icons are always shown in the data table. Thus it will be hard to show a document icon for a document on query level. If you are using web templates, you can insert a single document item on metadata documents to display the comment on the query.
    3) Where the document is displayed depends on the document properties. If a characteristic is document property depends on the infoobject setting -> transaction RSD1 -> enter the characteristic -> tab 'general'.
    To see the document properties you can execute the query for example in RSRT (html mode) -> create a new document on any cell. On the bottom you will see the document assignment. Compare this assignment with the cell next to it. If its the same the document will be displayed in both cells. The same can be done for example in java web -> create a new document and switch to the second tab ('BI').
    4) Documents can be edited and deleted in the document browser itself, when you open the document in the executed query or in transaction RSA1 -> documents.
    Best regards,
    Janine

  • Query Level Analysis Authorization

    Experts,
    I have a requirement to provide Analysis Authorizations at a QUERY level.  For example, I have two analysis authorizations: (1) Org Unit and (2) Material Number.  I populate each of these Analysis Authorizations using a BEx Variable (through RSECAUTH) and customer exit "EXIT_SAPLRRS0_001".  In the user exit I look up what authorizations the user has for each field in a custom table.  For example, User A has access to Org Unit ORG1 and Materials M1, M2, M3.  User B has access to Org Unit ORG2 and Materials M4, M6, M8.  The Analysis Authorizations are assigned to the users via S_RS_AUTH object and it works perfectly.
    However,  we now have a new report, where we would like continue restricting the user to ORG1 but allow them to see ALL Materials.  But this requirement is only for a couple of reports. All other reports should continue to enforce BOTH restrictions.
    I don't see a way to determine which query the user is running.  In the user exit for normal variable exits, I can reference the field i_s_rkb1d-compid which has the query technical name.  But when filling the authorization variable in I_STEP = 0, that field is not populated.
    Has anyone experienced a way to create authorizations at a query level?  Is there an SAP InfoObject like 0TCAACTVT where I can specify a query name?  Your help is greatly appreciated.  Thanks!
    J

    Hi,
    SAP BW Authorization is definitely different from R/3 authorization. Why? Well, first, R/3 authorization usually involves up to the transaction code level. But for SAP BW, the mostly used transaction is "RSA1" and "RRMX". Therefore, authorization based on transaction code alone, is definitely not sufficient.
    So how do we design authorization in SAP BW? There's a few authorization objects that relates to SAP BW.
    For reporting, you will most probably use the following SAP BW authorization object:
    S_RS_COMP - Reporting Component, here is where you control the query authorization blah blah.
    S_RS_COMP1 - Reporting Component Owner, you can control users to only be able to access report created by Power Users, here.
    S_RS_FOLD - Disable/Enable the 'InfoAreas' button.
    Besides that, you will also need to configure the following authorizations:
    S_RS_ICUBE - Infocube authorization
    S_RS_ODSO - ODS Objects
    S_RS_HIER - Hierarchy Authorization
    For SAP BW administration purposes, aside from the above, you also need to configure the following authorization objects:
    S_RS_ADMWB - Administrator Workbench
    S_RS_IOBJ - Info Objects authorization
    S_RS_ISOURCE - Transaction Infosource
    S_RS_ISRCM - Master Data Infosource
    There that's what you need for authorization. Anyway, to achieve "field level" authorization like those in R/3, you can create a customize object, select the infoobject that has been set "authorization relevant", and add it in the authorization matrix, and walla, you got "field level" authorization.
    and refer the below link,
    Re: BI 7.0 Analysis authorization- How to control
    Hope it helps you,
    Regards,
    Ravindra.

  • Error in result set from join query

    I get a SQL exception from the JDBC thin driver when I make a getXXX( "string" ) call on a result set object when the query is a join. Aliases don't seem to help.
    Below is the stack trace.
    Anybody have any ideas?
    matt
    ResultSet.findColumn
    java.sql.SQLException: Invalid column name: get_column_index
    at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:427)
    at oracle.jdbc.driver.OracleStatement.get_column_index(OracleStatement.java, Compiled Code)
    at oracle.jdbc.driver.OracleResultSet.findColumn(OracleResultSet.java:680)
    at person.PersonMgr.getForEdit(PersonMgr.java:114)
    at person.PersonMgr.getForView(PersonMgr.java:168)
    at person.PersonMgr.getPersonForView(PersonMgr.java:164)
    at nwsession.NWSession.login(NWSession.java:224)
    at jsp.dologin._jspService(dologin.java:241)
    at com.livesoftware.jsp.HttpJSPServlet.service(HttpJSPServlet.java:31)
    at com.livesoftware.jsp.JSPServlet.service(JSPServlet.java:129)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
    at com.livesoftware.jrun.JRun.runServlet(JRun.java, Compiled Code)
    at com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java:116)
    at com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(JRunProxyServiceHandler.java, Compiled Code)
    at com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.java, Compiled Code)

    Your reference to NS.REQDATE is too deep. Oracle will only allow you to reference a column from the main query one level deep.
    I think you can just change that query into this:
    (Select AVG(((cpath.REQUESTDATETIME)- NS.REQDATE)*1440) AvgTime
    FROM usersessiondetails cpath
    Where cpath.Userkey=(Select Userkey from ods_user where userid=NS.UserId and namespace=NS.Namespace)
       and cpath.acctnum=aCCTNUM
       and cpath.transactionname IN (AUTH_LOGOFF' )
       and cpath.REQUESTDATETIME = NS.REQDATE )You do not need the extra query level to do the AVG.

  • HOw to achieve this at report/query level

    Hi Experts
    Please update me how can i achieve this at query level
    Lets Consider Data in my Cube
    Dept_id--Date--
    Qty
    -101.01.20093-----
    -101.01.20095-----
    -101.01.20098-----
    -101.01.20091-----
    -101.01.20099-----
    That is how data is avaliable in my cube
    When i run the report the output is displayed as
    Dept_id--Date--
    Qty
    -101.01.200926-----
    That is what it actually do...it will sumirises into one record.....
    BUT
    My requirment is the query result should be ....with out summarisation
    Dept_id--Date--
    Qty
    -101.01.20093-----
    -101.01.20095-----
    -101.01.20098-----
    -101.01.20091-----
    -101.01.20099-----
    Please update me is there any setting i can make at query level

    Hi,
    By default data will be aggregated in Query.
    How come data available in Cube at different aggregation level...? due to request no or some other characteristic which is unique for each record...??
    If some other characteristic available, make it available that characteristic in rows to get desired result.
    Srini

  • Information Broadcasting Authorization at Query Level

    Hi,
    I would like to know, is there any way to authorized a user at query level in information broadcasting?
    For example, there are three plant P1,P2 and P3 showing in Query, now i want to broadcast this query to E-mail to two user U1 and U2 in following manner.
    1.) User U1 get only Plant P1 Data.
    2.) User U2 get only Plant P2 Data.

    Yes, you can do that. For that;
    Plant should be authorization relevant info object
    (ii) you must have roles to give access to users at Plant level
    (iii) Users U1 and U2 must be SAP user IDs and should have required role for Plant access
    (iv) Query to be broadcasted must have auhtorization variable for Plant
    Once the basic setup is ready, you can test it by executing the report for individual users U1 and U2 and they should see data only for respective Plants.
    Now in the broadcasting setting, specify the users U1 and U2 in User box seperated by semi-colon and tick the checkbox "User Specific" - this will make sure that data is executed as per the data aurthoziation and also format will be selected as per the user profile (date format etc).
    If U1 and U2 are not the SAP users, you will have give their email addresses and will have to create two different broadcast settings to send data for selection plants.
    I hope it helps.
    Regards,
    Gaurav

  • Local Currency At query Level

    Hi All,
    Is their a way to permanently set local currency at query level. Or do we have to set the currency conversion on all the fields.
    Kind Regards
    James

    Yes,You will have to set at each KF at query level.But if you want for all the KF's at one shot,you may have to do the currency conversion for all the KF's at backend cube level  in transformations.
    Is this conversion based on the current day at query level?, if so, the cube level calculations would not be right since the cube data will get conversions based on that days load.

  • Variable currency on query level (not KYF)

    Hello,
    I'm currently looking for an easy way to get a variable screen with one currency selection entry for all query amount key figures. Till now I used an own currency translation type with a target currency from a variable. But this I have to assign to every key figure in my query.
    Isn't it possible to set such a variable currency on query level and not on key figure level?
    Thanks for your help.
    Frank

    Hi
    I dont think whether there is a way to maintain currency translation at the query level.But you can map them to a fixed target currecy in mapping in the update rules itself....which will be universally available for you in the same currency in all the queries.....if you want specific to queries....i dont think there is a easy way
    Assign points if useful
    Thanks
    N Ganesh

  • Want to convert MMDDYYYY to DDMMYYYY at Query level

    Hi All,
             I have done all the user settings for DDMMYYYY format. However till cubel level its coming in DDMMYYYY format. In query its showing MMDDYYYY, is there any setting in Analyzer which i need to do to fullfill the requirement.
    I have gone with FM too, however when am getting at cube level the way i require at query level its in MMDDYYYY format.
    Regards,
    Krishna.

    Hi,
    Craete Custome Exit Variable on CalDay and use the follwoing code in CMOD
    In the following code I declared ZT_DT1 as SY-DATUM, I think in your case you change the data type and check, but the code is same, you need to check data typs only.And also if required use LOOP and ENDLOOP else delete it directly use Variable 'ZT_DAY1' .
    i.e.
    WHEN 'ZT_DAY1' .
            ZT_DT2 TYPE SY-DATUM,
              ZT_SDT TYPE SY-DATUM,
              ZT_YR(4) TYPE N,
              ZT_DY(2) TYPE N,
              ZT_MT(2) TYPE N,
              ZE_TT(2) TYPE N.
              ZT_SDT = SY-DATUM.
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              ZT_DY = loc_var_range-low+6(2).
              ZT_MT = loc_var_range-low+4(2).
              ZT_YR = loc_var_range-low+0(4).
              CONCATENATE ZT_DY ZT_MT ZT_YR INTO ZT_DT1.
              l_s_range-low = ZT_DT1
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
    Else
    WHEN 'ZT_DAY1' .
        DATA: ZT_DT1 TYPE SY-DATUM,
              ZT_DT2 TYPE SY-DATUM,
              ZT_SDT TYPE SY-DATUM,
              ZT_YR(4) TYPE N,
              ZT_DY(2) TYPE N,
              ZT_MT(2) TYPE N,
              ZE_TT(2) TYPE N.
              ZT_SDT = SY-DATUM.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZCDAY'.
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              ZT_DY = loc_var_range-low+6(2).
              ZT_MT = loc_var_range-low+4(2).
              ZT_YR = loc_var_range-low+0(4).
              CONCATENATE ZT_DY ZT_MT ZT_YR INTO ZT_DT1.
              l_s_range-low = ZT_DT1
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
          ENDLOOP.
    Thanks
    Reddy

  • Date to Month Conversion at Query Level.

    Hi,
    I have Net due date in the Info provider.
    At query level i have to create a restricted keyfigure based on Net Due Month.
    Is there any way i can calculate Net due month at runtime and then create the restricted keyfigure using the net due month instead of using net due date directly(linke 01-10-2010 to 31 -10-2010 for october 2010).
    Thanks and Regards,
    MuraliManohar.

    Hi,
    Is there any way i can calculate Net due month at runtime and then create the restricted keyfigure using the net due month instead of using net due date directly(linke 01-10-2010 to 31 -10-2010 for october 2010).
    you can calculate , but as he said you can add in cube ,  may be for cal month you are taking som eother date field.
    in this case write one customer exist code .
    create one varaibel on netdue date with customer not ready input (if user wants to enter input then ct=reate user entry varaible with reday input by using customer exit).
    in routine wriet the code as when that varaible .
    l_s_range - high , low and give then take the month form that date
    like netdue date +0(6)-- gives month and year
          netdue date +0(2)-- gives month
    then rtestrict that variable with your keyfigure.
    Thanks & Regards,
    sathish

  • How to set at the server level to log transport request in SAP ME

    Hi:
    when I do configuration in SAP ME, can I set at the system level to log for transport request ?
    so I can  use transport request for other client or server.

    Hi!
    There is no "transport request" in SAP ME, however, there is Configuration Data Transfer Export/Import activity which can export the data to ZIP file at the source site and then import that file at the destination site.
    CDT activity can utilize CTS+ as a transport channel but I would suggest ZIP file instead because the file can be edited manually in case of any issue or if you want to remove some data.
    For details, please consult this How-To Guide.
    Regards,
    Sergiy

  • Logical Formula at query level?

    I have requirment like if D =  0 then ' ' (SAPCE) else E / F.
    I dont know how to get space ?
    please help me to create this formula at query level?

    hi Hari,
    I am not really sure ,but u can try this...
    if D = 0 then ' ' (SPACE) else E / F.
    use the same formula and make it Zero instead of space and then in the Query properties replace Zero with Blank or Space Values.
    Rgds
    SVU123
    Edited by: svu123 on Sep 30, 2010 6:53 AM

  • Infoset resulting multiple results at query level

    Hi,
    I have joined 1 DSO and 1 Infocube in Infoset.. Mapped Plant, Material and Batch
    DSO
    Plant     Material      Batch      Caldate         Qty
    P1          M1          B101          01/02/2014     1000
    P2          M2          B102          05/02/2014     2000
    Infocube
    Plant          Material         Batch     Caldate               %
    P1               M1               B101          02/02/2014          20
    P1               M1               B101          05/01/2014          20
    P2               M2               B102          07/02/2014           15
    I'm considering date only on DSO and ignoring Infocube date. When I execute the report for the month of February, report output is as follows.
    Plant   Material     Batch     DSODate         Qty           %
    P1          M1               B101     01/02/2014          1000          40 (Summing up with January Date)
    P2          M2               B102     05/02/2014          2000          15
    I want data % value to be 20%.
    Is there any possibility to change at query level or join level.
    If we have one line item, data is correct but not the case with multiple line items.
    Kindly do the needful!
    Thanks
    SS

    Hi,
    When you join the two infoproviders in the infoset ignoring infocube date, you are creating as many records for each record in DSO. That means for the first record the infoset creates :
    Plant     Material      Batch      Caldate         Qty     %
    P1          M1          B101          01/02/2014     1000  20   (for first row in infocube)
    P1          M1          B101          01/02/2014     1000   20  (for second row in infocube)
    I also think same as Anshu, you have all the common characteristics, you can as well use a multiprovider.
    regards
    Yasemin...

Maybe you are looking for