Restricted key figure doesn't work when restricted objected used in Structure

Hi Experts,
We've a requirement where user wants to restrict ABC key figure with z object. This z objects also used in structure as well, because of that this restricted key figure is not working.
We understand it can't be used in two structure and user wants to keep this object in structure as well.
Is there a workaround to make it work?
Requirement brief overview:
Say I've restricted key figure gross avail percentage and which is restricted by retail group A and B. This retail group is also used in Structure as well (in row). As said users want to keep retails group in structure and want to restrict only one key figure with two retail group A and B.
But this combination is not working. Please can someone recommend any other way to achieve this requirement.
Thanks,

Hi Yasmine,
Yes, I've reloaded the data again. Also, I've mapped correctly in cube. But still I can't see data.
I've checked customer master data , there is no data for this field.
In transformation I've mapped retail group with the new field as well.
When I tried to activate master data , it's saying it's possible only via attribute change run.
I've realised 0CUSTOMER_ZRETGRP (old field) also used in two aggregates.
Do I need to add this in aggregates?
How to activate master data so data will appear in cube?
Is there any programme to activate via attribute change run?
Thanks

Similar Messages

  • Restricted key figure doesn't work

    Hello Experts,
    We've the restricted key figure which is restricted with retailer group A & B But  it does not work if we have a structure in a query that also includes retail group A & B.
    Is there a way we could look at getting this made into an embedded key figure instead?
    Thanks

    Hi Pawan,
    You can't use same infoobject in two (2) structures at the same time..
    May I know what you want to achieve? Perhaps we can make an alternative..Kindly post here a screenshot of what you want to achieve..
    Regards,
    Loed

  • SampleLinear doesn't work when scaling outCoord using ByteArray or Vector. Number

    Hi,
    I think I've found a bug in Pixel Bender that's so far been missed.
    If you want to upsample a buffer using a ShaderJob and ByteArray/Vector.<Number> it doesn't work with sampleLinear, only sampleNearest.  Using sampleLinear it returns a buffer with mostly black pixels but with every 2nd pixel (for upsampling to a double sized buffer) written to.  So basically it looks like it's upsampling but only writing to some of the target pixels...
    Btw, I'm talking about in Flash here.   And I need to use ByteArray/Vector.<Number> instead of BitmapData as I need to process 32-bit data.
    Strangely it works in the PB toolkit in all of the modes (GPU, CPU, Flash).
    Am I doing something wrong or is this a known issue?
    Here's my sample code:
    package 
              import flash.display.Bitmap;
              import flash.display.BitmapData;
              import flash.display.Shader;
              import flash.display.ShaderJob;
              import flash.display.ShaderPrecision;
              import flash.display.Sprite;
              import flash.display.StageQuality;
              import flash.geom.Vector3D;
              import flash.utils.ByteArray;
              import flash.utils.Endian;
              import flash.utils.Timer;
              public class Test_Upscale extends Sprite
                        [Embed ( source = "../data/embed/pixelbender/bilinearresample.pbj", mimeType = "application/octet-stream" ) ]
                        private var BilinearScalingKernel:Class;
                        public function Test_Upscale()
                                  const srcWidth:int = 256;
                                  const srcHeight:int = 256;
                                  const dstWidth:int = 256;
                                  const dstHeight:int = 256;
                                  this.stage.quality = StageQuality.BEST;
                                  // Create noise input buffer
                                  var input:ByteArray = new ByteArray();
                                  input.endian = Endian.LITTLE_ENDIAN;
                                  input.length = srcWidth * srcHeight * 4 * 4;
                                  for (var i:int = 0; i < srcWidth*srcHeight; i++)
                                            var val:int = Math.random() * 255.0;
                                            input.writeFloat(val);
                                            input.writeFloat(val);
                                            input.writeFloat(val);
                                            input.writeFloat(255.0);
                                  input.position = 0;
                                  // Create output buffer
                                  var output:ByteArray = new ByteArray();
                                  output.endian = Endian.LITTLE_ENDIAN;
                                  output.length = dstWidth * dstHeight * 4 * 4;
                                  // Resample
                                  Resample(input, srcWidth, srcHeight, dstWidth, dstHeight, output);
                                  // Display as a bitmap
                                  this.addChild(new Bitmap(ToBitmap(dstWidth, dstHeight, output) ));
                        private static function ToBitmap(width:int, height:int, data:ByteArray):BitmapData
                                  data.position = 0;
                                  var bmp:BitmapData = new BitmapData(width, height, false);
                                  var idx:int = 0;
                                  for (var j:int = 0; j < height; j++)
                                            for (var i:int = 0; i < width; i++)
                                                      var r:int = data.readFloat() as int;
                                                      var g:int = data.readFloat() as int;
                                                      var b:int = data.readFloat() as int;
                                                      data.readFloat();
                                                      var c:int = r + (g << 8) + (b << 16);
                                                      bmp.setPixel(i, j, c);
                                                      idx++;
                                  return bmp;
                        public function Resample(src:ByteArray, srcWidth:int, srcHeight:int, dstWidth:int, dstHeight:int, dst:ByteArray):void
                                  // create and configure a Shader object
                                  var shader:Shader = new Shader();
                                  shader.precisionHint =ShaderPrecision.FULL;
                                  shader.byteCode = new BilinearScalingKernel();
                                  shader.data.src.input = src;
                                  shader.data.src.width = srcWidth;
                                  shader.data.src.height = srcHeight;
                                  shader.data.scaley.value = [0.5];
                                  var job:ShaderJob = new ShaderJob(shader, dst, dstWidth, dstHeight);
                                  job.start(true); // true flag runs the job synchronously.
    <languageVersion : 1.0;>
    kernel BilinearResample
    <   namespace : "com.test.pixelbender";
        vendor : "me";
        version : 1;
        description : "bilinear";
    >
        input image4 src;
        output pixel4 dst;
        parameter float scaley;
        void
        evaluatePixel()
            dst = sampleLinear(src, outCoord() * float2(scaley, scaley)); // bilinear scaling

    My bad...
    PIxel bender is fine, the bug was in my code that converts the floats back to a BitmapData
    It seems that
        var r:int = data.readFloat() as int;
    does something strange.. If I just remove the "as int" it works fine...  still not sure why though
    -Andrew

  • Bex Property of Info object doesn't work when Infoset is Used

    Hi,
      When I use Business partner info object ( example 0CRM_SALESP or 0BP_ACTIVIT etc) in a query build directly on a ODS(DSO)  or infocube, the Bex setting "Query Def Filter Value Selection = Only Values in Info provider" defined in the 'Business Explorer" tab of the infoobject, works perfectly. This means that if the info object has 1 Million records in the master data table, but in the transaction data only 100 are involved, when you define a varialble restriction for the info object , in the selection screen the F4 will only show these 100 data as help.
      Although this feature works fine when the query is directly developed ON THE INFO PROVIDER. However when I define a infoset on the same ODS and define  a similar query, the F4 value shows all the data from the master data table instead of the ocurance in the transaction data( info provider)..
      Is there any way , I can get over this issue.
      Thanks
    Arunava

    Hi,
      I guess, I couldn't ecplain the issue properly earlier.
    What I am saying that even though I have the proper setting in the BEX tab ("Query Def Filter Value Selection = Only Values in Info provider")  for the info object , It behaves differently if the query is defined directly on ODS then on the infoset which is built on top of the ODS.
    When the query is build on the ODS the setting works fine
    However when the query is defined on the Infoset, the F4 help get the value from the info object master data.
    My question is , why this two different behaviour for the same info object? And how do I over conme this to get the same bahavious in info set as of the ODS.
    Thanks
    Arunava

  • "new selection", restricted key figure and basic key figure

    Hi,
    I have a test report and i have a basic keyfigure "ZRevenue" and "restricted key figure"(its defined over "ZRevenue") and
    a "new selection"(its defined over "ZRevenue").
    Now that i have "material number" and "material color" and "request id" in the rows. ("Material color" is a navigational attribute of material number).
    In the column level i have a basic key figure  "ZRevenue" and "restricted key figure"(its defined over "ZRevenue")  and
    a "new selection"(its defined over "ZRevenue") .
    In a "restricted key figure" or "new selection", we can include a basic key figure or new formula or calculated key figure or an already restricted key figure into it, then we restrict it, with one or more characteristic values. In the report output we get KF values only for those characteristic values, with which it has been restricted. Please correct me if my understanding is wrong.
    Initially i restricted the "new selection" (with material number 1 to 3) and "restricted key figure" (with material number 1 to 4).
    In the cube i have material numbers 1 to 11. Now all the values were displayed from 1 to 11, but for the
    "new selection" (with material number 1 to 3) and "restricted key figure" (with material number 1 to 4) i got values only for 1 to 3 and values for 1 to 4 respectively. This is as expected and is working fine.
    Now i tried to restrict the basic keyfigure  "ZRevenue" with material number 1, the output was only until the material number 4 (this is the greatest value of the material number defined over the "restricted key figure").
    Then i tried to restrict the "new selection" (with material number 1 to 9) , then the output was from 1 to 9 material numbers.
    If i remove the restriction over the basic keyfigure  "ZRevenue" , then i get all the material numbers from 1 to 11, for "new selection" i get values for the material number 1 to 9 and for "restricted key figure" i get values for the material numbers 1 to 4.
    Can some one explain me why this behavior?
    Edited by: sapbi enthusiastic on Jan 31, 2012 11:48 AM

    Hi,
    This is where set theory comes in handy
    So what you have is a basic KF (BKF), a selection (SEL), and an RKF.
    When producing an output, BEx seems to be looking for the union of all the restrictions you place on these. So when your BKF is not restricted, the union comes out to everything in the underlying DSO. When you restrict the BKF for material number 1, this is how the restrictions might have been processed internally
    BKF: Restriction on material 1
    RKF: Restriction on material 1-4
    SEL: Restriction on 1-3
    Union of these three: 1-4
    When you remove the BKF restriction and make SEL restricted to 9, this is how it plays out
    BKF: NO Restriction on material
    SEL: Restriction on material 1-9
    RKF: Restriction on 1-4
    Union of these three: everything.
    As the union ends up giving you everything, you get 11 records. However, as SEL is restricted for 1-9, the SEL will have values for the materials 1-9. Likewise for RKF, you'll get values only for materials 1-4. Hope this clears things up!
    Regards,
    Suhas

  • Problem with Restricted Key figure!

    Hello BW Gurus,
    Currently I am having problem with a report that is using a restricted key figure in the formula. When I filter down this restricted key figure, it is working fine but when I use this restricted key figure in formula that calculate greater than value, its giving me wrong figure and when I calculate less then value, its giving me zero total result. I am drilling down this restricted KF on a hierarchy. Did I miss any setting or do I need to do anything extra for this?
    Please let me know and thanks in Advance,
    Vaghar.

    In that case create two calculated keyfigures CKF1 and CKF2 such that
    CKF1 = ((Count >100)*1 + 0)
    CKF2 = (Count<100)*1 + 0)
    and then define Greater Count as a formula such that
    Greater Count = <b><i>Count</i></b> (CKF1)
    and similarly Lesser Count = <b><i>Count</i></b> (CKF2).
    where <b><i>Count</i></b> is a data function which gives a value of 1 when the operand <>0 and returns a 0 when the operand = 0.
          Hope this helps.

  • Restricted key figure as a selection screen

    hi
    in my fs they gave selection screen and restricted key figures are same things?
    can i use this restricted kf as a selection also?

    Hi,
    If u are talking about 'selection' vs 'restricted key figure: -
    Restricted key figure is the selection that u create globally and are avaible for all queries which are built on the multiporvider on which u created your restricted key figure.
    when u right click in ur query desinger row or column and create a 'new selection'  that also basically is a restricted key figure -b ut available only locally within that particular query.
    whereas the globally created RKF will be available to all queries on that info provider.
    And 'selection screen' will show all variables u have set as 'ready for input' . it will ask for user to enter the value when query is executed.
    hope it helps
    Regards,
    Rathy
    Edited by: Rathy Moorthy on Feb 25, 2009 11:59 AM

  • Restricted key figure advice please...

    greetings sdn. i need your advise on how to go about this type of report layout.
    i have 2 main columns, customer type and customer type b. and then 3 sub columns; consumption ranges and total.
    each customer should only fall in one category, either type a or type b.
                     type a                    type b
             (1-10)  (11-20)  tot   (1-10)  (11-20)  tot
    cust x      1              1
    cust y                                      1      1
    i made 2 restricted key figures; the 1st is volume restricted by the customer type a and the 2nd is also volume restricted by customer type b.
    when running the report, the customer volumes fall in the right columns. however, each customer is counted in both sub column totals.
                     type a                    type b
             (1-10)  (11-20)  tot   (1-10)  (11-20)  tot
    cust x      1              1                       1
    cust y                     1                1      1
    your advise will be most appreciated.
    thanks.

    hi venkata,
    i already sent you the screen capture of the query result
    thanks
    jay
    hi srini.
    i already made the formulas as you described. and the volume is falling in their respective columns according to customer type.
    the problem is that every customer is incremented in both count columns of both customer types (e.g. a customer who belongs in the 'customer type a' column is also counted in the 'customer type b' column).
    thanks
    jay

  • Constant Selection in Restricted Key Figure

    Hi Gurus,
    I am using BeX 3.x and in one of the reports, we use a restricted key figure that has the Profit Center Object[restricted to a few Hierarchy Nodes] and a Key Figure.
    But there is an option called 'Constant Selection' that is selected in the Profit Center object in this restricted key figure. Can you please tell me what checking the 'Constant Selection' option would achieve?Can you explain using a simple example how it works?
    Thanks a lot!!!!

    Hi,
       The Constant Selection function allows you to mark a selection in the Query Designer as constant. This means that navigation and filtering have no effect on the selection at runtime. This allows you to easily select reference sizes that do not change at runtime.
    For More info, refer to this link.
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e7/5f983c1a356858e10000000a114084/frameset.htm]
    Thanks & Regards,
    Pradeep

  • Customer Ext Variable is NOT working correctly in the Restricted Key Figure

    Hi all,
       I have created a variable ZVCBLMTH (Period from 01/1996 to Last Month) with reference to
        0CALMONTH  and it will be populated through  Customer Exit and it works fine.
        In the selection for 0CALMONTH, I gave the range as '05/2008' to '08/2008' and this new
        variable  passed the value of  range as '01/1996' to '04/2008' in RSRT.
        The properties of the variable are:
              Type of Variable -  Characteristic, Processing by - Customer Exit, Variable Represents - Interval
              and Variable is - Optional.
              No change in the result after changing the 'Variable is' from Optional to 'Mandatory'.
      This variable is used in Restricted Key Figure to calculate the number of matching records between
       01/1996 & 04/2008 and somehow it is not recognizing this variable and NOT passing the results correctly.
       But, there are records with 0CALMONTH between 01/1996 & 04/2008.   
       How could I test that which value is passed into the Restricted Key Figure for this variable, PLEASE ?
       Thanks in advance.
    Regards,
    Venkat.

    Hi Clemens Li
    I agreed on your point. When we define the Internal table the type for element EQUNR & QUMNR , we are referring the SAP data element for EQUNR, QMNUM field.
    Our doubt is even though we refer the standard data element, in the ALV display, it shows with leading zeros and also it creates problems in the filtering and in the filter window all values instead of unique nos.
    Hi Abhii
    I have given below the fieldcat coding.
    Friends, can you kindly clarify the above said problems. Since we use SAP ECC 6.0 any notes or patches apply is required. ( this is the basic functionality in ALV, that is my doubt).
        wls_fieldcat-col_pos   = wpv_pos.
        wls_fieldcat-fieldname = wpv_champ.
        wls_fieldcat-tabname   = wlc_tabname.
      wls_fieldcat-seltext_s = wls_fieldcat-seltext_m
        wls_fieldcat-seltext_l = wpv_libelle.
        wls_fieldcat-ddictxt   = 'L'.
        wls_fieldcat-no_out    = wv_no_out.
        APPEND wls_fieldcat TO gt_fieldcat.
    Kind regards,
    Jegathees P.

  • How to delete a restricted key figure in a multiprovider

    Hi all
    I used transaction RSZC (for the first time) to copy over restricted key figures from and info provider to a multi provider.
    This worked but somehow it copied over each restricted key figure twice.
    I have right clicked on the ones I don't want and clicked on delete but it doesn't delete them.
    any ideas ?
    thanks in advance

    Thanks to you all for your help
    It was my fault, I had them in structures that I'd copied over so that's why it wouldn't let me delete them.
    I found this out when I used RSZDELETE, thanks for that
    Sandra

  • Creating a restricted key figure in BI7 reporting

    Hi
    I am creating a restricted key figure globally in BI7 query designer, whenever I try to restrict Calender Year /Month, an error message pops up showing:
    Runtime error '457' (This key is already associated with an element of this collection), when I click ok another message opens
    Runtime error '429' (Active X component can't create object)
    and finally Microsoft VB runtime error
    Automation (The callee(servernot server application) is not applicable and disappeared; all connections are invalid. The call may have executed.
    I am working in BI 7, SAP gui 640 what could be the problem in BI 7???because the same thing is working in BI 3.5 environment.
    Regards
    Indraneel

    Hi Indraneel,
    Try to look for the patch level you are using for SAP GUI, it should be level 14. If lesser than this apply and check. And always disable VB macros.
    Assign points if helps.
    -Harshal

  • Develop a Restricted Key Figure

    Hi Experts
    Please me on how to proceed
    I am involved in developing a Restricted Key Figure.....which included a key Figure (Counter) and Resctriction on a CHAR of Data Type DATS.
    In the Restriction i want to include all the records that are not assigned any date
    When i include # in my restriction it is not working..please advise on how shall i proceed
    Thanks

    Hi,
    create new Restricted key figure.
    in Restricted key figure, drag key figure Counter and drag date on which you want to restrict and right click on date and select
    '#' value and save Restricted Key Figure and drag that keyfigure into columns. and execute report.
    check the data in the cube / DSO with  the given selections date has ' # ' values and data should be available in report as well.
    hope this helps
    Regards
    Daya Sagar

  • How can we restrict Key Figure in the BI System

    Hi All,
    Can any one explain How can i restrict key figures in BI system.
    So when i create a query a specific user  can only execute it if a specific key figure is a part of query otherwise he is not allowed to execute a query.
    For Example:
    A user TEST123 is allowed to execute a query with keyfigure Quantity he is not allowed to execute the query if any other key figure is present in the query
    Regards,
    Deepak

    Hay Diogo,
    Bravo...
    Your suggetions always work for me. The scenario was that
    A user TEST_PLD08 should only allow to see output for the querys which consist of the keyfigure PLDQUACMP and not for other keyfigures while other user TEST_PLD07 is allowed to see the output for  querys consist of any of the keyfiguers.
    so I have assign a authorization profile  PLD_TEST07 to the user TEST_PLD08 with KeyFigures authorization as mentioned below and it is working fine
    I     EQ     :
    I     EQ     PLDQUACMP
    You can forward me more scenarios like this if you can think of more it will be really helpful for me
    Regards,
    Deepak

  • One Variable 2 Restricted key figures on 2 different Dimensions

    Hi all,
    Here is my problem:
    I have a cube based on SD sales items. I want to calculate 2 retricted key figures on the 0net_value retricted by a date.
    The first key would be restricted by the installation date, and the second one by the cancellation date.
    Those two dates are set using a user input.
    When I try to do this here the error message I get:
    "Variable ZD_CSDATE is used in both (structure) element EL099Z0TL38F14TMC6AL7XKQD, and element EN4ZFAZEYGZ36B06JU04297W5 for various characteristics (0CANC_DATE, 0UCINSTDATE). This is not permitted as the characteristic is required for the F4 value help structure."
    I created 2 variables set by customer exit, this solve the problem but is not convenient at all. So who could use one and only one variable or how can create a variable by copy of another one?
    Thanks
    Matthieu

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi
    <Br>
    I am sure you can make more than one Restricted Key Figures which are restricted to same variable value for some Characteristic.  And secondly there is no easy copy and paste option to create 2 Customer Exit Variables. You need to find out the ABAP Code written using T-Code: CMODE for the Variable Exit and there you can copy and paste a part of this code to populate new variable. If you check the ABAP Code, you would understand what I am saying.<Br>
    I am more surprised at that F4 Help in the error message. Please investigate more in that direction.
    <Br><Br>Hope it helps.
    <Br>
    Cheers
    Abhijit
    <Br>* It's a good habit to reward someone with points in SDN if you think his/her
    response was helpful to you
    </FONT>

Maybe you are looking for

  • How many users can you have on time capsule

    How do I configure Time capsule so that I can use 2 macbook to safty copy (Time machine). Hans

  • Prime infra 2.1: How to configure email alert supression time (30 min)

    Hi Experts, I am not sure if it is possible or not, but my client is investigating an on going issue where we are tracking the interface down alerts on a switch. We have configured the mail server setting & getting the mails also for the interface do

  • How to copy movies to PC

    Hi,   i) I had shot some movies through my Iphone 4S. I am not able to copy all of them (through scanner & camera wizard) to my PC and some are getting stuck. Pls. help me on how I can copy them (like drag & drop etc.). Error message "current picture

  • Cannot Send Mail Server Certificate Invalide

    How do I resolve this issue with my Mail app?

  • Battery life after updating to 6.1.2

    Whats going on with 6.1.2 update!!! My 4s was updated yesterday and the battery drains so fast, fully charged my phone twice today and its already dying now and it's getting hot too without realy using it. Before updating it used to last me a day wit