Query result is not match with selection

Dear experts
I have a infoobject X which have attribute Y
In my query, I use infocube and I set X and Y as selection
When I run the query, if I fill Y with 1 value, and X with 10 values,
Only 1 value of X appear in the result of the report (Not 10 values like selection)
But  if I don’t fill Y and fill X with 10 values,
10 values of X appear in the result of the report (correct)
and also if I fill Y with 1 value and fill X with 9 values,
9 values of X appear in the result of the report (correct)
So why if I fill Y with 1 value, and X with 10 values,
Only 1 value of X appear in the result of the report ?
Is there any limited of selection query which use infocube ?
Because, if I use ODS in my query, there’s ok
really appreciate your help
Regards
Jeiming

hi
To get you values as required , Set X and Y
Infoobject  X
Attribute   Y
Your selection, X --?
                       y -?
The report is correct in all your scenarios
When you fill some values of X, the query will fetch all the values available
But Y is attribute so when you select for X and Y, the query will search for that combination of X and Y only
Assign points if useful
Thanks
N Ganesh

Similar Messages

  • Result is not matching with multiprovider

    Hi,
    ?)    Multiprovider result and my Query result are not matching with each other.
    What i have tried to solve above issue:-
    1) I have match the Multiprovider result (Key Fig. Planned Work)  with my source system result - ECC system it is matching.
    2) BEx - Query is executed with the selection of maintenance orders which are taken from multiprovider result.
    3) Also check the delta load; its working fine.
    Note: The Key Fig Planned Work is not any RKF or CKF; it is Key Fig. of multiprovider.
    Waiting for your inputs...

    Hi
    Using LISTCUBE  , find the KF value in the multiprovider for a specific characterisitcs. Use these characterisitcs as Input in your Query and find the value and compare these two outputs.
    Other option is to check if you identification is correct for the characteristics for which you find an difference in value of the key figure.
    Another way to handle is to elimination method - but if your MP is with more than 2 info providers then you may not want to go this route - i.e. eliminate one info provider from the MP at any given point of time - run the query and check the result - gives you an idea as to where things could have done wrong.
    Cheers
    Umesh

  • Query data does not match with Multiprovider

    hello,
    I am as confused as my subject.
    I executed the query from Multiprovider, which getting the data from sales and inventory cube.
    Everything works fine until I try to validate some of the data.
    I can validate some early records but I cannot see later ones in any of the cubes or multiprovider.
    I deleted the data and loaded all over again but didnt work.
    I am trying to display the record from Plant, material and calday ... i do see the date and plant # but not material #.
    I hope I am making sense to you guys.
    Any input would be appreciated.
    Khalid

    Hello Kalyan,
    Material is part of both cubes (inventory and sales) and I did flag it in multiprovider when selecting "display data" > dimensions.
    I am not sure if it makes difference ... there is another cube (store planning)  attached to same multiprovider ... which not feed data but as you know does not report on material level.
    Do you think it could create the problem. Again (store planning) cube is not feeding data to multiprovider at the moment.
    Thank You ... any other suggestion.
    Khalid

  • Bex Analyzer query results do not match correct RSRT output

    Hi,
    When I run my 7.x query in RSRT the results are correct. However, in Analyzer (7.2) the results are wrong.
    The query has several key figure quantities filtered by customer exit variables, but they're being ignored by Analyzer. Analyzer is simply ignoring all filtering and summing all available data.
    Any suggestions?
    Thanks!

    Hi,
    As your problem is happening in Bex Analyser (Frontend) only and not in RSRT.
    Most probably you will need to uninstall and again install your Frontend .
    Please make sure that you use the latest Frontend Patch.
    This could solve your issue.
    Regards,
    Amit

  • Clean-up all data that did not match with the selection.

    Hi Everyone,
    In my requirement I need to  Clean-up all data that did not match with the selection from my internal table lt_cdpos.....in this case wat can i use like.'Refresh' or ' Clear' or 'DELETE ADJACENT DUPLICATES FROM lt_cdpos'.
    Pls suggest me...

    Hi Meenakshi
    Try  delete lt_cdpos where kunnr  NE KUNNR (from selection screen) .
    Before Checking <condition> make sure both comparing field type match with each other.
    You can use FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' for append leading zeros in compare condition before comparing kunnr from selection screen
    Regards
    Parveen

  • Totals in BEx query not matching with actual total

    Hi,
    We have one report in BI, the total for few columns (Given by BI system i.e system generated) for the values of the key figures is not matching with actual total of that values...
    I am confused to see, how sap BI can do the totaling mistake...
    Please suggest and help....
    Thanks,
    Nitika

    Hi
    Please check following things
    1. Check key figure aggregation properties, how it is defined, it might have been defined as Avg, Last,first value or it might using exceptional aggregates.
    2. Double check your process of validation between cube and bex report for totals.
    Thanks
    Raghu.

  • Grand total values are not matching with Detail report

    Report has grand totals and when I drill to the detail report, grand total values are NOT matching with parent report totals, I did some analysis but I'm clueless on this issue.
    Please provide your thoughts and insight on this issue..
    Thanks

    is your summary and detail reports hitting different facts, like summary hitting aggregate and detail report hitting it's corresponding detail level fact..?
    if then,
    From Front-end:
    Fix the filter values in detail report that are passing from master report then try delete each columns then check the grand total. If you found your values is matching by deleting particular column then you need to investigate what is the issue around with that dimension table..
    From Database side:
    1. check first aggregate table has proper aggregate data of it's detail..
    2. Take the detail report obiee generated query and try to comment each dimension table and it's corresponding joins to the facts, (before, this delete all the dimensional columns and other measures from select statement and put only that measure where you are getting wrong value, so that you need not to comment all the select and group by columns which saves your time.. ). Need to check by commenting each dimensional wid and it's table from clause, if you found that values is matching then there is some problem with wid columns data population in your ETL.
    Is that BI-Apps project?
    btw, whtz ur name?

  • The number of details is not matching with the total count.

    Hi all, again stuck with the code.
    There is a form where i have to populate all the details of few tables in excel & there is a report where i have to make count of all these details.
    The problem here is the number of details that is populated in excel is not matching with the count in report, both have to match. There some problem in code, please help me in matching it.
    The below is the 5 tables with the columns below.
    Tables are ENQACEDTL, ENQACEHDR, ENQACMDTL, ENQACMHDR, ENQACSPEC:
    The Names mentioned below the table's name are Column Names:
    ENQACEDTL
    ENQACEHDR
    ENQACMDTL
    ENQACMHDR
    ENQACSPEC
    ENQNO
    ENQNO
    ENQNO
    ENQNO
    ENQNO
    ENQAMDNO
    ENQAMDNO
    ENQAMDNO
    ENQAMDNO
    ENQAMDNO
    ENGREF
    ENGREF
    QTY
    OFFREF
    MINSL
    ITEM
    EPREPBY
    ITEM
    BRANCH
    EINSL
    FRAME
    DEPT
    RATING
    DEPT
    MTEMP
    TECOLD
    ENGREFTDT
    ENCLIP
    MKTREF
    ETEMP
    THE BELOW IS THE SELECT STATEMENT CODE FOR POPULATING DATA IN EXCEL:
    SELECT ENQACEDTL.ENQNO, ENQACEDTL.ENQAMDNO, ......... (....ALL COLUMNS)
    FROM ENQACMHDR,ENQACMDTL,ENQACEHDR,ENQACEDTL,ENQACSPEC
      WHERE
      ENQACMHDR.ENQNO=ENQACMDTL.ENQNO  AND
      ENQACMHDR.ENQNO=ENQACSPEC.ENQNO  AND
      ENQACMHDR.ENQAMDNO=ENQACSPEC.ENQAMDNO AND
      ENQACEHDR.ENQNO=ENQACSPEC.ENQNO  AND
      ENQACEHDR.ENQAMDNO=ENQACSPEC.ENQAMDNO AND
      ENQACMHDR.ENQAMDNO=ENQACMDTL.ENQAMDNO AND
      ENQACMHDR.ENQNO=ENQACEHDR.ENQNO  AND
      ENQACMHDR.ENQAMDNO=ENQACEHDR.ENQAMDNO AND
      ENQACEHDR.ENGREF=ENQACEDTL.ENGREF AND
      ENQACMDTL.ITEM=ENQACEDTL.ITEM AND
      ENQACMHDR.DEPT=:PROC_DEPT AND
      ENQACEHDR.ENGREFDT BETWEEN :FROMDATE AND :TODATE
      ORDER BY ENQACMHDR.ENQNO,ENQACMHDR.ENQAMDNO;
    THE BELOW IS THE SELECT STATEMENT CODE FOR COUNT OF DETAILS IN REPORT:
    SELECT ALL  ACENQ.ENQACEHDR.DEPT, COUNT(ACENQ.ENQACEHDR.ENQNO) COUNT
    FROM ACENQ.ENQACEDTL, ACENQ.ENQACEHDR
    WHERE (ACENQ.ENQACEDTL.ENGREF=ACENQ.ENQACEHDR.ENGREF)
    AND ENQACEHDR.LOCKE=1 AND
    ENQACEHDR.ENGREFDT BETWEEN  :P_STDATE  AND :P_ENDDATE
    GROUP BY ENQACEHDR.DEPT;
    There is problem in join condition of 1st code that is in the "SELECT STATEMENT CODE FOR POPULATING DATA IN EXCEL":
    Please help me to sort out this problem..
    Thank You.
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    Oracle Forms & Reports Builder 6i.

    As Karthick points out, we cannot help if we cannot see your correct table structures (create table statements) and some example data and expected output (insert statements would be helpful).  You're telling us there's a problem, but we cannot see what the problem is as you've not shown it.  Just saying your query is not working is like me telling you my car is not working, but not telling you what the symptoms are.  You wouldn't know where to start in fixing it.
    Why are you using Oracle 9.2.0.1 ?  Not only has that version been unsupported for about a decade, but 9.2.0.7 was the first version of 9i that was considered 'stable' as versions prior to that were considered buggy.  So you're using an old, unsupported and buggy version of oracle.  Seriously, you need to consider upgrading to a supported version, preferably at least the latest 11g version.
    And what has oracle Forms and Reports got to do with the issue?
    And please explain how you are getting your data out of Excel and presenting it to Oracle to be able to query against it.  Excel does not have "tables", so your question is completely unclear how you are querying the data from Excel.

  • F_IT_01 does not match with FAGLGVTR

    Hello All,
    What is the reason for report  F_IT_01 not matching with FAGLGVTR
    Please advice

    Hello,
    I would not advise you to do such things in your environment.2 mins is very less time how could you be so sure a 2 min query is bad. And your second point is totally baseless it wouldtake a query a fraction of secondto read 1000 rows.My answer would be please
    dont implement.
    If you want to test below query might achieve the first requirement, I have not tested it please treat this query as hint and optimize or add anything if required.
    If you schedule this query through agent for every 2 mins or 5 mins .It can achieve.But some query takes more time to rollback than to finish scheduling this would lead to unstable environment
    USE MASTER
    IF EXISTS (SELECT * FROM TEMPDB.SYS.ALL_OBJECTS WHERE NAME LIKE '#KILL_CONNECTION')
    BEGIN
    DROP TABLE #KILL_CONNECTION
    END
    CREATE TABLE #KILL_CONNECTION
    SESSION_ID INT
    ,TOTAL_ELAPSED_TIME BIGINT
    ,START_TIME DATETIME
    INSERT INTO #KILL_CONNECTION
    SELECT
    SESSION_ID
    ,TOTAL_ELAPSED_TIME
    ,START_TIME
    FROM SYS.DM_EXEC_REQUESTS
    WHERE TOTAL_ELAPSED_TIME > 7200 AND SESSION_ID > 50
    DECLARE @SESSION_ID BIGINT
    DECLARE @CMD VARCHAR(1000)
    DECLARE KILL_CONNECTION CURSOR FOR
    SELECT SESSION_ID
    FROM #KILL_CONNECTION
    OPEN KILL_CONNECTION
    FETCH NEXT FROM KILL_CONNECTION INTO @SESSION_ID
    WHILE @@FETCH_STATUS = 0
    BEGIN
    SET @CMD = 'KILL ' + @SESSION_ID
    EXECUTE (@CMD)
    END
    CLOSE KILL_CONNECTION
    DEALLOCATE KILL_CONNECTION godrop table #Kill_connection
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Entry View is not matching with General Ledger View in a document

    Dear Experts
    My problem is entry view is not matching with general ledger view because of  profit center. I have  posted the general ledger account with posting key 40 and profit center 1200 but when we see the same through general ledger view getting different profit center (i.e. 1410).
    Offsetting general ledger account is compulsory ? if it is working for one general ledger account it should support other general ledger accounts also, but it is not the same in our scenario. Any customization level problem ?
    Earliest help is needed.
    Thanks - VG.

    Hello VG,
    In the general ledger view, the line items for the selected ledger are taken from a data merge between the document line items in the entry view and the document line items in the general ledger view. In the case of fields that exist in both views, the data in the general ledger view takes priority. However, fields are only transferred from the general ledger view to the fields in the entry view if they are active in the relevant ledger. If fields exist in the general ledger table group but are not active in the relevant ledger, they are transferred from the entry view. In the data merge, amounts in the entry view are in some cases (such as cash discounts) distributed proportionately across the amounts in the general ledger view. This is necessary if, as a result of document splitting, a line item in the entry view has been split into multiple line items in the general ledger view. The proportionately distributed amounts in the entry view cannot then be used for reconciliation with account balances because the total of the cash discount amounts from the line items, for example, does not correspond to the balance of the cash discount account as a result of the rounding differences.
    Pls check this,
    Rgds
    Manish

  • Planning area data not matching with backup cube / PSA

    Hi friends,
    while loading data from planning area to backup cube , for the key figure ( result of a macro),the data in planning area is not matching with PSA as well as with cube.
    At the same time Data is matching at total level but not at disagregated level. And many times it disagregate in equal Proportion in cube/psa.
    Pls its urgent.
    Pts for sure.
    Vishal.
    9326179903

    make sure you have replicated the extraction of the data source. This is needed to ensure your backup cube gets the current data as in the planning area
    if you got to /SAPAPO/SDP_EXTR then you can see this button
    you can set this up as a program scheduled to run before the updation of your cube
    As for the disaggregation, test at what level you are choosing your characteristic? ( i suppose you can choose the level)
    Are you extracting at a detailed level or at the aggregated level
    Is your macro saving the data into a Keyfigure or is it an auxilliary KF or something?

  • Vendor aging unreconciled bal. does not match with TB Acct. Payable balance

    Dear all,
    When i take unreconciled vendor aging report with selection creteria all vendor codes selected,aging date as 31/03/09 and posting date from 01/04/08 to date 31/03/09,Interval - 30 Days,By Journal postings
    Deticked all check boxes in it.
    Aging report total balance of all vendor does not match with account payable balance in Trial balance ?
    But for reconciled aging totals and trial balance total are same.
    How to solve it ? or i need to do any settings ?
    Jeyakanthan

    Hai!
    What version of SAP B1 u r using.
    I do got the same problem for my  customer. I did this..
    1. Run Aging Report for all Vendors. Donot check Recon Transaction.
    2. Export to Excel
    3. Run TB for BP selecting Vendors alone.
    4. Export TB to Excel.
    5. Find vendors who is having mismatch in their balance. (use V-Lookup in Excel)
    6. Run Detail G/L Transaction report for those Vendors one by one.
             *Selection from date: Age from date To date: Age To date *
             *Selection Reconcilled Transaction only
    7. Report Balance should be Zero. If not this problem is because of Internal Reconcillation.
    8. Open *Check and Restore Previous reconcillation * select the vendor, internal
    9. see the reconcillation details.
    10. see the posting dates. All should be in previous fiscal year. (I mean the reconcilled set should have same fiscal year ex: Recon -2 trans should be in same fiscal year)
    11. If, that is corrected and still difference exist means.
    12.Go to Manage Previous Reconcillation
    13. Select BP and Internal (Donot check system reconcill Trans)
    14. Check the Reconcillation wheather all in same fiscal year.
    Regards,
    Thanga Raj.K
    +91 9710445987

  • GL - Balances do not match with sum of Items

    Hi,
    I have a requirement in which I am pulling opening, closing balance and a list of all transactions (or items ) on a daily basis from GL to a flat file, and then loading in a third-party tool . Now, the issue is sum of all items (gl_je_lines ) should match with the diference of closing and opening balances.
    I reconcilied the items with Oracle's Journal Report. Items are matching.
    I also confirmed that closing balance of previous day matches with the opening balance of current date.
    But, ( closing balance ) - (opening balance) does not match with sum(items)
    I am using gl_daily _balances for opening and closing balance.
    Waiting for your inputs/suggestions..
    Yogini

    Hi,
    Thanks for the reply.
    I am not using GL_INTERFACE. The tables I am using for Daily balances are:
    gl_daily_balances
    gl_code_combinations
    chart_of_accounts
    And for the items, I am using gl_je_lines, gl_je_headers.
    Also, I am interested in Entered Amount in GBP as the Functional Currency is GBP and there are many transacitons in different foreign currencies.
    More updates : I found that I have calculate the Entered Amount in GBP from all Converted/Transferred/Entered amounts in different currencies.
    So, I tried the following :
    (Select Sum(end_of_date_balance)
    from gl_daily_balances
    where Currency_code = 'GBP'
    and currency_type = 'U'
    and accounting_date = sysdate -1 --Opening balance
    MINUS
    ( Select Sum(end_of_date_balance)
    from gl_daily_balances
    where Currency_code = 'GBP'
    and currency_type = 'C'
    and accounting_date = sysdate -1 --Opening balance
    This way, I got opening and closing balance, but still the differernce between opening and closing balance is not matching with the sum of Items.
    Any suggestions / inputs are highly appreciated.
    Yogini

  • Sales orders Dispatch Actual No of pipes do not match with R3 report

    Dear Gurus,
    Looking Ur assistance for an issue.
    Issue: For some of the sales orders Dispatch Actual No of pipes do not match with R3 report. Actual No of Pipes matches with LIKP table values in R3. Query needs to be modified to restrict records as per logic in WGSRLDES report/program.
    Can U help me in this Regard.
    Ur Responses are most appreciated.

    Hey Pathak,
                        The problem is, BI report is matching with the datails with R/3 LIKP table. But the business user is using Report WGSRLDES report/program, where the data is missmatching.
    Hope U got my Point.

  • Inventory Valuated Stock Value is not matching with R/3

    Dear Friends,
    we are in a big mess.Needed your help urgently
    We are in sap netweaver 2004s.We are implementing the standard business content only for one of our client.We have loaded the Inventory data into BW by following "How to handle the Inventory Management" document.
    We have loaded the inventory data into 0IC_C03 using standard transferrules and update rules.
    The sequence we followed as:
    IN R/3
    Filled the setup tables for during the posting free time(non-business hours)
    Stock intialization
    Material Movements
    Evaluations
    IN BW
    We had loaded the data into only 0IC_C03 cube using standard update rules(no changes done)
    2LIS_03_BX-Generate intial stock with no marker update unchecked
    2LIS_03_BF-Full update with no marker update checked
    2LIS_03_UM-Full update with no marker update checked
    When we compared the data between R/3 and BW they are many materials "Valuated Stock Value" is not matching with R/3.For some materials value is matching with R/3 but for some other materials its not matching with R/3.Some materials are showing the negative figures for Valuated Stock Value.
    But the valuated quantity value is exactly matching with R/3 for all the materials.
    We have tryed to many ways in the past 10 days to find out the solution.We have followd the notes 589024 and implemented the formula.But no luck so far.
    Needed your help..Any suggestions would be highly appreciated.
    Please help us with your inputs.
    Thanks in advance.
    Regards
    Soujanya

    Hi Sudheer,
    No We haven't implemented this note.
    In start routine we already have the first start routine in the note.
    INSERT BEGIN
      loop at DATA_PACKAGE.
        if DATA_PACKAGE-stockcat eq 'V' or
           DATA_PACKAGE-stocktype eq 'V'.
          delete DATA_PACKAGE.
        endif.
      endloop.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    INSERT END
    We should comment the above start routine and follow the remaining section as below?
    ==========================================================
    Notes:
    However, if you want a report of these consumption values, proceed as follows:
    1. Do not use the start routine listed above.
    2. Create two new key figures (cumulative values):
       1. Material consumption value (ZVERWERT, for example) with unit 0BASE_UOM
       2. Material consumption quantity (ZVERMENGE, for example) with unit 0LOC_CURRCY
    3. Include these in the InfoCube definition.
    4. Update these key figures from 2LIS_03_BF as follows:
    -> material consumption value:
    IF ( COMM_STRUCTURE-processkey EQ '100'   "Other Issues
        OR COMM_STRUCTURE-processkey EQ '101'   "Returns / Vendor
        OR COMM_STRUCTURE-processkey EQ '104'   "Material Transfer
        OR COMM_STRUCTURE-processkey EQ '105'   "Stock Adjustment InvD
        OR COMM_STRUCTURE-processkey EQ '106'   "Stock Adjustment Other
        OR COMM_STRUCTURE-processkey EQ '110' ) "Issues from Stock
                                                "Transfers
       AND COMM_STRUCTURE-bwapplnm EQ 'MM'
    only movements which are relevant for stock control
       AND COMM_STRUCTURE-cppvlc <> 0
       AND COMM_STRUCTURE-stockcat EQ 'V'
       AND COMM_STRUCUTRE-stocktype EQ 'V'.
    result value of the routine
        RESULT = -1 * COMM_STRUCTURE-cppvlc.
    if the returncode is zero, the result will be updated
        RETURNCODE = 0.
    ELSEIF ( COMM_STRUCTURE-processkey EQ '000'   "Other Receipts
        OR COMM_STRUCTURE-processkey EQ '001'   "Goods Receipt/Vendor
        OR COMM_STRUCTURE-processkey EQ '004'   "Material Transfer/"Receipt
        OR COMM_STRUCTURE-processkey EQ '005'   "Stock Adjustment InvD
        OR COMM_STRUCTURE-processkey EQ '006'   "Stock Adjustment Other
        OR COMM_STRUCTURE-processkey EQ '010' ) "Receipt from Stock
                                                "Transfer
    only movements which are relevant for stock control
       AND COMM_STRUCTURE-cppvlc <> 0
       AND COMM_STRUCTURE-stockcat EQ 'V'
       AND COMM_STRUCUTRE-stocktype EQ 'V'.
    result value of the routine
        RESULT = COMM_STRUCTURE-cppvlc.
    if the returncode is zero, the result will be updated
        RETURNCODE = 0.
      ELSE.
    if the returncode is not equal zero, the result will not be updated
        RETURNCODE = 4.
      ENDIF.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0..
    -> material consumption quantity:
    The code is the same, but COMM_STRUCTURE-cpquabu replaces COMM_STRUCTURE-cppvlc.
    -> The characteristic value calculation is the same for the other key figures.
    5. Update these key figures from the 2LIS_03_UM in the same way.
    =======================================================

Maybe you are looking for