"Variable applied"display  after query execution  through WAD incorrect

Hi ,
In my queries i provide varible entries for  0FISCPER, 0FISCVARNT along with other variables.In the query i dispplay the values for the variables applied.When i run these queries through 2004s WAD  if i were to select 0FISCPER = 01/08/2007 and 0FISCVARNT = AK after query execution the variable applied displays - 
<b>0FISCPER = AK/01/08/2007
0FISCVARNT = #</b>.
It works fine on 3.5 templates.We are on SP9.We have a sandbox also and i tested it out in sandbox  and have no problem there.
Is anyone facing the same issue?
Regards,
Shiva

Not much experience in WAD but I think there should be a query in BEx Query Designer.
There you can choose that characteristics which takes time. Select "Advanced" tab from right hand side.
Under "Filter Value Selection During Query Execution"  you will get 4 options.
BTW if you have a query on DSO then creating index ( secondary) on the affected characteristics would also resolve your problem
Regards
Anindya

Similar Messages

  • Only overall result need tp be displayed after query execution

    Hello Everyone,
                                        I am requirement on query analysis " OVERALL RESULTS".  The scenario is explained below.
                                I am dealing with  BW HR Reporting. Now if i execute the query  from 2008. 01 to 2008 03. The Result will be displayed for 2008.01, 2008.02, 2008.03. and atlast the overall result. The requirement is , after executing the query for the calday 2008.01. to 2008.03 , i need to get  only the OVERALL RESULT". The details of the individauls months will be taken care at the jump target level.
                               Can somebody give th inputs from your end, so that only the overall results will be displayed.
                               Appreciate your immediate response. Thanks in advance.
    Regards,
    pradeep

    Hi
    How about suppress results on the characteristic properties
    Regards

  • Unable to select the filter value after query execution

    hi,
    I am unable to drill down my keyfigures.
    1.i have a lC and GC values out of which GC is hidden so after the query execution i would like to filter my value between GC and LC but i do get only LC value in the filter and i do not get GC value to select .
    Could any one tell me how this can be done.this is very urgent.
    Thx
    Subha

    resolved on my own,so i am closing this.
    Thx
    Subha

  • Date should be displayed on query execution

    hello all
    when v execute a query date should display when query is executed.like if i execute query on 01/06/2006 this date should be displayed and when execute query on 01/02/2006 this date should be displayed?,like that so on?
    kindly anyone let me know how it should be done?
    how this should be done?
    many thanks

    hi Balaji,
    in bex analyzer, you can display the date with menu business explorer -> display text elements -> general, you will see some info, 'author'... 'last refreshed'.
    in web (WAD) you can use web item 'text element' and choose element type 'general text' and
    element id 'SYUZEIT'.
    element id can be used
    general text elements:
    - technical name of the query (REPTNAME)
    - description of the query (REPTXTLG)
    - InfoProvider (INFOCUBE)
    - key date for the query (SRDATE)
    - validity of the data (date and time) (ROLLUPTIME)
    - the person who wrote the query (AUTHOR)
    - the last time the query was changed (date and time) (MODTIME)
    - the last person to make changes to the query (MODUSER)
    - current user (SYUSER)
    - the last time the query was refreshed (date and time) (SYUZEIT)
    hope this helps.
    Message was edited by: A.H.P

  • After Query execution report throwing "500 Internal server error".

    I have created a new query and transported to QA till last week it was working, due  to some testing perpose I have created copy query and added new functionalities and was successful and still working fine in QA.
    After that I have made the same changes in DEV and moved the original query one to QA and after execution report is throwing an error "500 Internal server error".
    Contacted BASIS and they said the conncections are fine.
    Can anybody please suggest to resolve this issue!
    Regards,
    VJ

    Hai All,
    First I am running the report from Query designer...
    And Main report is created in DEV, moved last week into QA , then saved as MAIN_copy in QA  and added extra fields was running fine.
    Then went to DEV made the same changes to MAIN report like for the Query MAIN_copy and tranported to QA, now MAIN query is throwing "500 internal server error when i am running from query designer in QA.
    When i try to run from RSRT it is going to debug screen @ the breakpoint and caught exception, if i stop and see the error it shows the below
    System error in program SAPLRZI0 and form RESOLVE_SELECTION_OBJECT-01- (see long text)

  • Exception in query execution through JDBC code

    Hi all,
    I am getting the following error when I am trying to use JDBC in a web dynpro application. I need to execute select query on table XI_AF_MSG.
    java.sql.SQLException: Invalid object name 'BC_DDDBTABLERT'
    When I tried to debug the code, I came to know that connection is getting done successfully but error comes when I try to execute the query.
    Can anyone help me to solve the problem?
    Regards,
    Bhargav

    Sure I can show my code.
    try {
         //        Get the database connection
              InitialContext dbInitContext = new InitialContext();
              String dbName = "jdbc/SAP***DB";  //datasourcename
              DataSource dataSource = (DataSource) dbInitContext.lookup(dbName);
              Connection conn = dataSource.getConnection();
              str=str" Connection is done successfully. "dataSource.toString();
              messageMgr.reportSuccess(str);
              String SelectStmt = "Select * from XI_AF_MSG";
         //        Prepare the SQL statements
         str=str+" before preparing statement";
                   messageMgr.reportSuccess(str);
              Statement stmt = conn.createStatement();
              str=str+" statement is prepared.";
                        messageMgr.reportSuccess(str);
         //        Execute the Query
              ResultSet resultSet = stmt.executeQuery(SelectStmt);
              str=str+"query is executed.";
                        messageMgr.reportSuccess(str);
    catch(Exception e)
    As you can see in the code, I have created messages at several points. When I execute the application, i can see message "statement is prepared" before exception is thrown. It means, connection is getting established and statement is also getting created but query is not getting executed.
    Regards,
    Bhargav

  • Error after Query Execution

    hi

    HI all,
    While Executing i am finding this ERROR
    " warning your user master record is not sufficiently maintained for auth ob "
    Please help me out
    Regards,
    Prasad

  • F4 Help in Variable Screen during Query Execution

    Hi All,
    We are executing queries through WAD. The F4 help in the variable screen during query execution is taking a lot of time.
    SAP note 661251 suggests changing the F4 mode to M. We need to change the booked value parameter.
    I looked into the standard WAD web template but i'm not seeing any options/ooked value parameter.
    Please suggest where I need to go to change the parameter. Thanks.
    Regards,
    Vivek

    Not much experience in WAD but I think there should be a query in BEx Query Designer.
    There you can choose that characteristics which takes time. Select "Advanced" tab from right hand side.
    Under "Filter Value Selection During Query Execution"  you will get 4 options.
    BTW if you have a query on DSO then creating index ( secondary) on the affected characteristics would also resolve your problem
    Regards
    Anindya

  • Problem with hierarchy variable while displaying query in Portal

    Hi,
    I came up with an problem with a query in the portal.  The problem is :
    I have one query which is displayed in the portal. The Query has hierarchial selection criteria. I am executing the same query using analyzer. Its taking the variable from the selection and displaying it on the analyzer. I have used the option to " display the query on web " from the BEX query designer. From there its opening and displaying the results with the given selection criteria.
    Where as when i open the query seperately in portal, its not displaying the results.
    I came to know from one of my colleague that the porblem is with the Web item and the hierarchial variable declared in WAD  was different from the variable declared in the BEX Query designer.
    I never Worked with WAD. I tried finding out the variable definition. But i was unable to find out where the Hierarchial variable was defined.
    Please help me out regarding the same.

    The problem is sovled.
    Poornima.

  • Inserting into Table-in-Table after re-execution the Outer Table query

    Hi Gurus,
    I have a problem with inserting into Table-in-Table after re-execution the Outer Table query:
    The problem:
    I have two tables; both tables are based on VO; tables have a VL between them;
    The Inner Table is hidden when page lode.
    I'm executing the Outer Table, open the details to see the Inner Table, I can add rows to the Inner Table. Everything is OK.
    But-
    After I'm executing the Outer Table again –
    Adding new rows to the Inner Table is not work anymore, despite I'm executing the Inner Table RowSet query.
    Scenario is:
    In processRequest():
    In the processRequest() I'm calling executeQuery() of the Outer Table Only.
    (So the Details executeQuery() will be done by VL and Its works fine.)
    In processFormRequest():
    User opens the details to see the Inner Table.
    On some event, I'm executing the Outer Table query.
    On some other event, programmatically I am inserting a new row to the Inner Table, and a new row is displayed in the Inner Table as I wanted.
    In this way, one row after another, I can add as many rows as I wish, without any problem.
    (This scenario should behave as same clicking on button of type "Add-Another-Row", just adding the row automatically)
    The code for the inserting (as specified in the chapter "Classic Tables" --> "table-in-table"):
    OARow newRow = (OARow) innerRowSet.createRow();
    innerRowSet.insertRow(newRow);
    innerRowSet.setRangeSize(innerRowSet.getRangeSize()+ 1);
    innerRowSet.executeQuery();
    If the user won't cause to re-execution of the outer table – no problem occurs.
    * Should I add something after the Outer Table VO execution?
    * Maybe to the inserting to the Inner Table code?
    Please help…

    Hi, Thanks.
    I don't know which one of the Outer Table rows is the current row,
    But-
    Only the Details (the Inner Tables) who where opened before the executeQuery() of the Outer table are not acts as they should.
    All the Details who where closed before the executeQuery() of the Outer table are still works fine.
    Please advise.

  • SEM_MATCH query execution time when a predicate is set as a variable

    Hello there,
    Our ontology contains 70 million triples (12.5 million asserted triples and 58 million inferred triples). We created a virtual model which includes both asserted and inferred triples).
    Our semantic network index configuration is 'PSCM' (index status is valid).
    The problem we encounter is when we run a SEM_MATCH query which includes a predicate as a variable, the query ran for 22 seconds. When a similar query is run when the variable is subject or an object or both the time for the SEM_MATCH query execution is 0.2 seconds. Is this reasonable? What do we do wrong?
    For example:
    1. Predicate as a variable (execution time is 22 seconds):
    SELECT a FROM TABLE ( SEM_MATCH
    ( ' { <http://www.tomproj.com/rep#entity_4> ?a 4 }',
    SEM_MODELS( 'TOM_VIRTUAL_MODEL') ,
    NULL,
    NULL,
    NULL,
    'ALLOW_DUP=T'));
    2. Subject as a variable (execution time is 0.2 seconds):
    SELECT a FROM TABLE ( SEM_MATCH
    ( ' { ?a <http://www.tomproj.com/rep#id> 4  }',
    SEM_MODELS( 'TOM_VIRTUAL_MODEL') ,
    NULL,
    NULL,
    NULL,
    'ALLOW_DUP=T'));
    2. Object as a variable (execution time is 0.2 seconds):
    SELECT a FROM TABLE ( SEM_MATCH
    ( ' { <http://www.tomproj.com/rep/#entity_4> <http://www.tomproj.com/rep#id> a }',
    SEM_MODELS( 'TOM_VIRTUAL_MODEL') ,
    NULL,
    NULL,
    NULL,
    'ALLOW_DUP=T'));
    Cheers,
    Doron

    Hi,
    So far no lack, None of the solutions are working.
    Query execution time didn't change after executing the following:
    1. SEM_APIS.DROP_SEM_INDEX('SCP');
    2. SEM_APIS.ADD_SEM_INDEX('SCPM');
    3. SEM_APIS.ALTER_SEM_INDEX_ON_MODEL('TOM','SCPM','REBUILD');
    4. SEM_APIS.ALTER_SEM_INDEX_ON_MODEL('TOM_TF','SCPM','REBUILD');
    5. SEM_APIS.ALTER_SEM_INDEX_ON_RULES_INDEX('TOM_RI','SCPM','REBUILD');
    My original query (see below) execution time remains 22 secs.
    SELECT a FROM TABLE ( SEM_MATCH
    ( ' { <http://www.tomproj.com/rep#entity_4> ?a 4 }',
    SEM_MODELS( 'TOM_VIRTUAL_MODEL') ,
    NULL,
    NULL,
    NULL,
    'ALLOW_DUP=T'));
    When running the SEM_MATCH on each model ('TOM,'TOM_TF') separately execution time was very fast (~0.007 secs):
    1. SELECT a FROM TABLE ( SEM_MATCH
    ( ' { <http://www.tomproj.com/rep#entity_4> ?a 4 }',
    SEM_MODELS( 'TOM') ,
    NULL,
    NULL,
    NULL,
    NULL));
    2. . SELECT a FROM TABLE ( SEM_MATCH
    ( ' { <http://www.tomproj.com/rep#entity_4> ?a 4 }',
    SEM_MODELS( 'TOM_TF') ,
    NULL,
    NULL,
    NULL,
    NULL));
    When running the query on both models, execution time was 54 secs:
    SELECT a FROM TABLE ( SEM_MATCH
    ( ' { <http://www.tomproj.com/rep#entity_4> ?a 4 }',
    SEM_MODELS( 'TOM','TOM_TF') ,
    NULL,
    NULL,
    NULL,
    NULL));
    We also run the original query via the Jena Adaptor using Java language and SPARQL, but the results were similar.
    As for using parallel parameter in SEM_APIS.ALTER_SEM_INDEX…, since we are using Oracle 11g release 1 the SEM_APIS.ALTER_SEM_INDEX doesn’t support the parallel parameter as far as we know.
    In Oracle 11g release 2 the SEM_APIS.ALTER_SEM_INDEX was extended to support the use of 'parallel' parameter.
    Any ideas on what do we do wrong?
    Cheers,
    Doron

  • Asset query execution performance after upgrade from 4.6C to ECC 6.0+EHP4

    Hi,guys
    I am encounted a weird problems about asset query execution performance after upgrade to ECC 6.0.
    Our client had migrated sap system from 4.6c to ECC 6.0. We test all transaction code and related stand report and query.
    Everything is working normally except this asset depreciation query report. It is created based on ANLP, ANLZ, ANLA, ANLB, ANLC table; there is also some ABAP code for additional field.
    This report execution costed about 6 minutes in 4.6C system; however it will take 25 minutes in ECC 6.0 with same selection parameter.
    At first, I am trying to find some difference in table index ,structure between 4.6c and ECC 6.0,but there is no difference about it.
    i am wondering why the other query reports is running normally but only this report running with too long time execution dump messages even though we do not make any changes for it.
    your reply is very appreciated
    Regards
    Brian

    Thanks for your replies.
    I check these notes, unfortunately it is different our situation.
    Our situation is all standard asset report and query (sq01) is running normally except this query report.
    I executed se30 for this query (SQ01) at both 4.6C and ECC 6.0.
    I find there is some difference in select sequence logic even though same query without any changes.
    I list there for your reference.
    4.6C
    AQA0FI==========S2============
    Open Cursor ANLP                                    38,702  39,329,356  = 39,329,356      34.6     AQA0FI==========S2============   DB     Opens
    Fetch ANLP                                         292,177  30,378,351  = 30,378,351      26.7    26.7  AQA0FI==========S2============   DB     OpenS
    Select Single ANLC                                  15,012  19,965,172  = 19,965,172      17.5    17.5  AQA0FI==========S2============   DB     OpenS
    Select Single ANLA                                  13,721  11,754,305  = 11,754,305      10.3    10.3  AQA0FI==========S2============   DB     OpenS
    Select Single ANLZ                                   3,753   3,259,308  =  3,259,308       2.9     2.9  AQA0FI==========S2============   DB     OpenS
    Select Single ANLB                                   3,753   3,069,119  =  3,069,119       2.7     2.7  AQA0FI==========S2============   DB     OpenS
    ECC 6.0
    Perform FUNKTION_AUSFUEHREN     2     358,620,931          355
    Perform COMMAND_QSUB     1     358,620,062          68
    Call Func. RSAQ_SUBMIT_QUERY_REPORT     1     358,569,656          88
    Program AQIWFI==========S2============     2     358,558,488          1,350
    Select Single ANLA     160,306     75,576,052     =     75,576,052
    Open Cursor ANLP     71,136     42,096,314     =     42,096,314
    Select Single ANLC     71,134     38,799,393     =     38,799,393
    Select Single ANLB     61,888     26,007,721     =     26,007,721
    Select Single ANLZ     61,888     24,072,111     =     24,072,111
    Fetch ANLP     234,524     13,510,646     =     13,510,646
    Close Cursor ANLP     71,136     2,017,654     =     2,017,654
    We can see first open cursor ANLP ,fetch ANLP then select ANLC,ANLA,ANLZ,ANLB at 4.C.
    But it changed to first select ANLA,and open cursor ANLP,then select  ANLC,ANLB,ANLZ,at last fetch ANLP.
    Probably,it is the real reason why it is running long time in ECC 6.0.
    Is there any changes for query selcection logic(table join function) in ECC 6.0.

  • Display Query performance in WAD

    All
    Is there a way to display the query performance statistics in the report result for a web report created in the WAD (is there a standard template/web object?
    Eg display number of records read and time taken for query result.
    I am sure I have seen this in SAP demos but don't know if it is a standard content offering
    Thanks
    Gidon

    Thanks, very helpfull.
    I´m using BI 7.0
    However, when I do as you suggested, I still get the query name, not the query view name.
    The query view should be selected dynamically from the view that is displayed at that moment.
    Also, can you incorporate saved views from the Bex Portfolio and display their names?
    Edited by: Max Cohen on Sep 11, 2008 5:16 PM

  • BI SDK/XMLA (MDX) - Does the query execution go through SAP BI Accelerator?

    Environment : Portal - EP7.0 SPS 14, BI 7.0 SPS17
    I have written customer report views which uses the BI SDK to execute BI querries through the portal.
    Following link provides the detail about configuring the portal to access the BI system and execute queries through XMLA which used MDX statements on the BI system...
    http://help.sap.com/saphelp_nw04s/helpdata/en/ba/e380e03c3a4dbf8cf082f0c910f9cf/frameset.htm
    Does the the BI XMLA interface go though the SAP BI Accelerator to speed up query execution? I have provided the link below about SAP BI Accelerator...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3604c604-0901-0010-f0aa-b37378495537
    If the answer is yes, how do I prove it?
    Any help is really appreciated.
    Thanks
    Bhabesh Patel

    You prove it because SAP said so:
    /docs/DOC-7992#section7
    just kidding
    You can also run an ST05 trace (with RFC on) and look for the RFC call TREX_RFC_AGGREGATE_SP5

  • Displaying messages after BDC execution

    Dear All,
    I am running a BDC to change the pricing of the return document in transaction VA02. The BDC is getting executed after the execution of one report which is diaplying some records in the output. The output values of the report are : Check Box, Sales Document No & Billing Document No.
    After the BDC is executed for the selected records, I am getting a screen which displayes me for each record if that has been executed successfully or is there any error while executing BDC.
    Now, I want that after the BDC has been executed, a list should be displayed which just shows about the Sales Document No which has been processed successfully by the BDC and another list which displays about the Sales Document No which are not processed successfully.
    Kindly guide me on how I can proceed on this.
    Waiting for your reply.
    Warm Regards,
    N.Jain

    hi Nishu..
    Use the BDCMSGCOLL structure to capture the Messages:
    Using BDCMSGCOLL Structure we have to declare an itab.
    DATA : IT_MSG LIKE TABLE OF BDCMSGCOLL .
    Then We can catch the messages using:
    CALL TRANSACTION 'MK01'
    USING IT_BDCDATA
    MODE 'N'
    MESSAGES INTO IT_MSG.
    IF sy-subrc ne 0.
    LOOP AT IT_MSG INTO WA_MSG
    WHERE MSGTYP = 'E' OR MSGTYP = 'A'..
      <<process Error messages>> 
    ENDLOOP.
    Else.
    LOOP AT IT_MSG INTO WA_MSG
    WHERE MSGTYP = 'S'
      <<process Success messages>> 
    WRITE:/ 'Doc No', WA_MSG-MSGV1.
    ENDLOOP.
    Endif.
    <b>reward if Helpful.</b>

Maybe you are looking for

  • Messages Out of Order

    Hi there!  Hoping someone can help with this problem: all of my new emails, texts and bbm's instead of depositing on the top of my folder (newest first) are all being received throughout my inbox on different dates, rather than on today's date. Does

  • Drawing with cairo's Xlib backend

    Alright, so I'm new to cairo in general, and I'm working on a project written in C using cairo and xlib. One of the things it's meant to do is prompt the user for their password, and display the masked password (i.e. "******"). Now, the masked passwo

  • Why Won't Permission Repair Repair The Permissions?

    Upgraded to latest iTunes today, 11.1.1, an i get a tone of permission problems. While it says it repaired them, I reboot again and the same thing, it repairs the permissions. Questions. 1. Why is permission repair not repairing the bloody permission

  • I am waiting on answer from my first question!

    Why can I not rent an itunes movie?  I have entered my Apple ID and my Visa information.  I am just told over and over and over again.....go to apple.comsupport/itunesww/,

  • Personal hotspot disappear

    My ph is iph4. I've been using personal hotspot 4 a long time. Today when I'm opening it I changed my position & I think I might touch some buttons accidentally. Then I can't turn on personal hotspot. And I reset network setting , now the hotspot but