Security Filter fails when level has only one member

Hi.
This is Essbase version 9.3. I have a forecast app\db to allow users enter\modify the forecast of the different products. The Product Dimension has the following hierarchy.
All Products
Planner 1
Supplier A
Product_A1
Product_A2Supplier B
Product_B1
Product is the lowest level, level 0, or Gen 4.
I need to allow the "Planner 1" to write only to his products, where the member is "My Scenario" from Scenario Dimension, and where the UDA's for the month is Forecast. The same planner can't write to the "All Products", "Planner" and "Supplier" levels.
I have created the following filter:
None: "All Products"
Read: @IDESCENDANTS("Planner 1")
Write: @REMOVE(@LIST(@DESCENDANTS("Planner 1")),@LIST(@LEVMBRS ("Planner 1", 1))), "My Scenario",@UDA("Time","FORECAST")
Basically, this is the portion most relevant of the filter: @REMOVE(@LIST(@DESCENDANTS("Planner 1")),@LIST(@LEVMBRS ("Planner 1", 1)))
where
@LIST(@DESCENDANTS("Planner 1") = List of descendants members from Planner 1, excluding Planner 1. = "FIRST LIST"
@LIST(@LEVMBRS ("Planner 1", 1)) = List of level 1 members from Product Dimension. = "SECOND LIST"
@REMOVE will remove values or members in the "SECOND LIST" from the "FIRST LIST".
This filter works perfectly but it has a little\big exception...
Based on the example, the filter works fine for Supllier A. Meaning that the user can modifiy the forecast for the products under Supplier A (Product_A1 and Product_A2), and the user can't modify the upper levels, "Supplier A", "Planner 1", "All Products". This is GOOD!
Now. For Supplier B, Essbase will allow write back to the Product_B1, OK. But will also allow write back to Supplier B, the upper level.
So. When the supplier has only one product, Essbase presents this exception that allows write to the upper level. This happens everywhere a supplier has only one product. When there are more than one product per supplier, the filter works as expected.
Is there a missing piece in my filter? Is there a different, better approach to accomplish this?
Thanks.

It's probably an implied share problem. That is, because Supplier B has only one child it is treated as a shared member. You can use the "never share" storage property setting to avoid that problem.

Similar Messages

  • Pass value of column when report has only one row

    Hello everyone,
    Sorry for not being very accurate with the title of the thread.Here's my situation:
    I have an item that, when modified(key pressed) refreshes an interactive report. All the report column have link to a javascript function, so when the user clicks the row it passes a value to another item on the page.
    To be more specific it goes like this: the user enters a numer in the item, and as he presses a key the report is shrinked down based on the number that it's made.(asynchronous search like google)
    Here's my problem:
    I have made all this working(using dynamic actions and a little javascript), but, for the sake of making it user-friendly i want that when the report is shrunk to only one line, the value of a column in that line to be auto-passed to a page item.(or a javascript function)
    Thanks a lot!
    Kind Regards,
    Cearnau Dan
    PS: APEX 4

    I am currently work on something similar, sort of, unless it's not.
    Anyway, the first function called by the action, onChange in my case, returns a count of items. If there is an exact match, meaning a one is returned, the function branches one way. Otherwise, it branches another way.
    In the case of an exact match, I run some other JS/AJAX to populate other details on the line. If not an exact match, in my case, I show a <div id="searchCriteria"> for the user to refine their search or accept what they typed in the first box and get a list of all possible matches. Obviously yours would behave differently.
    Hope this helps,
    Gregory

  • DB_GET_BOTH_RANGE fails when there is only one record for a key

    Using the DB_GET_BOTH_RANGE flag doesn't seem to work when there is a
    single record for a key.
    Here's a sample Python program that illustrates the problem. If you
    don't know Python, then consider this to be pseudo code. :)
    from bsddb3 import db
    import os
    env = db.DBEnv()
    os.mkdir('t')
    env.open('t',
    db.DB_INIT_LOCK | db.DB_INIT_LOG | db.DB_INIT_MPOOL |
    db.DB_INIT_TXN | db.DB_RECOVER | db.DB_THREAD |
    db.DB_CREATE | db.DB_AUTO_COMMIT)
    data = db.DB(env)
    data.set_flags(db.DB_DUPSORT)
    data.open('data', dbtype=db.DB_HASH,
    flags=(db.DB_CREATE | db.DB_THREAD | db.DB_AUTO_COMMIT |
    db.DB_MULTIVERSION),
    txn = env.txn_begin()
    #data.put('0', '6ob 0 rev 6', txn)
    data.put('0', '7ob 0 rev 7', txn)
    #data.put('0', '8ob 0 rev 8', txn)
    data.put('1', '9ob 1 rev 9', txn)
    txn.commit()
    cursor = data.cursor()
    print cursor.get('0', '7', flags=db.DB_GET_BOTH_RANGE)
    cursor.close()
    data.close()
    env.close()
    This prints None, indicating that the record who's key is '0' and
    who's data begins with '7' couldn't be found. If I uncomment wither of
    the commented out puts, so that there is more than one record for the
    key, then the get with DB_GET_BOTH_RANGE works.
    Is this expected behavior? or a bug?

    You can use the DB_SET flag which will look for an exact key match. If
    you use it with the DB_MULTIPLE_KEY flag, it will return multiple keys
    after the point it gets a match. If you can post here how all your
    LIKE QUERIES look, I may be able to provide you with the suited
    combination of the flags you can use for them.I'm not doing like queries. I'm using BDB as a back end for an object
    database. In the object database, I keep multiple versions of object
    records tagged by timestamp. The most common query is to get the
    current (most recent version) for an object, but sometimes I want the
    version for a specific timestamp or the latest version before some
    timestamp.
    I'm leveraging duplicate keys to implement a nested mapping:
    {oid -> {timestamp -> data}}
    I'm using a hash access method for mapping object ids to a collection
    of time stamps and data. The mapping of timestamps to data is
    implemented as duplicate records for the oid key, where each record is
    an 8-byte inverse timestamp concatenated with the data. The inverse
    timestamps are constructed in such a way that they sort
    lexicographically in inverse chronological order. So there are
    basically 3 kinds of query:
    A. Get the most recent data for an object id.
    B. Get the data for an object id and timestamp.
    C. Get the most recent data for an object id who's timestamp is before
    a given timestamp.
    For query A, I can use DB->get.
    For query B, I want to do a prefix match on the values. This can be
    thought of as a like query: "like <inverse-time-stamp>%", but it can
    also be modelled as a range search: "get the smallest record that is >=
    a given inverse time stamp". Of course, after such a range search,
    I'd have to check whether the inverse time stamp matches.
    For query C, I really want to do a range search on the inverse time
    stamp prefixes. This cannot be modelled as a like query.
    I could model this instead as {oid+timestamp -> data}, but then I'd
    have to use the btree access method, and I don't expect that to scale
    as I'll have hundreds of millions of objects.
    We tried using BDB as a back end for our database (ZODB) several years
    ago and it didn't scale well. I think there were 2 reasons for
    this. First, we used the btree access method for all of our
    databases. Second, we used too many tables. This time, I'm hoping that
    the hash access method and a leaner design will provide better
    scalability. We'll see. :)
    If you want to start
    on a key partial match you should use the DB_SET_RANGE flag instead of
    the DB_SET flag.I don't want to do a key partial match.
    Indeed, with DB_GET_BOTH_RANGE you can do partial
    matches in the duplicate data set and this should be used only if you
    look for duplicate data sets.I can't know ahead of time whether there will be duplicates for an
    object. So, that means I have to potentially do the query 2 ways,
    which is quite inconvenient.
    As you saw, the flags you can use with cursor.get are described in
    detailed here.But it wasn't at all clear from the documentation that
    DB_GET_BOTH_RANGE wouldn't work unless there were duplicates. As I
    mentioned earlier, I think if this was documented more clearly and
    especially of there was an example of how one would work around the
    behavior, someone would figure out that behavior wasn't very useful.
    What you should know is that the usual piece of
    information after which the flags are accessing the records, is the
    key. What I advice you is to look over Secondary indexes and Foreign
    key indexes, as you may need them in implementing your queries.I don't see how secondary indexes help in this situation.
    BDB is
    used as the storage engine underneath RDBMS. In fact, BDB was the
    first "generic data storage library" implemented underneath MySQL. As
    such, BDB has API calls and access methods that can support any RDBMS
    query. However, since BDB is just a storage engine, your application
    has to provide the code that accesses the data store with an
    appropriate sequence of steps that will implement the behavior that
    you want.Yup.
    Sometimes you may find it unsatisfying, but it may be more
    efficient than you think.Sure, I just think the notion that DB_GET_BOTH_RANGE should fail if
    the number of records for a key is 1 is rather silly. It's hard for me
    to imagine that it would be less efficient to handle the non duplicate
    case. It is certainly less efficient to handle this at the application
    level, as I'm likely to have to implement this with multiple database
    queries. Hopefully, BDB's cache will mitigate this.
    Thanks again for digging into this.
    Jim

  • Issue with Selection Listener when the table has only one row

    Hi All ,
    I have developed a table in which I am using Selection Listener to perform some task when any row is selected.
    It is working fine when I have more than 1 row in the table, but when I have only one row in the table , the selection listener do not call the corresponding method in bean.
    I understand that selection event will be raised only when the row is changed, but in the use case when only one row is there, what should be done to make the selection listener work ?
    In the selection listener I have written code to make the selected row as current row , and perform the required task.
    Please suggest a way out for this situation.
    Thanks in advance.

    Hi,
    try removing this attr from table
    selectedRowKeys="#{bindings.xxx_VO1.collectionModel.selectedRow}"

  • I added a new post to my iTunes U course and it is not showing up on one of my student's iPads.  She has only one Apple ID on the iPad. Any assistance is appreciated.

    A new post to my iTunes U course shows up in my course both on my Mac and my iPad Air, as well as on other students' iPads, but for one single student.  We have closed the app and forced shutdown.  Student recently added more icloud space, but that is all.  iPad is up-to-date in terms of iOS and iTunesU app.  The student has only one Apple ID associated with her iPad.
    We have reposted two more times.  The second time the post showed up for a few seconds, but then disappeared.  It does not show up under any other section (assignments, discussions, etc).  Any assistance is greatly appreciated.

    Have you contacted Apple support?
    I don't know if these will work, but you could have the student try the following:
    logout of his or her iTunes U (i.e., iTunes Store) account using Settings
    force-quit iTunes U
    relaunch iTunes U
    sign in to the newly launched app when prompted
    I hope that helps!

  • I will be using a HDMI cable to connect an Apple TV box and a Comcast cable TV box to my TV. My TV has only one HDMI port.

    I will be using a HDMI cable to connect an Apple TV box and a Comcast cable TV box to my TV. My TV has only one HDMI port.
    To do this I will need a 2x1 HDMI splitter or a 2x1 HDMI auto switch (preferred).
    ?Is there any Apple TV HDMI port voltage?
    When using a HDMI auto switch to connect two devices to a HDMI TV, the
    Auto switch cable box only works for components that do not output continuous voltage over HDMI port when turned off.
    Do you know of any other solutions? Componets? Actual expierances?
    Full text below.
    Cable : HDMI switches expand the number of available HDMI ports on a high definition television allowing connection of cable boxes, Blu-ray players, and game consoles. A side benefit is that cable clutter is also eliminated by running a single HDMI cable to your HDTV from a switch and relocating the HDMI ports to a concealed location. The problem with most HDMI switches is that you have to either get up to push a button, or hunt for the remote control, to switch sources. The true mark of any great switching component is an ability to perform its function and remain transparent in its operation. This automatic HDMI switch is a plug-and-play away from offering everything you are looking for in an HDMI switch. Select a single output from up to three devices for signal delivery to your HDTV. Smart operation provides complete control for connect-and-forget operation. Powering on a device gives it output priority over the other devices. By powering down the device in use, output priority is returned to the last powered on device. Note: Auto switch function only works for components that do not output continuous voltage over HDMI port when turned off.
    Here is a typical HDMI 3-in 1-Out HDMI Auto Switch
    http://www.google.com/products/catalog?q=hdmi+auto+splitter&rls=com.microsoft:en -us&oe=UTF-8&startIndex=&startPage=1&rlz=1I7GGLF_en&um=1&ie=UTF-8&tbm=shop&cid=1 0340892278237558532&sa=X&ei=fTPmTtOiHuXq0gGc3sHfBQ&ved=0CHsQ8wIwAA#
    Thanks for any help. Sincerely,
    HDMI auto switch?

    Hi Erico,
    I tried what you said again but without success. I even updated the driver so that that audio driver is the same as the graphics driver i.e.. NVIDIA but this has not helped either:
    Do you have any other ideas?
    Many many thanks,
    Louise

  • 3D Axis System (bar type) doesn't work when there is only one z-channel

    Hello,
    I have a problem with a 3D Axis System, bar type.
    Everything works fine as long as the y-channel contains more than one value (meaning there is more than one z-channel too).
    But when my y-channel has only one value, and there is only one z-channel, the axis system goes blank (there is just an empty white field with a thin outline).
    I don't understand why it doesn't work that way. The length of my one z-channel is the same length as my x-channel, as it should be.

    HI, 
    could you describe your hardware and software setup?
    If this is possible please attache your project.
    Roman Rolnik
    Application Engineer
    NI Germany

  • VBScript does not retrieve Member details if a Distribution/Security Group have only one Member

    Hi,
    VBScript does not retrieve Member details if a Distribution/Security Group have only one Member. I have tried several Scripts even changed the coding in it, also tried few External Script by created by other Scriptor's. Any suggestion on why this is happening. 

    Perfect... Thank you. I reworked on the Script and it is showing up. One more info required. I know my script is having another bug. Can you help me getting the member list of a User Group. When i pull it retrieves all the Group info for a user
    but no "Domain Users" Group.
    Sorry for the lame humor but it was getting late.
    As for you new request.  I do not understand what you are asking. Can you post your script and any error messages you are getting.
    ¯\_(ツ)_/¯

  • After reverting to Firefox 3.6 I have lost the ability to close a webpage (down to an empty tab) when I have only one tab open. Where did the little "x" go on the single tab???

    I like to be able to close the webpage I am viewing when I am finished, when there is only one tab open, so that Firefox is empty when I next want to browse the web. After upgrading to 5.0 and finding I hated it, I downgraded back to 3.6 and now the little "x" on the single tab is gone. It still appears when I have multiple tabs open, but not when there is just one. What happened? How do I get it back?

    Thank you, but I already have "always show tabs bar" set.
    Also, I have two computers and the other is running the exact same version of Firefox, and the exact same theme, but it does not have this problem.
    To make sure I'm being clear: there is an "x" on each tab that allows me to close it when I have multiple tabs open. When I have only one tab open, there is no "x"; so in order to close the webpage I have to open another empty tab, and then close the first. My other computer has the "x" to close the tab visible even when there is only one tab so that I can close the page and have an empty (marked "(untitled)" tab). Please help!

  • I am no longer able to use a keyboard shortcut to close a window when there is only one window open.

    I can use Command+W when there are multiple tabs open to close one window at a time, but not when there is only one window remaining. It's driving me crazy because I have to click on the red dot. It won't close with File > Close either. Nothing changed (that I know of) from last week to this that would cause this. It works fine in safe mode but I can't figure out what's conflicting. Also, I've tried reinstalling Firefox but that did nothing. Help?

    Problem solved! It's the Evernote add-on. They updated something on November 6. I've disabled it until that quirk is fixed. Thanks.

  • Why does fix capitalization work when there is only one space after the period in pages 09?

    why does fix capitalization work when there is only one space after the period in pages 09?  For example:  "Turn on 3rd St. After the traffic light."  There is only one space after the period in "St."  shouldn't it only auto correct after TWO spaces..??  the word After, should be after..

    You may also use a noBreak space after the period at the end of the abbreviation.
    If I remember well, in such case the capitalization will not apply.
    Yvan KOENIG (VALLAURIS, France) mercredi 27 avril 2011 23:34:46

  • The 16G IPOD catalog entry should have in bold THIS THING HAS ONLY ONE CAMERA.  I bought one for my dad thinking it was same as the last one i bought.  my fault, but also theirs.

    I just ordered a new 16G iPod touch for my dad.  the bigger models said they had an hd camera, so i assumed this one did not BUT AT LEAST HAD A REAR FACING CAMERA.
    So it arrives and he says it only has one camera and I say of course it has two cameras.
    it turns out just a front-facing camera (so i guess thats what Facetime camera meant).
    so now he wants to return it
    be careful ordering. my fault, but also theirs.  it's like selling a car without a windshield.  their should be a giant sign that says, this thing has only one windshield

    Disagree for three reasons:
    1) this is a KEY feature that was removed from prior models.  removing something that cutomers depend upon requires more than burying in a cryptic spec.
    2) even spec does not use clear generic terms like "front-facing camera" "rear-facing camera" or "has one camera" - instead it used Apple-terms like Facetime camera and isite camera, which on a casual glance appears like just upgrade/downgrade camera version.  16g model says facetime camera, and cell next to it it says isite camera (instead of also showing both models have facetime camera on the same row) and that's not a proper comparison grid, comparing  apples to apples, so to speak...
    3) you presume every person that orders finds this page (which i contend is not clear).  i don't want to spend an hour learning what apple-jargon translates to "this model has only  one camera"
    No reply needed.  Just posting for awareness.  I am guessing there will be more dissatisfaction and returns for this product, so just giving you feedback.

  • Search help dialog when there is only one entry

    Hi experts,
    I am developing a Webdynpro app and I can't find the way of skiping the search help dialog when there is only one entry on the result, just like in SE37 when you put the function name with * and it automatically puts the only ocurrence in the field with no dialog for selection. Right now my application is working correctly but it alwas show the dialog even when there is only one entry on the result.
    Thanks in advance!
    Daniel
    Moderator message - Moved to the correct forum
    Edited by: Rob Burbank on May 4, 2011 2:35 PM

    Hi,,
    Use OVS to  achieve this., when u press start search select the values from table into internal table (lt_object_list)
    n = lines( lt_object_list ).  " this gives the number of records in internal table..
    if n = 1.
    set_attribute(  ) .. to the input field.
    else.
    co phase 3.
    call popup window to display objects
    endif.
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • Create a business model when we have only one source table

    Hi,
    How to create a business model when we have only one source table in Physical layer
    Regards
    Swathi

    This is very much possible and feasible. Its called as Single Table model. Good example is SA System Subject Area where we just have a single physical source. No need to create Alias in Physical. Simply use the same table twice in BMM with one Logical Table as Dummy Fact..Like say Count of Users (aggregated). Then apply normal Complex join in BMM and present in presentation layer.
    http://gerardnico.com/wiki/dat/obiee/single_table_model
    http://gerardnico.com/wiki/dat/obiee/sasystem

  • Why does it say More. . . in email address line when there is only one email address?

    When receiving an email, why does it say 'More. . .' in the To email address line when there is only one email address? It looks like there is more than one recipient when there is actually just one. 

    Have you rebooted since the deletions.  That will empty a number of caches and may restore the freed up space. Also open the iPhoto Library package with the Finder as shown in this screenshot
    locate the iPod Photo Cache folder and delete its contents.  Make no other changes to the contents of the iPHoto LIbrary Package.
    OT

Maybe you are looking for