No values when using key figure with constant selection?

Hi experts,
I have built a Webi on top of a universe that is sitting on top of a Bex query.
In my Bex query I have a bunch of key figures defined that are restricted on time and category.
This Webi works fine.
Then I added an additional key figure that required a constant selection on time and on category.
When I first added this to my Webi report it was fine. But once I refreshed my report showed no values.
The report still seems to know that it is meant to retrieve values because it is bringing back the correct records - just no values. (ie I am showing time in my columns and it's showing the correct periods that are meant to have data)
I refreshed a number of times and sometimes it would bring "#TOREFRESH" in some cells but once I refreshed again the cells are blank. Sometimes it would even show me a value in a couple of cells and others would show the "#TOREFRESH"
I went back to my Bex query and removed the key figure with constant selection and the report is working again?
Has anyone experienced something similar? Is there a way to make this work?
Thank you!
Sabine

#TOREFRESH error message appears for smart measures (measure object with aggregation type Database Delegated) when the context for the measure is changed. Refreshing data will solve the issue. Database delegated measures are used for some non-additive aggregation which webi is not able to handle properly. If you are not using such aggregation, then tou can change the aggregation type to something other than database delegated to avoid #TOREFRESH.

Similar Messages

  • Combine two reports in query designer using key figure with sap exit

    Hi experts,
    i want to combine two reports in query designer using key figure with sap exit
    in the report 1 key figure calculation based on the open on key date(0P_DATE_OPEN)
    to calculate due and not due in two columns
    in report 2 key figure calculate in the time zones using given in variable Grid Width (0DPM_BV0) like due in 1 to 30 days, 31 to 60 days...the due amount based on the open on key date(0P_DATE_OPEN)
    to calculate in 1-30, 31-60, 61-90, 91-120, 121-150 and >150 days in 6 columns
    now i have requirement like this
    not due, 1-30, 31-60, >60, due,1-30, 31-60, >60 in 8 columns
    or
    not due, due, 1-30, 31-60, 61-90, 91-120, 121-150 and >150 in 8 col
    thank you

    Hi Dirk,
    you perhaps know my requirement,
    for the management to make used in one report,
    we have in reporting finacials Ehp3.
    Vendor Due Date Analysis - which show due, not due
    Vendor Overdue Analysis - show only due and analysis in time grid frame
    i want to combine in one report that show NOT DUE, DUE, DUE time frames in grid.
    krish...

  • Problem with using Key Figure inside IDT

    Hii Experts,
    I have created an Universe using Information Design Tool(IDT), in which i had created the Key figures whose value are calculated  based up on Date i supply and that value is Being Calculated fine according to my need.
    But Problem is that when i am going to use that Key figures value in further Calculation, its returning wrong value....
    Can anyone please help me, how can i use the Key figure's value in another key figure for further calculation inside the IDT.
    Thanks
    Prakash

    Hi Prakash,
    Can you explain what are you doing exactly and what you wan to do?
    Can you provide the expression you wrote? Which database are you using?
    Thank you
    Didier

  • Setting the values of the key figures

    Hi,
    I have a problem in a query. There is a variable chosen with a range for 0calmonth. For the two of the key figures, I need to restrict the key figure to the first period and for the other key figure I need to restrict to the last period. However, what I need more is that if in the restricted period there is no value for that key figure it should get the first period that it has a value. For example:
    Our variable set as: 02.2006   -  05.2006
    And our data is
         CalMonth          KeyFig1     KeyFig2
    A     02.2006                 0            7
    A     03.2006                 0           8
    A     04.2006                 4            9
    A     05.2006                  5            0
    I want to see in the query as:
                  KeyFig1    KeyFig2
    A              4                9             
    When I add the results with first value and last value, I can see these figures in the general results section. But this time I have to hide the key figures and show only the results section.
    Any idea on preparing such a query?
    Thanks in advance...

    Hi,
    try using conditions:
    http://help.sap.com/saphelp_nw70/helpdata/en/43/2695d2fd2f0d23e10000000a1553f7/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/43/b57138c1afbd20e10000009b38f889/content.htm

  • Regarding classifying values in a key figure

    Hi All,
    I need help in defining one query. In my query there is a key figure with positive and negitive values(Quantity). I need another key figure (Key figure 2) to display all the negitive values for a condition price list type =02.
    That is "IF PRICE LIST TYPE =02 and qty is nigitive" then display in Key figure 2
    How to achieve it??
    Regards
    Jay Y

    Hi,
    Create a Calculated key figure with the following formula:
    ( 'Keyfigure' < 0) * 'Keyfigure'
    The expression ( 'Keyfigure' < 0) returns 1 when ever the expression is true.
    Use this CKF in the query along with the restriction on Price List type.
    (You can create a restricted key figure using the above CKF & restricting it on Price List type)
    Hope this helps.

  • How to show filter values of restricted key figures in BEx Analyzer?

    Hi,
    I have following report.
                         Quantity USA        Quantity China
    Product           100                        150
    Quantity USA is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = USA
    Quantity China is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = China
    I notice that when I put only one of these resticted key figures into the query, there is a line in the filter area of the report in the BEx Analyzer that shows the characteristic 'country' and the value on which it's restricted in the restricted key figures.
    E.g.:
    Country          USA
                         Quantity USA
    Product           100 
    If I put both restricted key figures in the query, this line is not shown.
    Does anyone of you know how I can display this line again when using multiple restricted key figures like this in the query?
    Thanks!
    Regards,
    Pascal

    Hi,
    I have following report.
                         Quantity USA        Quantity China
    Product           100                        150
    Quantity USA is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = USA
    Quantity China is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = China
    I notice that when I put only one of these resticted key figures into the query, there is a line in the filter area of the report in the BEx Analyzer that shows the characteristic 'country' and the value on which it's restricted in the restricted key figures.
    E.g.:
    Country          USA
                         Quantity USA
    Product           100 
    If I put both restricted key figures in the query, this line is not shown.
    Does anyone of you know how I can display this line again when using multiple restricted key figures like this in the query?
    Thanks!
    Regards,
    Pascal

  • Filtering a Query result for a specific value of a key figure

    Hi folks,
    I want to filter a query for a specific value of a key figure. The report should display all customer who has an account balance greater than EUR 500'000.
    Can I only implement this kind of filter via a condition in Query-Designer? If I run that query on an InfoCube with non-cumulative key figures over all our customers (> 400'000) I have problems with the consumption of the memory. If I restrict the amount of the customers to 50'000 - 60'000 then it works. It seems that the query reads all customer records in an internal table before applying the condition.
    Is there another way to deal with? Any help appreciated.
    Kind regards
    Hansjörg Luzi
    Graubündner Kantonalbank
    CH-7002 Chur

    You could try to implement an alternative solution: define a new Characteristc with discrete values (in the following example I suppose to have intervals of 10)
    KF -> CHAR
    115 -> 110 (110 <= KF < 120)
      5 ->   0 (  0 <= KF <  10)
    83 ->  80 ( 80 <= KF <  90)
    Then you can use these dicrete values to filter ...
    I know that it's not so "flexible" (discetization must be predefined), but query response time is quicker and you can use Aggregates ...
    Hope it helps
    GFV

  • 3 Decimal place values for Amount Key Figure

    Hi Experts,
    I have created an ODS in BI 7.0. This has a amount key figure which is getting calculated by a routine. Now The value that is getting calculated is getting stored into the ODS with only two decimal places.
    For example if the value that is gettig calculates is 0.187 by the code, the values that is getting stored is 0.19.
    This is not related to Bex display. We need to store the values 0.187 in the system and not 0.19.
    The Amount key figure that we are using is of unit 0DOC_CURRENCY . In Additional properties,  'key figure with maximum precision' check box is ticked is . We have not defined any decimal places for the BEX Display.
    Kindly help us in this matter.

    Hi Saurabh,
                  If you wish to change the decimal precision for your 0DOC_CURRENCY... you can use t.code CUNI to change the number of decimal places.  But, then this would be global effect wherein whereever this infoobject is used it would be reflected with the changes you made in CUNI.  Also check if you have authorization to change this. 
    Regards,
    Kishore

  • Key figure with pre-calculated aggregation

    Hello,
    I have to model a key figure with a pre-calculated aggregation, that is, soruce flat files contain explicit values for months, quarters, halfyears and years. The key figure is a percentage (service quality) and the corresponding company department provides me with results for all aggregation levels.
    I think that this case can be modeled with one InfoCube for each aggregation level and a Multicube but I have to create a high number of InfoCubes (aprox. 180).
    I can get the formula that department uses, but it's possible on BW to change standard aggregation (SUM, MAX, MIN)?
    Thanks in advance and regards,
    Alberto Garcia.

    Hi Alberto,
    One of the ways of doing it could be -
    add another field (char) to your cube called at "value Type" & assign different values to it depending upon the time value.
    say Monthly  - value type 1
        Querter  - value type 2
    & so on ...
    keep filling the same key figure.
    at the time of reporting restrict your key figure accordingly with the value type. ( say need only montly key figure value restrict value type to "1")
    hope it helps.
    VC

  • When creating Key figures

    Hi gurus,
    When creating Key Figures in Adminstration workbench
    in the tabs <b>AGGREGATION</b> and <b>ADDITIONAL PROPERTIES</b>
    can somebody kindly explain the below contents and how do they affect and where do they affect, if we select.
    <b>AGGREGATION</b>
    aggregation----> sum, maximum, minmum
    <b>Exception Aggr</b>----> summation
    first value
    last value
    no aggregation (x if more than one record occurs)
    no aggregation (x if more than one value occurs)
    no aggregation (x if more than one value not= 0 occurs)
    standard deviation
    summation
    var
    <b>agg. referen.char</b>
    <b>cummulative/non-cumulative values</b>
    non *** value with ncum value change
    ncum value with in and out flow
    i will be very greatfull if somebody can give me some clear explaination and with some examples
    thanks and regards
    H.B.

    hi Dinesh,
    thanks for the quick response.
    With the info i got ...i am assuming that...
    if we set the settings of aggregation when creating key figures they will be displayed in the query results row.
    but if we want to have this effect in the data targets then we have to do these settings in the update rules
    plz can you tell me where to do these settings and is the affect same as the properties of key figures do in the query results row.
    thanks and regards
    H.B

  • Add new key figure with characteristics in report painter

    Hi expert,
    I am create a new report painter in GRR2 under report group 8A2 (EC-PCA: Standard Reports) and i would like to create a report show on G/L amount with segment.
    When i click on first column to assign "key figure with characteristics" i am not able to find characteristics "segment".
    Please kindly advice how to create in new characteristics in report painter?
    Thanks.
    p/s : profit center number is same with segment number
    regards,
    ng chong chuan

    Hi,
    "segment" is not a characteristic of classical profit-center accounting (libraries 8A*). Its a New GL characteristic, thus create a report painter report for New GL library.
    best regards, Christian

  • How could I replace hard coded value in my sql query with constant value?

    Hi all,
    Could anyone help me how to replace hardcoded value in my sql query with constant value that might be pre defined .
    PROCEDURE class_by_day_get_bin_data
         in_report_parameter_id   IN   NUMBER,
         in_site_id               IN   NUMBER,
         in_start_date_time       IN   TIMESTAMP,
         in_end_date_time         IN   TIMESTAMP,
         in_report_level_min      IN   NUMBER,
         in_report_level_max      IN   NUMBER
    IS
      bin_period_length   NUMBER(6,0); 
    BEGIN
      SELECT MAX(period_length)
         INTO bin_period_length
        FROM bin_data
         JOIN site_to_data_source_lane_v
           ON bin_data.data_source_id = site_to_data_source_lane_v.data_source_id
         JOIN bin_types
           ON bin_types.bin_type = bin_data.bin_type 
       WHERE site_to_data_source_lane_v.site_id = in_site_id
         AND bin_data.start_date_time     >= in_start_date_time - numtodsinterval(1, 'DAY')
         AND bin_data.start_date_time     <  in_end_date_time   + numtodsinterval(1, 'DAY')
         AND bin_data.bin_type            =  2
         AND bin_data.period_length       <= 60;
      --Clear the edr_class_by_day_bin_data temporary table and populate it with the data for the requested
      --report.
      DELETE FROM edr_class_by_day_bin_data;
       SELECT site_to_data_source_lane_v.site_id,
             site_to_data_source_lane_v.site_lane_id,
             site_to_data_source_lane_v.site_direction_id,
             site_to_data_source_lane_v.site_direction_name,
             bin_data_set.start_date_time,
             bin_data_set.end_date_time,
             bin_data_value.bin_id,
             bin_data_value.bin_value
        FROM bin_data
        JOIN bin_data_set
          ON bin_data.bin_serial = bin_data_set.bin_serial
        JOIN bin_data_value
          ON bin_data_set.bin_data_set_serial = bin_data_value.bin_data_set_serial
        JOIN site_to_data_source_lane_v
             ON bin_data.data_source_id = site_to_data_source_lane_v.data_source_id
            AND bin_data_set.lane = site_to_data_source_lane_v.data_source_lane_id
        JOIN (
               SELECT CAST(report_parameter_value AS NUMBER) lane_id
                 FROM report_parameters
                WHERE report_parameters.report_parameter_id    = in_report_parameter_id
                  AND report_parameters.report_parameter_group = 'LANE'
                  AND report_parameters.report_parameter_name  = 'LANE'
             ) report_lanes
          ON site_to_data_source_lane_v.site_lane_id = report_lanes.lane_id
        JOIN (
               SELECT CAST(report_parameter_value AS NUMBER) class_id
                 FROM report_parameters
                WHERE report_parameters.report_parameter_id    = in_report_parameter_id
                  AND report_parameters.report_parameter_group = 'CLASS'
                  AND report_parameters.report_parameter_name  = 'CLASS'
             ) report_classes
          ON bin_data_value.bin_id = report_classes.class_id
        JOIN edr_rpt_tmp_inclusion_table
          ON TRUNC(bin_data_set.start_date_time) = TRUNC(edr_rpt_tmp_inclusion_table.date_time)
       WHERE site_to_data_source_lane_v.site_id = in_site_id
         AND bin_data.start_date_time     >= in_start_date_time - numtodsinterval(1, 'DAY')
         AND bin_data.start_date_time     <  in_end_date_time   + numtodsinterval(1, 'DAY')
         AND bin_data_set.start_date_time >= in_start_date_time
         AND bin_data_set.start_date_time <  in_end_date_time
         AND bin_data.bin_type            =  2
         AND bin_data.period_length       =  bin_period_length;
    END class_by_day_get_bin_data;In the above code I'm using the hard coded value 2 for bin type
    bin_data.bin_type            =  2But I dont want any hard coded number or string in the query.
    How could I replace it?
    I defined conatant value like below inside my package body where the actual procedure comes.But I'm not sure whether I have to declare it inside package body or inside the procedure.
    bin_type     CONSTANT NUMBER := 2;But it does't look for this value. So I'm not able to get desired value for the report .
    Thanks.
    Edited by: user10641405 on May 29, 2009 1:38 PM

    Declare the constant inside the procedure.
    PROCEDURE class_by_day_get_bin_data(in_report_parameter_id IN NUMBER,
                                        in_site_id             IN NUMBER,
                                        in_start_date_time     IN TIMESTAMP,
                                        in_end_date_time       IN TIMESTAMP,
                                        in_report_level_min    IN NUMBER,
                                        in_report_level_max    IN NUMBER) IS
      bin_period_length NUMBER(6, 0);
      v_bin_type     CONSTANT NUMBER := 2;
    BEGIN
      SELECT MAX(period_length)
        INTO bin_period_length
        FROM bin_data
        JOIN site_to_data_source_lane_v ON bin_data.data_source_id =
                                           site_to_data_source_lane_v.data_source_id
        JOIN bin_types ON bin_types.bin_type = bin_data.bin_type
       WHERE site_to_data_source_lane_v.site_id = in_site_id
         AND bin_data.start_date_time >=
             in_start_date_time - numtodsinterval(1, 'DAY')
         AND bin_data.start_date_time <
             in_end_date_time + numtodsinterval(1, 'DAY')
         AND bin_data.bin_type = v_bin_type
         AND bin_data.period_length <= 60;
      --Clear the edr_class_by_day_bin_data temporary table and populate it with the data for the requested
      --report.
      DELETE FROM edr_class_by_day_bin_data;
      INSERT INTO edr_class_by_day_bin_data
        (site_id,
         site_lane_id,
         site_direction_id,
         site_direction_name,
         bin_start_date_time,
         bin_end_date_time,
         bin_id,
         bin_value)
        SELECT site_to_data_source_lane_v.site_id,
               site_to_data_source_lane_v.site_lane_id,
               site_to_data_source_lane_v.site_direction_id,
               site_to_data_source_lane_v.site_direction_name,
               bin_data_set.start_date_time,
               bin_data_set.end_date_time,
               bin_data_value.bin_id,
               bin_data_value.bin_value
          FROM bin_data
          JOIN bin_data_set ON bin_data.bin_serial = bin_data_set.bin_serial
          JOIN bin_data_value ON bin_data_set.bin_data_set_serial =
                                 bin_data_value.bin_data_set_serial
          JOIN site_to_data_source_lane_v ON bin_data.data_source_id =
                                             site_to_data_source_lane_v.data_source_id
                                         AND bin_data_set.lane =
                                             site_to_data_source_lane_v.data_source_lane_id
          JOIN (SELECT CAST(report_parameter_value AS NUMBER) lane_id
                  FROM report_parameters
                 WHERE report_parameters.report_parameter_id =
                       in_report_parameter_id
                   AND report_parameters.report_parameter_group = 'LANE'
                   AND report_parameters.report_parameter_name = 'LANE') report_lanes ON site_to_data_source_lane_v.site_lane_id =
                                                                                         report_lanes.lane_id
          JOIN (SELECT CAST(report_parameter_value AS NUMBER) class_id
                  FROM report_parameters
                 WHERE report_parameters.report_parameter_id =
                       in_report_parameter_id
                   AND report_parameters.report_parameter_group = 'CLASS'
                   AND report_parameters.report_parameter_name = 'CLASS') report_classes ON bin_data_value.bin_id =
                                                                                            report_classes.class_id
          JOIN edr_rpt_tmp_inclusion_table ON TRUNC(bin_data_set.start_date_time) =
                                              TRUNC(edr_rpt_tmp_inclusion_table.date_time)
         WHERE site_to_data_source_lane_v.site_id = in_site_id
           AND bin_data.start_date_time >=
               in_start_date_time - numtodsinterval(1, 'DAY')
           AND bin_data.start_date_time <
               in_end_date_time + numtodsinterval(1, 'DAY')
           AND bin_data_set.start_date_time >= in_start_date_time
           AND bin_data_set.start_date_time < in_end_date_time
           AND bin_data.bin_type = v_bin_type
           AND bin_data.period_length = bin_period_length;
    END class_by_day_get_bin_data;

  • Planning book values for certain key figures show doubled up numbers

    currently on SCM 7.0, we are facing a strange intermittent issue of doubled up values in planning book for certain key figures when compared to the underlying Infocube.
    This happens when the Input process step happens, some times when the process step fails in chain and is run again.
    After its run then we load data to the planning book , then when the key figures show up for the current week bucket they show Doubled up values
    We tried to run a consistency check /SAPAPO/OM17 (DP time series option) but no result.
    Can anyone mention what could be the reason ?

    Hi,
    Please check the data in the cube for the codes . There could be double request for the same keyfigure. When you copy from cube whatever value avilable in the cube gets into Planning book.
    Transaction : LISTCUBE
    Solution : Delete the old request and check the value agina in cube. Execute the TSCUBE.
    Thanks,
    Jeysraj

  • Can not Sorting by Key Figure with Analyzer and Excel 2007

    Hello experts,
    We have recently changed to Office 2007, and the funcionality of Sorting by a Key Figure with BEx Analyzer is desactivated.
    We have applied the patch 10 for BEx  BI 7.10.
    Has anybody had the same problem?
    Thanks in advanced.

    Hi Patricia,
    Have you got two structures in your query?
    Please take a look at the following notes:
    1378796 - Disabled Sorting when there is one struct. in the drilldown
    1332267 - BExAnalyzer: changes in cell properties dialog / sorting
    these should explain why the sort feature is no longer available in certain scenarios.
    many thanks
    Orla.

  • About value type and key figure type

    Hello Gurus,
              please explan the different usage of about value type and key figure type.  what is the typical values for both infoobjects ?
    Many thanks,
    Frank

    Hi,
    0METYPE is a key figure-specific info object usually used to define semantics of the individual business key figures in BW (for example, actual, commitment, plan, target values).
    Its a bi specific field which is filled from extract structure field named MEASTYPE table COSR
    Refer to OSS Note 523742 for how it is filled and the following link for additiona information.
    http://help.sap.com/saphelp_nw70/helpdata/en/91/ddd52b9ef30645a338e28aae443807/frameset.htm
    Note 523742 - BCT-CO: BW key figure model and R/3 tables for trans. data
    This note provides information on the key figure model in the area of BW Content CO-OM. It also gives an overview of the DataSources for transaction data and the corresponding source tables and value fields in the R/3 System.
    The key figure model for currency fields in the area of CO-OM contents affects the following info object of type key figure:
    0AMOUNT Amount
    The key figure itself does have any business semantics.
    The semantics of the individual business key figures in BW (for example, actual, commitment, plan, target values) is determined using combinations of values for the following key figure-specific info objects (see also the account model in SEM-BPS, note 407563):
    0METYPE Key figure type
    0VTYPE Value type for reporting
    --> 0VTDETL Details of the value type
    --> 0VTSTAT Statistics indicator for the value type.
    For example, using transaction SE16, the possible characteristics of the values of this InfoObject can be taken from the above-mentioned master data tables in R/3.
    The business key figures on the InfoCubes of the standard BW content were defined as restricted key figures using this semantics of the key-figure-specific characteristics.
    The conversion of the R/3 transaction data in the BW key figure model is carried out in the extractors using the ROMI_GET_VTYPE_AND_DETAIL function module. It primarily happens using the specified conversion tables.
    The following dependencies exist for the source tables of the DataSources:
    COSP_VTYPE for COSS, COSP, COVP,
    COSB_VTYPE for COSB,
    BPXX_VTYPE for BPGE, BPJA, BPEE
    If an R/3 source record cannot be converted using these tables, it may not be extracted to BW.The application log of the R/3 DataSource transaction RSA3 contains entries for the unconverted values after the test run.(The log function for the CO-OM DataSources was considerably improved by the correction for note 523655).
    The application log for the extraction runs from BW can be evaluated using transaction SLG1 (Object: RSAP, object information: RSAP_INFO)
    Furthermore, the semantics of a key figure are still determined by the time characteristics and the following key-figure-specific info objects:
    0CURTYPE Currency type (for more information, see note 517909),
    0DB_CR_IND Debit/credit indicator (for more information, see note 065075),
    0VERSION CO version
    -Vikram

Maybe you are looking for

  • How to share documents which are NOT photos?

    I only see how to create a family for IPhoto sharing.  What about documents in folders I create? How to share non-photo items with friends, without giving someone my username&password, which then gives FULL access to everything?  Not Cool; or so user

  • Latency compensation doesn't work on I/O plugin?

    So, I thought this was supposed to work... I tried to set up some parallel compression by sending my drum bus to another Aux which had the I/O plug inserted. The I/O plug sent the drum signals to my hardware compressor (and back). But the problem is,

  • Database related issue

    Hi friends, When u enter data into database table , the value entered is the actual value but its gets converted to internal value. i need the actual value to be stored not the internal value.How to get it.....? for correct answer points are waiting

  • Get the SQLs In between a date range

    Get the SQLs irrespective of sessions in the order of its execution from a specified schema with in a date time range

  • Audio Playback Issues in Premiere Pro 8.1.0 with AJA Kona 3

    Hi, I'm supporting a couple of edits running the latest version of Premiere Pro. The editors are experiencing some strange stuttering/glitching audio playback via the installed AJA Kona 3 cards, manifested as follows: When scrubbing using keyboard ar