How to analyse in Query Designer

As per Query,
1.
Deferred Holidays  = 'Deferred annual leave days' + ' Deferred annual leave days, / previous year' - 'Deferred holidays taken this year'
After executing query i am getting ansswe as "-1", but as per client it has to come as "0"
What is approach for analysing query
2.
Holidays left
*'Remaining annual leave, this year' + 'Remaining annual leave, old' - 'No. of paid annual l' - 'Deferred annual leave days'*
As per client  it has to be 38, but as per query we are getting 33
ALL THESE ARE MENTIONED IN COLUMNS ONLY.
What is approach for analysing query

Hi Sri,
Narrow down your output, as you gave example like 0 or 38.
Check for same in your cube/DSO. E.g. if you are looking for this data based on employee then search for that emplyee info in your data provider.
Do the calculation on paper and confirm that data in cube is correct. If so then only you can be sure that problem is in the query.
then it will be easy fix, as you will have issue with your formula only. try to put all formula variable as individual column in report and then check the data.
If you reduce your result it will be easily identified for 1 record.
Thanks,
Vinod

Similar Messages

  • Bex Analyser vs query designer

    Gurus,
    1. Can some one enlighten me on the functionality of Analyser vs Query designer?
    2. We have installed NW2004s (BI7) with the standard Business content. I want to see the data along with the graphs when I execute the queries.
    I am able to create new web templates (using WAD) and use them in the EP, but do the standard reports (SAP delivered) have web templated assigned for them? How to activate them if this is the case.
    I am able to see some charts when I open the same query using the analyser.
    Please suggest any relevant documentation for me to read and understand.
    Thanks.

    Reporting Methods nw2004s
    You can use the BEx Analyzer, the Web Applications and the Web Analyzer for the Business Explorer for free multidimensional data analysis as a part of Enterprise reporting.
    Bex Analyzer
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ba/45583ca544eb51e10000000a114084/frameset.htm
    Web Applications
    http://help.sap.com/saphelp_nw2004s/helpdata/en/05/4b583cf7388362e10000000a114084/frameset.htm
    Web Analyzer
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70e18305-2356-2910-4bbe-9c1ebd751032
    Presentation - Publishing strategies
    SAP NetWeaver 2004s BI - Define your Publishing Strategy Part 2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6cc17893-0e01-0010-6d91-f9303b436d91
    Hope it Helps
    Chetan
    @CP..

  • How to analyse the query

    hi all,
    please tell me the order of execution of the below query.
    my doubt is here the data will be fetched for doc_type and doc_number is null or first it will fetch the data based on company,reference,partent from activity_details
    SELECT REFERENCE,SERIAL,JOB_NUMBER
    FROM PROCESS_DETAIL
    WHERE BASED_ON ='TBA'
    AND PROCESS_TYPE = 'H'
    AND STATUS IN('2','4','6')
    AND EXISTS (SELECT 1 FROM JOB_HEADER JH
                WHERE COMPANY = JH.COMPANY
                AND REFERENCE = JH.REFERENCE
                AND JH.STATUS IN('2','4','6'))
                AND NOT EXISTS (SELECT 1
                                FROM ACTIVITY_DETAILS
                                WHERE COMPANY = COMPANY
                                AND REFERENCE = REFERENCE
                                AND SERIAL    = PARENT
                                AND DOC_TYPE IS NOT NULL
                                AND DOC_NUMBER IS NOT NULL)please let me know how to analyse the query?

    Use alias for tables in SELECT clause. Try it.
    SELECT REFERENCE,SERIAL,JOB_NUMBER
    FROM PROCESS_DETAIL PR
    WHERE BASED_ON ='TBA'
    AND PROCESS_TYPE = 'H'
    AND STATUS IN('2','4','6')
    AND EXISTS (SELECT 1 FROM JOB_HEADER JH
                WHERE COMPANY = PR.COMPANY
                AND REFERENCE = PR.REFERENCE
                AND STATUS IN('2','4','6'))
                AND NOT EXISTS (SELECT 1
                                FROM ACTIVITY_DETAILS
                                WHERE COMPANY = JH.COMPANY
                                AND REFERENCE = JH.REFERENCE
                                AND SERIAL    = PARENT -- maybe PR. alias here
                                AND DOC_TYPE IS NOT NULL
                                AND DOC_NUMBER IS NOT NULL)

  • How to get the query design element meaning with the technical name ?

    In BI 7.0 query designer, we got error msg in Transport Connection like:
    Object 41PPHH3DICYQ56L2XJGXDRSMT is already being
    edited by user_id
    Choose 'Display object' or 'Cancel'.
    How to check what design element is for 41PPHH3DICYQ56L2XJGXDRSMT?  And what could cause the above error?
    We will give you reward points!

    You can collect the query and its elements in the transport connection. The under the technical name you will find this and the element.
    Hope this helps.
    Kumar

  • How to display in query Designer in a query the characteristics values of an infoObject in one cell

    Hello Community Members,
    I have query with 3 characteristics and 2 key figures, and
    want to expand the key figures values only with 2 characteristics, and display the different values of the 3. characteristic in the first cell at the corner of the query cell:
              C31,C32             C21                       C22                      C23        
              C33, C34
               C11                  KF11    KF21           KF12    KF22      KF13    KF23
              C12                   KF14    KF24           KF15    KF25      KF16    KF26
              C13                   KF17    KF27           KF18    KF28      KF18    KF28
              C14
    How to set the characteristic C3 in query designer, so that their values will all be displayed in the cell in the corner.
    many thanks for helping
    Arnaud

    Hi Arnaud,
    Your query structure is not dependent on your aggregation level (I guess you are referring to the Exception aggregation or just the results and not AL in IP).
    Number of columns will depend on the combination of C2 and C3 in this case. So columns will not be 6 but 24.
    So I suggest you to create a work book based on two queries. One will just give you the values of C3. Use Macro to take its values and concatenate it and display in a new table along with the data of other query.
    This solution is not flexible as workbooks usually have some restrictions on Bex Features. But your requirement is also not simple.
    Regards,
    Sujit.

  • Please help on how Bex execute the query designed in query designer.

    Hi All,
    Want to know how bex execute/interpret  the query when the query is execute in analyzer.
    I mean which part of the query is executed first, like  filter,RKF or CKF etc.
    Want to do step by step analysis .Please suggest on this.
    Thanks & Regards
    Sameer Khan

    HI,
    When u execute the query...It will fetch the Global filters data first ....means filters on Default values....then restrictions on Char Restriction pannnel....Then calculate the RKF and CKF,s....Conditions and Exeptions etc.......
    Thanks

  • How to integerate BEx query with Portal (Java)

    Hi folks,
    I installed SAP Netweaver 2004s Sneak Preview ABAP+JAVA , Stack 9 for Linux with VMWare test drive. I have configured and enabled BW/BI  in Netweaver. I have also configured SLD and its Status is "running" in J2EE engine.
    I designed one simple BI application through Tcode: RSA1, and then created Query for data analysis thruogh Query Designer. How can I establish the link between AS ABAP with AS JAVA to publish the query on portal. I want to use BEx Report designer and Web Application Designer, but I can't execute the result on the portal from these designer tools.
    Do I need to create RFC destination on both sides ABAP and JAVA, but how , anyone can give an example for the required procudure.
    thanks.
    Obaid

    Hi,
    Thanks all of you, Venkatramani Hariharan  , with the help of your given link I am able to to apply the part of the configuration from the document as described by the writer.
    But on Step No. 6 : Step 6: Import BW Certificate to the Portal
    Under Step 6:
    I succeeded to complete first 6 steps but from step 7 , author guided me to continue in Visual Administrator and choose <SID>/Server<#>/Services/Security Provider
    - Under Component, choose Ticket.
    - Choose the Authentication tab page.
    - Change the options for com.sap.security.core.server.jaas.EvaluateTicketLoginModule and enter the following values:
    like
    trustedsys<Number>=<BW_SID>, <BW_CLIENT> (for example, BWP, 000)
    u2022
    trustediss<Number>=<ISSUER_DISTINGUISHED_NAME> (z. B. CN= BWP, OU=SAP Web AS, O=SAP Trust Community, C=DE)
    u2022
    trusteddn<Number>=<SUBJECT_DISTINGUISHED_NAME> (z. B. CN= BWP, OU=SAP Web AS, O=SAP Trust Community, C=DE)
    But in the window all the modification button(s) are disbale like "Modify", "Remove", "Add New".
    So, Is there any way to make those enable to apply the changes. Please help me in this context.
    thanks
    Obaid.

  • Some question about the query designer

    hello, dear all,
    I am a new comer of here, and I am intersting in BI, but I have no basic knowledge about it.
    so I just want someone could give me some advice about it.
    our boss need I do the developer about the query designer,  I just have searched in this forum. but nothing founded for I am a new comer here,
    I heard there are some training document of the query designer, could someone give me the URL, thanks.

    Hi,
    Query desinger is used to develop a Query, Query can be created on following data targets
    -Info Cube
    -DSO
    Virtual data target
    -MultiCube
    -Infoset
    -Multiprovider
    We have 5 section in query designer
    - Infoprovider : where we select the data target , on which report to be created
    -Filter : to restrict value at infoprovider level ( if you want data for year 2008, for example)
    -Free Characterstic : this allow you to drill down
    -Columns : char/keyfigs to be display in columns can be added here
    Row: key/char to be display in Rows can be added here
    gv me ur mailid i will let u have Bex manual,
    I would suggest , if you have any IDES ( training ) system , where you can log in and then go to RRMX,
    and try to create new query and add any data target ( which is already created ) and then drag and drop the char/key fig to the required section ,
    save it and execute it .....
    if you play arround and see the output , that would help u to understand how to work with query designer.
    Hope this helps
    Sukhi
    Edited by: Sukhvidner Singh on Nov 4, 2009 5:36 PM

  • How to create a formula based condition in bex query designer

    hi all,
    i have scenario in query designer where i need to calculate Key performance indexes based on characters and key figures iam using.for example the condition is like:
    "if call received is less than call projection then give call received else null"
    how and where to define the condition and i need to name the condition to display it seperatly.please help me in this issue.
    regards
    Vamshi D Krishna

    hi you have to break down your conditions and then code for them.
    for e.ge.
    if actual == 0
      vart = 0.
    else if actual-target ==0
              vart = 0.001
           else
             vart = actual -target
           endif
    endif
    now we start with first condition use operators from boolean catagory
    (Actual != 0)*(other amount)
    this solves first if condition... if actual  = 0 value actual != 0 will be zero we got our desired value.
    if other case then we have give else condition.
    (Actual != 0)*(((actual - target) == 0 )*0.001+((actual-target)!=0)*(actual-target))
    in the second half we have coded the else part.
    in the same way you can proceed for your logic

  • How to create a variable in Bex Query Designer

    Hi guys,
    I am writing a query for a travel management report using the SAP Standard cube. I would like to restrict the query so it only shows me the last two months excluding the current month. I have checked BI content in RSA1, but I canu2019t find a relevant SAP standard variable that I can use.
    Can anyone please tell me if I can create my own? And if so, how I can do this.
    Many Thanks
    Forhad.

    lets say u want to display following picture:
    sept$-----august$
    City
    -chicago123$--
    44$
    so in Query designer go to Default values section.
    Bring in Calendar month
    right click calendar month
    and hit Restrict
    now select variable
    use standard sap variable Current Month.
    hit okey
    now select Variable and hit Red button
    Result u restricted current month.
    in columns bring in keyfigure $
    right click and hit edit
    bring in time field calendar month
    right click and hit restrict
    bring in Current month
    right click and select - SET OFFSET FOR VARIABLE
    select -1
    hit okey
    repeat the above process
    and this time select offset = -2
    this way u restricted current month
    but displayed last 2 months for keyfigure values.

  • How to write a condition in BEX Query Designer

    Hi
    How can i write a condition in Query Designer
    Scenario
    An employee can purchase any no of policies in a day or month.each policy will have start date and expiry date.
    My requirment
    Count all the policies(valid) by employee on a ranges basis exception reporting
    (0-10;10-20;20-30;30-40) and then able to drill down by policy start date and expiry date.
    As per the requirment is to show policies which are not yet expired (active) i need to write a condition that will count only policies whose Expiry date is > Current calender day
    As Policy Expiry Date is a char i am converting it to KF using fourmala variable so that i can write a condition on it using current cal day formula variable sap exit
    But i char assigment of a condition i find 4 option
    How can i achieve this
    Thanks

    Hi Aurun,
    Thanks for the help,Really appreciated
    As this is my first enhancement using ABAP & CMOD
    What type of key (either Access or developer ) do i require to perform the following  enhancement......so that i can raise request with basis team
    I shall be great ful if u can asnwer below question
    First, you need to create a variable for expiry date with processing type as customer exit, and then give the necessary info.
    In details tab, unchk ready for input as we wont be taking the value from the prompt.
    Now go to CMOD transaction.
    Open the correcsponding project which has the exit code
    (How can i identify the project which has exit code)
    and go to ZXRSRU001 module inside taht.
    Go to the module where u write the exit.
    (How to locate the required module)
    Then, under i step 1, write the code:
    IF I_STEP = 1.
    CASE V_NAME  (What is 'V_NAME',Is it my variable technical name)
    WHEN 'X' " X is the variable u created for the exit
    l_s_range-low = SY-DATUM.
    l_s_range-opt = 'I'.
    l_s_range-sign = 'GT'.
    APPEND l_s_range TO e_t_range.
    END CASE.

  • How do I use the option "table view" in NetWeaver 2004s Query Designer?

    Dear,
    We have used NetWeaver 2004s Query Designer, We found a strange problem. The option to select table view is not available. It is greyed out. How can you select table view (tabular) in 2004s Query Designer?
    I have read the help doc about tabular view of NetWeaver 2004s Query Designer, I check my query, it has only one structure . but the option is still greyed out. I rebuild the query with 3.x Query Designer in tabular view, and reopen it with 2004s Query Designer, So there is a tab named "tabular view" display, but the option to select table view is still not available, and when users view the query result in web , it is still not in tabular view display. So I am confused, is there a bug with NetWeaver 2004s Query Designer?
    Please help me. Thanks!

    Note 1002271. Seach this note to use key word "table view"

  • How to improve the query performance in to report level and designer level

    How to improve the query performance in to report level and designer level......?
    Plz let me know the detail view......

    first its all based on the design of the database, universe and the report.
    at the universe Level, you have to check your Contexts very well to get the optimal performance of the universe and also your joins, keep your joins with key fields, will give you the best performance.
    at the report level, try to make the reports dynamic as much as you can, (Parameters) and so on.
    and when you create a paremeter try to get it match with the key fields in the database.
    good luck
    Amr

  • How to hide a single value node hierarchy in the query designer

    Hi,
    I would like to perform a calculation  in the infocube. It concern  a count "Nb of different customers" with the following hierarchy : Country / region / City.
    This KF would be read at the same time by city, region and country, and  certain customers exist in 2 different region, and I have to count them only once by country.
    To do this, I added a new record (at the country level when loading infocube) to deduct a number of customers in doubloons.
    This line added contain only a country code and the number of cutomers in doubloons (- 23 when I have 23 cutomers in doublons) with revrese sign.
    Now, I would like to use this value (-23) to have a right Nb of different customers by country, without showing the not assigned line in the report hierarchy.
    How can I hide, in the query designer or the WAD, a single value node from hierarchy (NOT assigned) but take in account the value (-23) at the country level ?
    Is there another solution (more simple) to perform this in the infocube ?
    For information,
    1) The infocube is loaded once per month, and the KF (Nb of different customers" is also performed by month.
    2) I can't perform this in the report (performance problem with calculated KF).
    thx.

    Hi,
    the short answer is "you can't", the longer is: The ADF Faces tree component is stamped for better performance. This stamping means that nodes are not rendered as JSF objects but copies of an existing component (just with a changed value). For this reason the nodes don't issue their own query for data and thus cannot be refreshed individually
    Frank

  • How to get the standard Menu of Query Designer into Web Template

    Hi Experts,
    is there a way on how to put the standard menu within Bex Query Designer (after executing a Query with the Query Designer you get into ad-hoc reporting with a menu including several functions like print, show as..., properties, etc) into an individual Bex Web Template?
    Copy & Paste source code will not work I guess because of several javascript functions I don't have access to.
    Thanks & Best regards
    Tobias

    BEx queries are displayed on the web using standard web template 0ANALYSIS_PATTERN or some customized version base don your implementation.
    You can either include the 0ANALYSIS_Pattern web template in your custom template or use Save as to create a new template with 0ANALYSIS_Pattern  AS THE STARTING POINT.

Maybe you are looking for

  • Email reset problems.

    Hi. I've got a very old blackberry email account ([email protected]) anyway, i no longer have the device or access too it, as it was many years ago, i have a very important account that is still registered to that email that i forgot to move over whe

  • Adobe Acrobat: updates beyond 6.02 don't install

    At some point Adobe Acrobat 6.02 Professional started taking 5 minutes to start. Maybe this was when I updated to Tiger, I'm not sure. It sits there and queries the Adobe website for updates, then tells me it's updated and I have to restart the compu

  • Post video to youtube bug

    Very often when I select post video to youtube, after compressing the video it asks for some info, the categories list is empty and the category field is blank and I cannot select a category and so it wont let me publish. I have to cancel the upload

  • Forgot to attach documents on purchase

    Hi. I forgot to attach documents on purchase of my MacBook Air 2012 according to the Up To Date program here http://www.apple.com/ru/osx/uptodate/. Whether it is possible to send the photo of checks for receiving a free copy of OS X ML?

  • Flex 4 and lots of objects

    So here is my dilemma: I am creating map project where I have well over 4000 sprites, 5000 textfields(or labels) that are a part of an interactive map I am making. Not all maps are that big, but some of the bigger maps get to be about that size with