"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

Similar Messages

  • How  use non cumulative key figure and noncumulative key figure screenshot

    how  use non cumulative key figure and noncumulative key figure screenshot

    Hello,
    Please see this docs for Non-Cumulative and Snapshot scenario,
    [How to Handle Inventory Management Scenarios in BW (NW2004)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328]
    [Non-Cumulative Values / Stock Handling|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0b8dfe6-fe1c-2a10-e8bd-c7acc921f366]
    Thanks
    Chandran

  • I can't select a Payment Method and a key for Terms of Payment Key...

    Hi All,
    I've created a G/L account with open item management but it isn't a reconciliation account.
    When I post a document on this G/L account, I'd like to select a Payment Method and a key for Terms of Payment Key.
    I can't find the fields to select them....
    Why does it happen?
    Thanks

    Hi Umberto Gandalf,
    I got you. Payment Terms are objects used to excecute incoming and aoutgoing payments, and Payment Method are used to define net due date and conced discounts.
    Srikanth said above a way to post an invoice by FB01. If you are trying to post an invoice you should not use an Open Item acount. You must use Customes and Vendors Master data to do it. Your GL Account must be assigned in those masters data to take place on GL balance. Payment Terms and Payments Mathods will be entered during Invoice posting process.

  • Difference between Key figure and a Key field?

    Difference between Key figure and a Key field?
    Thanks,
    Pramod

    Hi,
    Key fileds as just like your primary key of R/3 Tables.
    Key figure are type of info object which is used to hold amout,value for your info providers..
    check this link for key figures and there types...
    http://help.sap.com/saphelp_bw31/helpdata/en/80/1a63b3e07211d2acb80000e829fbfe/frameset.htm
    under "Tab Page: Aggregation". you can be able to find three aggregation options:
    Minimum
    Maximum
    Sum
    Types of non-cumulative keyfigures
    Regards,
    Viren.

  • Key fields and non-key field of condition table

    Hello Gurus,
          what is key fields and non-key field of condition table?
    thanks very much!

    Key field
    Each condition table contains keys that can be used for creating dependent condition records.
    for example let take condition type PR00.
    PR00 uses access sequence PR02 .
    Access sequence PR02 has following tables associated with it namely 304, 305 & 306
    When you create a conditon record for PR00 with transaction VK11 or VK31, you have a button 'key combination' which is nothing but fields associated with tables 304, 305 & 306.
    In brief, Condition records are always created using specific keys. Condition tables are used to define the structure of the keys of a condition record.
    Non key field
    For example take condition table 144 - sales deal basic data.
    Table 144 is associated with access sequence PBUD.
    If you check the fields associated with this table (click technical view button), there are three fields at bottom which do not have 'key' check mark -KDATU, PLTYP, KSTAF
    So, when you create a condition record for PBUD, system does not propose these 3 fields in 'key combination' and hence are non key fields.
    Please reward points for good answers as this would help increase the total donation that SAP will make to the United Nations World Food Programme.

  • Key interceptor for dialer/connect key (green) and disconnect key (red)

    Hi,
    Can someone tell me, how can i capture green key (dialer/connect) and red key (disconnect). In the emulator, i am able to capture all the keys as mentioned in the samples/examples. But in windows mobile (imate), it is not capturing these keys.
    I want to know how i can capture these system keys in MIDP 2.0.
    Thanks, and regards.

    are you able to display key codes in your app (like 1 for key one, etc...)?

  • What do you do when you spill water on your key board and some keys no longer work?

    I spilt coffee on my key board I few hours ago and just wiped it off. It worked fine when I did that and then I left it for a few hours just on stand by. Now have come back to go on the laptop the key board doesn't work. Only a few of the keys work but because of that I cant get on the laptop because I cant enter my password. What do I do?

    Hopefully you havent fryed your machine and I would suggest if your mac boots up ok try pluging a usb keyboard in or a wireless one to it and see if that gets you out of the fix.
    I will need cleaning by a profesional though I would imagine
    What i suspect has happened is the coffee has dried with the heat of the machine and is blocking the electrical conections through the keys
    Hope this helps

  • How to get the card unique  key(KMC) and the key data

    I want to know how to get them above in the applet.
    If can't, how to do?
    Edited by: 893695 on 2011-10-28 上午5:03

    But during personalization, where are the the application level key(derived three key: enc, mac, dek) come from?They are generated by whatever is doing the personalisation. If they are application level they are stored in the application. If they are ISD/SSD keys they are not accessible to the applet.
    the custom command "put key"?Either custom or ISO7816-4 or GlobalPlatform. Once again it depends on where the keys come from or are stored.
    Cheers.
    Shane

  • Inline figure and fixed-location figure numbering

    I would like to move some of the anchored figures in a story to captioned
    frames, so that text will flow around them. I'm encountering two problems in doing this:
    1. Figures in the fixed graphics are numbered separately from figures in the main story--their numbering starts at the end of the numbers in the main story.
    2. Footnotes in the fixed figures, go to the bottom of the figure frame instead the bottom of the page.
    Have I missed something? Or do I have to do a bunch of manual numbering?

    randolph549 wrote:
    I would like to move some of the anchored figures in a story to captioned
    frames, so that text will flow around them. I'm encountering two problems in doing this:
    1. Figures in the fixed graphics are numbered separately from figures in the main story--their numbering starts at the end of the numbers in the main story.
    2. Footnotes in the fixed figures, go to the bottom of the figure frame instead the bottom of the page.
    Have I missed something? Or do I have to do a bunch of manual numbering?
    1. The numbered list that affects your caption paragraph style has the option Continue Numbers Across Stories ON. This causes the paragraphs numbered with the style that uses a numbered list to number sequentially in a given story, then across other stories on the page. A stand-alone frame that contains a caption that uses the style continues the numbering after the last number in the preceding story.
    You can fix this by using anchored frames in the main text (story)  for all your graphics container frames. You can adjust the text flow around the anchored frames with Text Wrap.
    2. Footnotes always go to the bottom of the frame their text is in.
    Incorporating all the graphics in anchored frames will collect all the footnote texts at the bottom of the single frame that contains them all.
    Read about inline anchored frames, custom anchored frames, numbered lists, and footnotes in Help.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • MY page up and down key does not what its suppose to do but now instead it goes forward or back a web page

    Seems like since I installed the new Firefox my Page up and down key has stopped making my web pages go down or up but instead the page up key makes the web page go forward in history and the page down key makes it go back a webpage.

    " Is there anyway the apple or my service provider can help me with this? "
    No.
    "What is the point of the app if it only works when the phone is on? "
    The pont is to assist with locating a lost iphone.
    "Then it is only usefull within those first couple of days."
    Correct.  How would any device be tracked if it had no power?
    Very sorry for your situation, but there is nothing to do.
    Report it to the police and change your passwords.

  • Read Key and Write Key not working as expected with paths on RT

    The configuration file VIs Read Key (Path) and Write Key (Path) don't seem to work as expected (at least not as I was expecting them to) on an RT target.
    When working on my WinXP PC with these two VIs, paths are translated to what looks like is supposed to be a device-independent format before being written to disk. The path C:\dir\file.txt becomes /C/dir/file.txt when writing and vice versa when reading. On my RT target, however, that same path is written to disk as C:\dir\file.txt, unchanged from the native format.
    The translaton of a native path to and from the device-independent format appears to be the responsibility of Specific Path to Common Path and Common Path to Specific Path. These both use the App.TargetOS property to determine the operating system. In the case structure for these two VIs, however, there is no case for PharLap or RTX. (My RT hardware is runnng PharLap; I don't know enough about RTX to comment.) This means that the results of String to Path or Path to String are used without translating between the device-independent format to the native path format.
    This isn't a problem if you create a configuration file on one machine and use it on that same machine. I noticed this only when tranferring a config file from my PC to the RT target, where the target would not open the file paths it loaded from the configuration file.
    This occurs on 7.1.1 and 8.0.  I don't have 8.20 to see if happens there, too.

    In LV 8.2, this was fixed.
    The problem is App.TargetOS returns "Pharlap" on RT systems, and "Pharlap" is handled by the default case ("invalid OS target") in LV 8.0.  In LV 8.2 the default case is "Windows 95/NT", however.  The reason you could write and read an .ini file on RT in LV 8.0 and earlier is because these two VIs (listed below) were both running the default case of "invalid OS target".
    vi.lib\Utility\config.llb\Common Path to Specific Path.vi
    vi.lib\Utility\config.llb\Specific Path to Common Path.vi
    As you saw, this fails when you perform one operation in Pharlap but the other in Windows.  You can fix this by modifying the two VIs listed above.  Just go to the case structure and make "Windows 95/NT" the default case.

  • Opening and closing stock figure

    Hi Experts,
    How can i get the opening stock figure and closing stock figure for one month in SAP Buiness one 8.8?

    Hi,
    I found this on the forum; try this:
    DECLARE @FromDate DateTime
    DECLARE @ToDate DateTime
    /* SELECT T0.DocDate FROM OINM T0 where T0.DocDate >=[%0] */
    SET @FromDate = [%0]
    /* SELECT T0.DocDate FROM OINM T0 where T0.DocDate <=[%0] */
    SET @ToDate = [%1]
    Select X.DocDate, X.ItemCode,
    ((Select isnull(sum(InQty-OutQty),'0')From OINM T0 Where T0.ItemCode=X.ItemCode And
    (T0.DataSource='I' or T0.DataSource='N') And T0.DocDate < X.DocDate)) As 'OpeningStock',
    IsNull(max(X.price),0) as 'OpeningUnitPrice',
    ((Select isnull(sum(InQty-OutQty),'0')From OINM T0 Where T0.ItemCode=X.ItemCode And
    (T0.DataSource='I' or T0.DataSource='N') And T0.DocDate < X.DocDate)) *
    IsNull(max(X.price),0) AS 'OPENING VALUE',
    IsNull(sum(X.InQty),0) As 'Received Qty',
    IsNull(max(X.price),0) as 'Purchase  Unit Price',
    IsNull(sum(X.InQty),0) *
    IsNull(max(X.price),0) as 'PURCHASE VALUE',
    IsNull(sum(X.OutQty),0) As 'Consumed Qty',
    IsNull(max(X.price),0) as 'Sale Unit Price',
    IsNull(sum(X.OutQty),0) *
    IsNull(max(X.price),0) AS 'SALE VALUE',
    ((Select isnull(sum(InQty-OutQty),'0') From OINM T0 Where T0.ItemCode=X.ItemCode And
    (T0.DataSource='I' or T0.DataSource='N') And T0.DocDate < X.DocDate)+
    (Select isNULL(sum(T0.InQty),'0') From OINM T0 Where T0.ItemCode=X.ItemCode And T0.DocDate<=X.DocDate And
    (T0.DataSource='I' or T0.DataSource='N') And T0.DocDate = X.DocDate)-
    (Select isNULL(sum(T0.OutQty),'0') From OINM T0 Where T0.ItemCode=X.ItemCode And T0.DocDate<=X.DocDate And
    (T0.DataSource='I' or T0.DataSource='N') And T0.DocDate = X.DocDate)) As 'ClosingStock',
    ((((Select isnull(sum(InQty-OutQty),'0')From OINM T0 Where T0.ItemCode=X.ItemCode And
    (T0.DataSource='I' or T0.DataSource='N') And T0.DocDate < X.DocDate)) *
    IsNull(max(X.price),0)) + (IsNull(sum(X.InQty),0) * IsNull(max(X.price),0)) - (IsNull(sum(X.OutQty),0) *
    IsNull(max(X.price),0))) as 'Final Balance Value'
    FROM OINM X Where ItemCode=X.ItemCode And
    (X.DataSource='I' or X.DataSource='N')
    Group by X.DocDate,X.ItemCode
    Order by X.DocDate
    Hope this helps.
    Thanks,
    Joseph

  • Report Painter - new Basic Key Figure for Currency Translation

    Hi,
    I need a report painter report which allows to translate the company code currency HSL in GLPCT into several target currencies. Theoretically I need to translate each month with an own translation rate and possible different translation keys.
    In table T804B I tried to create a new basic key figure for GLPCT in order to translate the HSL amount with a second TCURR rate. I copied the original basic key figure GLPCT - CC_HSL. I selected structure GLBDZ and fields CCH++ as data source and assigned new variables for the TCURR selection.
    The report painter report is setup with three columns : one in HSL, one with CC_HSL and one with the new key figure. In the selection screen of the report painter report I can enter two rates. But after execution the translation of the new basic key figures is done with the same rate as the CC_HSL column is using.
    Did anybody encounter an equal problem?
    Many thanks and regards
    Markus

    have you created a new calculation routine in form pool SAPFGRWG equivalent to E06_CALC_CURR_CONV_HSL? doesnt this explicitly get the company code currencies

  • Diff between Calculated key figure and new formula 6extra functions why

    Hi Friends
                  In BEx query designer we have Restricted key figure & Calculated key figure. In the case of Ristricted Key figure And new selection the difference is Global and local.
    But if we come to Calculated Key figure and New Formula the difference is same global and local. But in New formula we have 6 extra function. My question is does is there any certain reason for this or SAP AG not be able to develop those functions
    Thganks & Regards
    Bramhanand

    Hi Surendra thank you for your reply.
    But i am not asking difference between calculated key figure and New formula.
    What i am asking is in the case of Restricted Key figure And new selection the difference is Global and local.
    But in Calculated Key figure and New Formula the difference is same global and local and in New formula we have 6 extra function. My question is does is there any certain reason for this.Why not SAP AG is not included the new formula functions in Calculated key figure.
    Thanks & Regards
    Bramhanand

  • Selection Key Figures and Key Figures

    I am building a query and I need to combine Key Figures and Selected Key Figures so that they appear on the same row.  However, when I try to do this I get a message that you cannot put the elements in the same structure.  However, if I put in different structures they will not be aligned.  How can I overcome? Thanks

    if i undertd your issue correctly..u have one KF struxture and one characteristic structure.In characteristic structure,u r having restricted characteristics and u r tyring to have a KF in char structure???if so,it is not possible..where exactly u r getting error?it will not allow you to drag and drop Kefigure into Query deisgner except into KF structure..
    in char structure,if u r gng with new selection,u will not have option to select any KFs.
    it could be better if u provide an example rather than explaining theoritically.
    please note that u cant have a KF in characteristic structure .u can have a char in KF strcucture with a KF combination i.e. Restricted KF.
    Message was edited by: Murali

Maybe you are looking for