Key Figure in Queries migrated to BI 7.0 front-end

Hello Experts.  We are currently migrating queries from 3.5 front-end to 7,0 front-end.  Some queries that used to work in 3.5 withoug key figures no longer work after migrating to 7.0.  Can someone tell me if there is a way to resolve this?  Changing the query is out of the question.  Can someone point me to any forum document or Blog if there is any?  Thank you for your help.

Hi Sree,
I did encounter an error -  the error said that a key figure needs to be specifiied.  The other thing is, the query does have a formula which means it does have a key figure.  It migrates in spite of the error but does not execute and displays the same error message about a key figure needs to be added.
We are on Pacth Level  13.
On a side note, there is a way to restore the query from 7.0 back to 3.5   Abap program 'Component_Restroe' will do it.
Thanks for your help.

Similar Messages

  • Copy Key Figures between Queries

    Hi BI Gurus
    I have two Queries 'Query-1' and 'Query-2' on the same InfoCube.
    I want to make another query 'Query-3' which is the combination of 'Query-1' and 'Query-2'.
    I have saved 'Query-1' as 'Query-3'.
    Now, I want to add all the Key Figures in 'Query-2' into 'Query-3'.
    All the 3 queries are on the same InfoProvider.
    Please guide.
    Regards

    HI Anil
    As mentioned by you that all th e thre queries are on same infoprovider hence all the key fig of that infoprovider are available to you in  all the quries. If a key fig is created locally then save it in a structure and copy that structure in the new query.
    Dinesh Sharma

  • Need Method to Look Up Prices from a 8 X 7 Grid for BW Query Key Figures

    Hello.
    I have Material Groups that have various costs associated with them in the format of an 8 X 7 Excel Grid.
    Rows:
    Shipping
    Packaging
    Labor
    Etc.
    Columns:
    Cost if sales were above 10,000 per month.
    Cost if sales were above 15,000 per month.
    Cost if sales were above 20,000 per month.
    etc.
    I need to figure out a way to have a BW Query lookup the price from the row and column based on the monthly volumes.  (kind of like a VLOOKUP and an HLOOKUP in Excel).
    I thought about simply creating Key Figures for every possible combination, but I would've ended up with 56+ key figures on my ODS object.
    Does anybody have a suggestion for me to do this in a cleaner manner?
    Thanks.

    Hi kenneth,
    If i've understood ur prob correctly than you can use the conditions function in the query...create separate conditions for your criteria and display the output ....
    Ajay

  • How to ignore blank/null key figure value in BI Queries

    Reports on Multiprovider - we see some cells of a Key figure as blanks. These blanks are interpreted as zeros by the system and calculated accordingly resulting in incorrect values. As per our requirement, we need a count of all hard/real zeros only, not the blanks. For example, if there are 10 rows of which 6 are real zeros and 4 are blanks - our count should be 6 and not 10.
    How to ignore the blanks in BEx queries please?
    Thanks for your help.
    Upender

    Rakesh,
    It is not possible to find a pattern because the report is on a MultiProvider with 2 InfoProviders- Purchasing documents DSO and Material Movements InfoCube.
    Every Purchasing Document has several materials associated with it. These materials are compared with materials in Materials Movement. Not all materials in Purchasing Document are found in Materials Movement. For those Materials found in Materials Movement, the Quantity is obtained. For these found rows, the correct value is showing up - if the quantity is zero, it is showing in reports as zero. If the material is not found in Material Movements then Quantity shows up as blank values.
    My requirement is ignore such blank quantities and not count them. Only Quantities with 0 values should be counted. Currently both blanks and zero values are counted showing inflated count.
    Thanks,
    Upender

  • Table to find a list of queries in which a perticular key figure is used.

    Hi all,
    I have a list of key figures. I have to find all the queries that are using any of them. All these key figures are z key figures.
    Please let me know if there is any table to get this information.
    Regards,
    Deepti.

    Hi
    Just goto RSD1 and give Keyfigure and click in where used list Icon, then it will show all obejcts which are used that perticular InfoObejct.
    See some usefull Tables for Reports
    RSZELTDIR Directory of the reporting component elements
    RSZELTTXT Texts of reporting component elements
    RSZELTXREF Directory of query element references
    RSRREPDIR Directory of all reports (Query GENUNIID)
    RSZCOMPDIR Directory of reporting components
    RSZRANGE Selection specification for an element
    RSZSELECT Selection properties of an element
    RSZELTDIR Directory of the reporting component elements
    RSZCOMPIC Assignment reuseable component <-> InfoCube
    RSZELTPRIO Priorities with element collisions
    RSZELTPROP Element properties (settings)
    RSZELTATTR Attribute selection per dimension element
    RSZCALC Definition of a formula element
    RSZCEL Query Designer: Directory of Cells
    RSZGLOBV Global Variables in Reporting
    Thanks
    Reddy

  • Problem saving queries with calculated key figures

    Hello Experts,
    I am analyzing this problem since many hours during the last weeks and I don't know, what else to do.
    The problem is saving a key user query containing a calculated key figure in the production system (BW 3.5 SP SAPKW35015). The Error 'The query could not be saved due to a problem in transport' occures.
    If I exclude the KF from the query, saving is possible, so the calculated KF must be the source of the problem.
    The system is set to not changeable, but the 'Object Changeability' of 'Query Elements' in 'RSA1' --> 'Transport Connection' is set to 'Changeable Original'. If I set this option to 'Everything changeable', saving of the query works, but this is not possible in production, because transported standard queries would also be changeable.
    For saving queries, die authorization object S_RS_COMP and S_RS_COMP1 is included completely with *, but this does not help.
    I also transported the query and the KF again from development system ... no change, same problem.
    I found the SAP note 533413, but what does this mean? "This problem can only be solved in the next BW release ..." I heard from colleagues, that BW 7.0 has the same problems.
    Does anyone have an idea, how to solve this problem?
    I would be very thankful for any reply...
    Hannes
    Edited by: Hannes Heidrich on Jun 23, 2008 12:07 PM

    Thank you for your answer, but I have set the Object Changeability to Everything Changeable and restricted the user with S_RS_COMP. So only certain query names can be used and changed. Experiences from collegues said, that deleting and transporting again would not help.
    Best Regards,
    Hannes

  • Where are the key figures in standard 0PCA_C01 queries?

    Hello BW experts
    I am evaluating the standard BI content queries related to profit center accounting. I found all 0PCA_C01_q* queries don't have any key figures in their column. But when I execute the query It brings out the value.  How is that possible? Is it something related to global structure? Where can I see the information?
    Further more, I can not drag and drop any key figures from left panel to the column area. Why is that?
    Your help is very much appreciated
    Thanks
    Subbu

    Roberto
    I am looking at 0PCA_C01_Q0004, My question is about the columns. It has Plan, Actual, etc. But if I double click each of them, they are all characteristics (0version and 0vtype. Not key figures,. And I can not add any key figures (0credit, 0debit etc) from the left pannel. I made a copy from that query to another query the symptom is still the same.  I am confused. I thought on the columns we need to have key figures not characters. But this query is strange.
    Subbu

  • Program or FM tochange description of key figure in all queries at a time

    Hi,
    As per my requirement  i need to change the description of a key figure from OED to IEG in all the reports which are containing "OED" as key figure at Query level only.
    Its a KF and not a resteicted key figure or calculated KF.
    Is there any program or table or Function module where we can change the key figure description directly
    without going to each Query and change it.
    Please suggest me.
    Thanks & Regards
    Bharathi

    texts for key figures chars. etc are refrenced only once when query is created. after that if description changes in the infoobject that doesn't reflect in query.
    Texts for all elements are maintained in RSZELTTXT table. you can write a simple program to modify texts of elements which suit your need. Contact any abaper in your team to write this program which simply updates the texts of certain elements..
    logic may be like this
    select all lines from RSZELTTXT where TXTSH = 'Plant' or TXTLG = 'Plant'.
    modify these llnes with new text.
    update rszelttxt with these new lines

  • Difference in key figures while creating queries based on infosets and MP?

    Hi all,
    I have created a multi provider using 4 ods. and my keyfigures looks like
    Material    cost        tax amount
    mdb1001  14.58     219.18
    and i have created an infoset using the same 4 ods and my keyfigures looks different like
    Material      cost      tax amount
    mdb1001  21,698       1,433.42
    And i have created the query with the same options. But the key figure values are different why is that so ?
    Can anyone help me on this!!!
    thanxs
    haritha

    hi,
    check your created infoset on the same ods used in multiprovider for reporting.
    are you doing any delta loading to the ods check that also.
    hope this help you
    regards
    harikrishna N

  • Expand clustered Key Figures in filter panel (based on BW queries)

    Dear colleagues,
    in my BW query, I have created several key figures and have clustered them below Error Categorization 1 and 2.
    In my Design Studio application I use a filter panel to select the key figures. The goal is to show the first level (error cateogization 1 and 2) at a first view with the option to expand these so that the detailed categories can be shown and selected.
    Currently only the subcategories are shown in the filter panel in Design Studio.
    Could you help here?
    Thanks,
    Katharina

    Go to transaction RSRT, select your query, click on the properties tab and tick the selection box "Use Selection of Structure Elements". This is recommended practice where there are lots of key figures.

  • Queries Migration from 3.5 to 7.0

    Hello,
    My clients wants to migrate about 2000 queries from 3.5 to 7.0
    But before starting to do my client wants to make sure all objects are migrated and if there will be any dependencies or if the query result might change due to something.
    Therefore they want to create some sample queries with
    Customer Exits,
    Formulas,
    Key figure Structures,
    Conditions,
    Cell references
    Calculated key figure,
    Restricted Key Figures
    Global and local objects.
    and check if the query result will be same when executed in 3.5 and 7.0 and if there will be any dependencies.
    Please suggest on this?

    Hi,
    As you said you laready have 2000 queries. The easiet way would be
    Copy few of the queris  (which are having all required objects) using RSZC tcode in 3.x then open the same query in 7.x.
    It will upgrade the query and you may check the impact.
    I hope it will help.
    Thanks,
    S

  • Key Figures getting added

    Hi All,
    We arein a process of migrating 3.x Transfer rules and update rules to NW2004s. We are following the standard procedure of migrating the objects such that transfer rules are migrated to a transformations and so do update rules.
    In on of the objects while running the loads after migrations the key figures are getting doubled. We were able to debug the standard code and figure out where addition is happening. Strange things is this is a standard SAP code generated in all the migrated objectsbut in this particular case it has generated some extra code which is adding up the key figures. I am pasting code below for your reference and will appreciate if someone can help us to resolve this.
    As mentioned above the below Read statement is standard in all the TRCS transformations which are migrated from update rules. This read statement fails with sy-subrc = 4 because  <_yth_TG_1>. is empty at this stage but during execution it executes the statement INSERT <_ys_TG_1> INTO TABLE <_yth_TG_1> which populates <_yth_TG_1>  and in turn makes the next read statement successful which is extra in this case. There is one more Read statement which is extra in this particular case and is adding up the key figures.
    =====  PUT groups to target
          IF skipseg_all IS INITIAL.
            READ TABLE <_yth_TG_1>
              WITH TABLE KEY
    here it is reading all the different characteristics and key figurs. eliminating this to cut short the lengthof message,
               ASSIGNING <_ys_TG_1>.
            G1_subrc = sy-subrc.
            G1_tabix = sy-tabix.
            IF G1_subrc = 0.
      aggregation SUM
              <_ys_TG_1>-POS_FRE = <_ys_TG_1>-POS_FRE + G1-POS_FRE.
              <_ys_TG_1>-POS_OCC = <_ys_TG_1>-POS_OCC + G1-POS_OCC.
              <_ys_TG_1>-POS_VAC = <_ys_TG_1>-POS_VAC + G1-POS_VAC.
              <_ys_TG_1>-/BIC/ZKMOSALRY = <_ys_TG_1>-/BIC/ZKMOSALRY + G1-/BIC/ZKMOSALRY.
              <_ys_TG_1>-/BIC/ZFILFTEFX = <_ys_TG_1>-/BIC/ZFILFTEFX + G1-/BIC/ZFILFTEFX.
              <_ys_TG_1>-/BIC/ZWRKFTEPX = <_ys_TG_1>-/BIC/ZWRKFTEPX + G1-/BIC/ZWRKFTEPX.
              ls_cross-insegid      = 1.
              ls_cross-inrecord     = l_recno_SC_1.
              ls_cross-outsegid     = 1.
              ls_cross-outrecord    = <_ys_TG_1>-record.
              CALL METHOD i_r_log->add_cross_tab
                EXPORTING
                  I_S_CROSSTAB = ls_cross.
            ELSE.
              ASSIGN rdsTG_1->*          to <_ys_TG_1>.
              CLEAR <_ys_TG_1>.
              MOVE-CORRESPONDING G1 TO <_ys_TG_1>.
              <_ys_TG_1>-requid    = l_requid.
              l_recno_TG_1          = l_recno_TG_1 + 1.
              ls_cross-insegid      = 1.
              ls_cross-inrecord     = l_recno_SC_1.
              ls_cross-outsegid     = 1.
              ls_cross-outrecord    = l_recno_TG_1.
              CALL METHOD i_r_log->add_cross_tab
                EXPORTING
                  I_S_CROSSTAB = ls_cross.
        Record# in target = sy-tabix - if sorting of table won't be changed
              <_ys_TG_1>-record     = l_recno_TG_1.
              INSERT <_ys_TG_1> INTO TABLE <_yth_TG_1>.
              IF sy-subrc <> 0.
                CALL METHOD cl_rsbm_log_step=>raise_step_failed_callstack.
              ENDIF.
            ENDIF.      "Read table
    This read statement is extra in this code and when this executes the sy-subrc becomes zero and then it adds up the key figures.
            READ TABLE <_yth_TG_1>
              WITH TABLE KEY
    **This also contains the characteristics and key figures which are being update as part of the transformations       
               ASSIGNING <_ys_TG_1>.
            G2_subrc = sy-subrc.
            G2_tabix = sy-tabix.
            IF G2_subrc = 0.
      aggregation SUM
              <_ys_TG_1>-POS_OCC = <_ys_TG_1>-POS_OCC + G2-POS_OCC.
              <_ys_TG_1>-POS_VAC = <_ys_TG_1>-POS_VAC + G2-POS_VAC.
              <_ys_TG_1>-POS_COUNT = <_ys_TG_1>-POS_COUNT + G2-POS_COUNT.
      aggregation MAX
              IF G2-POS_CTSPAN > <_ys_TG_1>-POS_CTSPAN.
                <_ys_TG_1>-POS_CTSPAN = G2-POS_CTSPAN.
              ENDIF.
              ls_cross-insegid      = 1.
              ls_cross-inrecord     = l_recno_SC_1.
              ls_cross-outsegid     = 1.
              ls_cross-outrecord    = <_ys_TG_1>-record.
              CALL METHOD i_r_log->add_cross_tab
                EXPORTING
                  I_S_CROSSTAB = ls_cross.
            ELSE.
              ASSIGN rdsTG_1->*          to <_ys_TG_1>.
              CLEAR <_ys_TG_1>.
              <_ys_TG_1>-CURRENCY = G1-CURRENCY.
              MOVE-CORRESPONDING G2 TO <_ys_TG_1>.
              <_ys_TG_1>-requid    = l_requid.
              l_recno_TG_1          = l_recno_TG_1 + 1.
              ls_cross-insegid      = 1.
              ls_cross-inrecord     = l_recno_SC_1.
              ls_cross-outsegid     = 1.
              ls_cross-outrecord    = l_recno_TG_1.
              CALL METHOD i_r_log->add_cross_tab
                EXPORTING
                  I_S_CROSSTAB = ls_cross.
        Record# in target = sy-tabix - if sorting of table won't be changed
              <_ys_TG_1>-record     = l_recno_TG_1.
              INSERT <_ys_TG_1> INTO TABLE <_yth_TG_1>.
              IF sy-subrc <> 0.
                CALL METHOD cl_rsbm_log_step=>raise_step_failed_callstack.
              ENDIF.
            ENDIF.      "Read table
    Thanks for looking into this and will appreciate your response on this.
    Regards
    Raman

    Have you tried the same thing by deleting the extra 'READ' statement?

  • Aggregates on Non-cumulative InfoCubes, stock key figures, stock, stocks,

    Hi..Guru's
    Please let me know if  anybody has created aggregates on Non-Cumulative Cubes or key figure (i.e. 0IC_C03 Inventory Management.)
    I am facing the problem of performance related at the time of execution of query in 0IC_C03.( runtime dump )
    I have tried lot on to create aggregate by using proposal from query and other options. But its not working or using that aggr by query.
    Can somebody tell me about any sample aggr. which they are using on 0ic_c03.
    Or any tool to get better performance to execute query of the said cube.
    One more clarification req that what is Move the Marker pointer for stock calculation. I have compressed only two inital data loading req. should I compress the all req in cube (Regularly)
    If so there would be any option to get req compress automatically after successfully load in data target.
    We are using all three data sources 2lis_03_bx,bf & um for the same.
    Regards,
    Navin

    Hi,
    Definately the compression has lot of effect on the quey execution time for Inventory cubes <b>than</b> other cumulated cubes.
    So Do compression reqularly, once you feel that the deletion of request is not needed any more.
    And ,If the query do not has calday characterstic and need only month characterstic ,use Snap shot Info cube(which is mentioned and procedure is given in How to paper) and divert the month wise(and higher granularity on time characterstic ,like quarter & year) queries to this cube.
    And, the percentage of improvement in qury execution time in case of aggregates is less for non cumulated cubes when compared to other normal(cumulated) cubes. But still there is improvement in using aggregates.
    With rgds,
    Anil Kumar Sharma .P
    Message was edited by: Anil Kumar Sharma

  • ELSEIF in calculated key figure

    Dear gurus
    We have recently upgraded to NW2004s, and would need some help on the formula for my calculated key figure. This calculated key figure is meant to replicate IF... ELSEIF statement, depending on what the user enters. The logic that we have are as below :
    IF Var=1, then display key figure A
    ELSEIF Var=2, then display key figure B
    ELSEIF Var=3, then display key figure C
    ELSEIF Var=4, then display key figure D
    where Var is a Formula Variable, Processing By User Entry/Default value.
    The formula that we have originally, in BW3.5 is :
    <i>(Var == 1) * 'Amount in TC' + (Var== 2) * 'Amount in Comp Code' + (Var == 3) * 'Amount in Parall USD' + (Var == 4) * 'Amount in Hard Cur' </i>
    This formula has served us well in BW 3.1 to BW 3.5, and never had any problems with it. However, when we migrated over to BW 7.0, we could not get values for this formula (eventhough we have data in our cubes). The only data that get is when we key in Var=1, but when we try with Var=2, 3 or 4, no data is displayed in our key figure.
    We tried to debug, but somehow we could not figure out how the new BW7.0 calculates these type of key figures, and whether is there a change in the formula variable. We believe that the problem may lie in the way that BW 7.0 interprets the formula above, and only obtains the first portion of the formula (Var==1).
    We would appreciate any helps, and of course, points will be awarded if problem can be solved.
    Thanks a lot

    Dear all
    With some luck in searching, I manage to find an OSS note which depicts this error and resolve it. For those who have the same problem, please use this OSS Note 994194.
    Cheers

  • 15 Seconds in BW - 140 Seconds Additional in BO... Lots of Key Figures...

    Hello, I'm trying to understand the BO performance on complex BEx queries... I have a BEx query that runs in about 20 seconds on the WEB with 25 restricted/calculated key figures...
    WebI report based on a universe created on the BEx query above takes about 160 seconds... When I followed up steps to capture the MDX statement and used MDXTEST to see the time in BW, I can see that it comes back in 15 seconds... So, performance issue is not in the BW or in the generated MDX statement...
    Any idea about where BO spends the remaining 140 seconds???  I can think of data transfer from BW into BO, preparing the output in WebI display but 140 seconds seems too much for all this...
    When I drop the number of key figures to 15, total runtime goes down to about 70 seconds - a gain of 90 seconds...  So, I'm pretty sure it has something to do with the number of key figures...  But, if the heavy load is on the BW side to do the work and it takes 15 seconds, it sounds there is something wrong in BO and I'm wondering if anybody has any ideas to improve performance...
    We do have BIA installed...  That's probably why MDX takes 15 seconds since the cubes behind the multi provider have millions of records...
    Thanks in advance!
    Cuneyt

    To an extent you are right that number of key figures wil have an impact. The rest of the time being taken is for converting the result set from MDX format to WebI native format.
    I have seen cases where during this conversion WebI Processing Servers used to run out of memory but this has been fixed/updated with new releases and fix packs.
    - Noman Jaffery

Maybe you are looking for

  • Spry tabbed panels as menu system

    Hi, This is actually for Dreamweaver CS6.    What I'm trying to do is use spry tabbed panels as horizontal my menu system.    I want to have basically the functionality of the adobe.com menu system where the drop downs are tabbed and the content box

  • Connecting EHP4 to BI system

    I have a new sandbox ERP 6 EHP4 java system. I installed portal and portal core software units and ehp4 portal content, but did not install bi-java as we have a seperate system with bi-java installed Now I am trying to connect the ERP java system to

  • Missing namespace on XAI Inbound Service Fault Element

    Hi, when a XAI Inbound service errors out, it uses the Fault element defined in the WSDL, which normally should be: +<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">+ +<soapenv:Body>+ +<soapenv:Fault>+ +<faultcode>soapenv:

  • Will the order of elements stored in pl.sql table retains

    Hello Friends, I am having a record type and the for each element of record , i am having corresponding pl.sql table type . If i am storing the values into the records from a query and also the individual elements in the pl.sql table type will the or

  • How i can insert or save ( PDF, EXCEL, WORD, JPEG ) in IMAGE ITEM.

    Dear All, plz advise how i can save PDF, EXCEL, WORD, JPEG files in IMAGE FILE. Thanks in advance ASIM.