Dimension based on OLAP source returns text value not key value

Hi,
I have a Business Objects Universe based on a BEX query sitting on top of a BW datasource.  I imported the BEX query into Designer and several dimensions were created for me as well as several detail objects.  I was hoping the dimension objects created when pulled onto a Webi report would display the KEY value of the info object from BW, but unfortunately it appears to be pulling in the text value of the info object.
Is there a way to change the default behavior so that the default dimension created will pull in the key value?
Example:
Universe dimension Object definition:  [ZCPCNTR].[LEVEL01]
When pulled into a Webi report the MDX statement generated contains:  NON EMPTY [ZCPCNTR].[LEVEL01].MEMBERS DIMENSION PROPERTIES MEMBER_CAPTION
Somewhere ".MEMBERS DIMENSION PROPERTIES MEMTER_CAPTION" gets added to the MDX statement.  I think this results in the Webi report displaying the text of the info object as opposed to the key value.  Is this modifiable?  If so what do I change to get it to display the key value?
Thanks,
Tim

SAPBO786,
Yes I do see the key value as a detail object under the dimension.  Do you kow of a way to change the default behavior so the dimension returns the key value?
I have a bunch of reports (approx. 50) I built based on the dimension assuming the value was going to be key.  I don't want to go back and change all those reports if possible.  I am aware that I can take the Key detail object, change that to a dimension object and then modify my reports to pull that new dimension onto them, but I don't want to do that if there is a way to change the default behavior.
Thanks,
Tim

Similar Messages

  • Using the text and not the value of a filed

    Hi there,
    I'm programming a pdf form using life cycle, I'm using the following script in a "SEND TO" button in order to email an XML file with the data extracted from the form:
    var emailAddress = F.P1.Line.rawValue;
    var veicle = F.P1.Vehicle.rawValue;
    var shipper = F.P1.Shipper.rawValue;
    var date = F.P1.Date.rawValue;
    event.target.submitForm({cURL:"mailto:"+emailAddress+"?subject=Booking request from "+shipper+" date:"+date+" &body=Dear Sirs,Please find attached the completed PDF booking form for the following "+veicle+".",cSubmitAs:"XML",cCharset:"utf-8"});
    The problem is that I would like to use in a variable the text and not the value of the F.P1.Line.raw field.
    Thanks in advance

    Hi,
    This is not the appropriate forum to post this type of question. Please post all designer related queries in LiveCYcle Designer Forum to receive better response.
    From you query I understand you have a dropdown box with name as "Line". And you want to the "text" part of the selected item and not the "value" part. If it is so then do the following -
    1. Write the below code in onCHange event of your dropdown box.
    var ddValue = this.boundItem(xfa.event.newText);
    var nodeList = this.resolveNode("#items").nodes;
    var ddText = null;
    for (var i = 0; i < nodeList.length; i++)
    if (this.boundItem(nodeList.item(i).value) == ddValue)
    ddText = nodeList.item(i).value;
    break;
    global.selectedtxt = ddText;
    In the above code I am basically getting the "text" part of the item selected and then I am storing it in a global variable.
    2.
    Write the below code on click event of your button -
    var emailAddress = global.selectedtxt;
    Hope this helps.
    Thanks,
    Shivajiv.

  • IPhoto suddenly crashing after it's open for 3 seconds.Its saying Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ __NSCFDictionary 0x18d70d10 valueForUndefinedKey:]: this class is not key value coding-compliant for the key

    Iphoto is suddenly crashing after about 3 seconds on my MacBook Pro. - Here is problem report
    Crashed Thread: 46  Import thread 0
    Exception Type: EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<__NSCFDictionary 0x18d70d10> valueForUndefinedKey:]: this class is not key value coding-compliant for the key .'
    Why? all of a sudden??
    Thanks

    Wow, that' s awesome, I encountered the same problem with ya today when trying implement Pickers in Tabbar, and can't figure out why, the debugger just throw back such vague message and guess what ? I spent like 3 hours banging my head against the wall wonder why it's not working, I using XCode 2.2.1, my debugger wont work ( program won't stop at break points for what ever I tried ), and not very friendly with those newbie like me - really don't know where are all the Apple's software developer 1337 ? As I remembered, all the good ones goes for the hardware, "the rest" goes for the software =)), but thanks again, thanks, and again, click the tab bar, set both the class and nib file would get rid of the errors, if it would help some one, the credit goes to the two above, say thanks to them, like me. Have a nice day guys, I 'ma happy .

  • OLAP universe query filters using multiple key values

    Hi,
    We are running BO over a MSAS 2005 cube and due to reporting requirements we have had to split the year out from the standard time hierarchy so we have it as a separate hierarchy from the rest of the time hierarchy. We also have 2 other dimension objects we use to find the current reporting month (shown below as Current Month and Current Year) which link to the Year and Month dimensions to give us the current year and current month.
    I have created predefined filters in the universe for Last Month and Last 6 Months etc which link the 2 hierarchies together to dynamically find the correct months to pull out based on the current reporting month.
    The issue i am facing is that when these filters are used in reports we are not able to pull through the Year dimension in the report as we receive the error: "The Year Hierarchy hierarchy is used more than once in the Crossjoin function"
    We can however use the Month dimension in reports even though it is also referenced in the filter definition.
    I have narrowed the issue down to the fact the Month dimension is mentioned in the Filter Key which allows it to be used in the reports.
    Is it possible to include 2 key values or are there any other ideas on how to tackle this problem so i can include the both the year and month in reports using these filters?
    Last Month filter:
    <FILTER KEY="@Select(Period To Date\Month).[TECH_NAME]"><CONDITION OPERATORCONDITION="InList"><CONSTANT TECH_NAME="CASE WHEN FILTER(@Select(Period To Date\Month).Members,@Select(Period To Date\Current Month).[Y]).Item(0)= @Select(Period To Date\Month).[January] THEN {CrossJoin(FILTER(@Select(Period To Date\Month).Members,@Select(Period To Date\Current Month).[Y]).Item(0).lead(11),FILTER(@Select(Period To Date\Year).Members,@Select(Period To Date\Current Year).[Y]).Item(0).lag(1))} ELSE CrossJoin(FILTER(@Select(Period To Date\Month).Members,@Select(Period To Date\Current Month).[Y]).Item(0).lag(1),FILTER(@Select(Period To Date\Year).Members,@Select(Period To Date\Current Year).[Y]).Item(0)) END"></CONSTANT></CONDITION></FILTER>
    Thanks in advance

    Dear Daniel, may I ask one more question please?
    what if I have 4 tables?
    table1
    ID * ID_Type_code * Name
    0001 * 11 * abc
    0002 * 12 * abcd
    0003 * 13 * abcde
    table2
    ID * OID_type_code * Name
    0001 * 22 * abc
    0002 * 23 * abcd
    0002 * 25 * abcd
    0003 * 23 * abcde
    0003 * 22 * abcde
    0003 * 28 * abcde
    table3
    ID * OID_type_code * OGAD_line_id * address
    0001 * 22 * 1 * a street
    0001 * 22 * 2 * b street
    0002 * 23 * 1 * c street
    0002 * 25 * 1 * d street
    0003 * 28 * 1 * e street
    0003 * 28 * 2 * f street
    0003 * 28 * 3 * g street
    table 4
    ID OID_type_codeOGAD_line_id*COP_line_id*phone number
    0001*22*1*1*2222222222
    0001*22*1*2*3333333333
    0002*23*1*1*4444444444
    0003*28*2*1*5555555555
    0003*28*2*2*6666666666
    Primary key for each table
    table1, primary key is ID
    table2, primary key is ID , OID_type_code
    table3, primary key is ID , OID_type_code, OGAD_line_id
    table4, primary key is ID , OID_type_code, OGAD_line_id , COP_line_id
    I would like to show each value in each table in the separate input text fields.
    Therefore, this is an advanced question based on the previous one, not only get values from one table but also from several tables based on input for example 0003 and 28 as the ID and OID_type_code?.
    Let me know if you need more details,
    Thank you so much,
    Viola

  • Popup List with multiple columns but returning a single column (key value)

    Hi,
    1. Is it not possible to show a POPup (returning a key value) or Select list with more than 1 column? If so how?
    2. I have an item in a page which should be hidden if 1 particular button was pressed. This is is to use the same page but have some behavioural change based on which button (option) was selected. How can I get the name of the BUTTON PRESSED TO INVOKE THIS PAGE.
    thanks
    SebJos

    Hi,
    In that case, you should make the page item conditional. There are many techniques to do this but it would depend on what the button is for.
    As a simple example...
    1 - Create a hidden item on your page called, say, Pn_SHOW (replace n with your page number - eg, P1_SHOW). Set the default value of this item to either 0 (zero) or 1 - 0 will hide the item and 1 will display it, so in your example, set it to 0
    2 - On the page item you want to show/hide - on its definition, you have a Conditions section. Set the following:
    Condition Type: Value of Item in Expression 1 = Expression 2
    Expression 1: P1_SHOW
    Expression 2: 1
    When the page is loaded, because the value of P1_SHOW is 0, and due to the conditions we have just set (where P1_SHOW must be 1 for the item to be shown), the item will not appear on the page.
    When you created your button, a new page branch should have been created. On this branch, you have two settings - "Set these items" and "With these values". Set the following:
    Set these items: P1_SHOW
    With these values: 0
    You should also have at least one other branch on your page - one of these will need to set the value of P1_SHOW to 1 to get the item to display.
    Andy

  • Sorting options in javascript by text and not by value

    Hi All,
    I've an application in which on a jsp page has two html:select (listBox). Further 3 buttons are provided namely ADD,REMOVE and SAVE. On click of ADD the selected option from listBox 1 is transferred from listBox 1 to listBox 2. On Click of REMOVE the selected option from listBox 2 is transferred from listBox 2 to listBox 1.
    My problem starts from the next step. When an item is transferred from source to target listBox. The target listBox should be sorted alphabetically. Now in html:option values are IDs which are int and text is name which String. And the sort method is called upon array of options, which sorts according to value and requirement is that it should sort by text.
    Somebody please help me regarding this problem. Waiting for help.... Thanks in advance.

    I have been working on a similar problem and have found that it depends on what kind of InfoProvider you are using.
    If you are using an InfoCube, the setting that seems to control this is on the maintenance screen (Admin Workbench -> {InfoProvider to be edited} -> Change -> Extras -> Structur-Specific InfoObject Properties. If you want the key and text to display on the variables screen (which you already have), make sure the 'Display' is set to "Key and Text". If you want key and text to display on the filter screen, make sure the 'F4 Query' is set to "Values in Master Data Table". (You may also have to set the characteristic to display key and text in the query, but it sounds like you already have done this.)
    For an ODS, the settings are the same, but the path to get there is different. Go to Admin Workbench -> {ODS to be edited} -> Change -> {InfoObject to be edited} -> Right-click -> ODS-object Specific Properties. Same settings as above after this.
    For a MultiProvider, I found that the settings on the InfoObject itself seemed to control the display on the Web, so I ended up setting: Display = "Key and Text"; Query Def Filter Value Selection = "Values in Master Data Table"; and Query Exe Filter Value Selection = "Values in Master Data Table". That may be a bit of overkill, but I wanted to be sure to get both key and text in all situations.
    I also found that the settings for navigational attributes (e.g., 0PLANT__0REGION) for any kind of InfoProvider must be set at the InfoObject level (e.g., 0REGION), as above.
    Even with all of this, I still have a couple of InfoObjects left that I can't get to display both key and text for some unknown reason.
    Hope this helps...
    Bob

  • LOV problem ... returning display-value and not key-value

    Hi. Sorry for my broken English.
    I have a problem with pop-up dynamic LOV.
    I have a simple form called Form A containing item_code and item_name. Users can create, update and delete new item by using this form.
    Another form called Form B has a field called item_code, and the item_code field is a dynamic pop-up LOV field and a query for this LOV is like this;
    select item_name d, item_code r from item_master order by item_code;
    When i create the new record in Form B and use LOV to find and get the item code, LOV works fine
    and it returns key-value to the item_code field.
    But when i try to update the record (I have a link from report page to Form B), value of the item_code field is not the key-value from LOV, but is a
    display-value from LOV.
    Any ideas?
    Thank you.

    Well, from what you have described, this is working exactly as it should. Form B's LOV is intended to retrun the key value but should show the dispaly value. When you go from the report to the form, the key value is being passed (or should be depending on your code) and Form B ought to show the display value.
    So, in short, I would say that Apex is doing what it should. Unless I misunderstand something.
    Bruce

  • OLAP query returning "name" rather than "key" attribute for a dimension

    Hello,
    I am busy with a project that involves drawing data from an OLAP cube (in SAP BW), then transforming and contextualising for use in an EMI environment. The project runs on MII 12.1.
    The standard OLAP connector and OLAP queries have been used (would prefer not to go the route of creating a call to the OLAP XMLA web service directly). One of the important dimensions is returned as a name (descriptive text) rather than a key (the cost element code itself), preventing us from reliably applying business rules to classify cost elements. Categorising cost elements based on their text descriptions is not a sustainable solution.
    The output needs to allow for two dimensions (cost element and an equipment identifier) against which individual cost values will be listed. It appears that the two dimensions must both be on the "x-axis", as result columns are automatically renamed, e.g. C000001, C000002, etc. If anyone knows of a way to suppress this renaming behaviour, please let me know.
    Is it possible to force the "key" attribute to be returned instead of the "name" attribute? I have identified two preferred options:
    1. MDX syntax of the query itself
    2. configuration of the OLAP connector
    I have not found a way to do this through MDX syntax, but would welcome any suggestions.
    Alternatively, perhaps there is a non-standard way of configuring the OLAP connector so that the key rather than the name attribute is returned for all dimensions. Has anyone anything, e.g. chosen a non-standard ColumnNameAttribute or DataTypeAttribute, in this regard?
    Thanks,
    Marc Chaplin

    <b>Apologies for the formatting above</b>
    Part 1:
    Hello,
    I am busy with a project that involves drawing data from an OLAP cube (in SAP BW), then transforming and contextualising for use in an EMI environment. The project runs on MII 12.1.
    The standard OLAP connector and OLAP queries have been used (would prefer not to go the route of creating a call to the OLAP XMLA web service directly). One of the important dimensions is returned as a name (descriptive text) rather than a key (the cost element code itself), preventing us from reliably applying business rules to classify cost elements. Categorising cost elements based on their text descriptions is not a sustainable solution.
    The output needs to allow for two dimensions (cost element and an equipment identifier) against which individual cost values will be listed. It appears that the two dimensions must both be on the <i>x-axis</i>, as result columns are automatically renamed, e.g. C000001, C000002, etc. If anyone knows of a way to suppress this renaming behaviour, please let me know.

  • Passing values to query according to text and not key

    Hi,
    I have a query that accept the get from input filed customers values. the values should be the customers key.
    I would like to pass text values to the query and want to get all customers that the texts exists in text description of the customers.
    Can I do such thing?
    Thanks
    Ami

    Ami Halm,
    You will need to create your own web service to acomplish this, the following artice illustrates a similar example.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7000a4db-d4e2-2a10-ebaf-c6e1de637dbe
    Regards,
    Ahmed Salah

  • Oawebbean.getValue() returns intial value not updated value. Please Help

    Hi all, I'm using the code
    OAMessageTextInputBean test = (OAMessageTextInputBean)oawebbean.findChildRecursive("xxTestTo");
    Object testing = test.getValue(oapagecontext);
    where xxTestTo is the ID of the field in the XML
    I've set the initial value for testing purposes to be 12345 and when the page loads I try to change the value to 54321 however, the value which is always passed is 12345 not the updated value.
    What am I doing wrong. I have the code above in my processFormRequest
    Please Help

    I think I've pinpointed the problem but I don't know the solution.
    When I add a messageinputtext field within the a region within the page, oawebbean.getValue always returns the old value.
    However if I add the messageinputtext field within the Page (not within a region) then oawebbean.getValue will give me the most updated value.
    When I add the messageinputtext, do I need to set its properties so that it doens't reset its value when I go into processFormRequest?

  • "Merge with values" not merging values

    Hello,
    I have quite a problem with LDAP provisionning and LDAP groups management:
    - "user1" and "user2" already exist in the LDAP directory and are members of "group1"
    - I create user1 in IDM and give him the LDAP ressource => he gets linked correctly to his account
    - I create user2 in IDM
    - I have a role in IDM with the LDAP ressource associated and a "set attribute value" configured with "group2" and "merge with values"
    - when I give this role to user1, user1 gets group1 and group2 in the LDAP directory. Great.
    - when I give this role to user2, user2 gets linked correctly to his account and only has group2! group1 has disappeared and no merge whatsoever was performed!
    Of course, my real situation involves thousands of existing users, and I plan to manage user ressources only via Roles and not via Ressource. I then have thousands of user2 who are going to lose their groups!
    I also tried with "Authoritative merge with values", same result.
    Any idea what should be changed?
    Thanks

    Hi,
    If the users already have access to 'group1' then create a role with "Merge with value, clear existing" for the attribute.
    If required then create another role for 'group2' also with "Merge with value, clear existing" for the attribute. A user who is assign both roles will be granted access to 'group1' and'group2'
    "Merge with value, clear existing" will ensure the user only has access to the groups as per the role assignments. If the user is independently assigned 'group3' then IDM will remove 'group3' next time the user is refreshed within IDM.
    If you only use "Merge with value" then old groups will not be removed even if they are not required.

  • Unable to Connect to OLAP Source - Webi report

    Hi
    When trying to access webi report , Iam getting Unable to connect to OLAP source
    Tried all the notes  , All the BICS connections are fine , No of BW gateways are 2000.
    Any other options
    Thanks
    NK

    Hi NK,
    Please check:
    Is query running fine in BEx Analyzer.
    In BEX under the Advance tab in Properties to allow access to BOBJ, we have the "Allow External Access to this Query" please make sure it is checked.
    Regards,
    Vizit

  • Why is button value not changing?

    I have a fairly complex form with several input text fields and buttons that have their values changed during operation.
    The components are created from a session bean and are updated by two different mechanisms.
    The input text fields are updated by user input.
    The button acts as a toggle. When the user pushed the button, a javascript function checks the value of the button.
    The button contains a single character, either a "X" or "O".
    When the button is pushed, the javascript checks the value and changes it to the other.
    Visually, this all works fine. Both the text fields and buttons behave as expected.
    Here is the problem.
    When the user pushes the "Apply" button, a session bean looks for the text fields and buttons using 'findComponent' for a specified ID.
    They attempt to fetch the values of the components and update an internal array of values.
    The input text component works fine.
    User changes value, it is identified correctly, and the new value is detected on the component.
    The commandButton component does not work as expected.
    Visually, the component value changes properly.
    When I use findComponent() and getValue(),. I get the original value.
    I have verified that the component ID is correct - I print it with an Alert() method in the javascript and check it with the debugger before the findComponent() method.
    But, what is returned from getValue() of the found component is the original value, not the value that is visually displayed on the form.
    Can anyone explain why this happens and what I can do to get the correct visually displayed value from the button component?
    Thanks.

    <h:inputHidden value="#{myBean.myProp}" />Although this is annoying on the client side because the client id is rendered as the name.
    Alternatively:
    <input type="hidden" name="myProp" value="#{myBean.myProp}" />along with the following bean config:
        <managed-bean>
           <managed-bean-name>myBean</managed-bean-name>
           <managed-bean-class>MyBeanClass</managed-bean-class>
           <managed-bean-scope>request</managed-bean-scope>
           <managed-property>
                <property-name>myProp</property-name>
                <property-class>java.lang.String</property-class>
                <value>#{param.myProp}</value>
           </managed-property>
        </managed-bean>

  • Security for value based hierarchy + OLAP

    Hi,
    I am using row-level security mechanism described here: http://www.rittmanmead.com/2012/03/obiee-11g-security-week-row-level-security/
    It works well for level based hierarchies... but is there a way to apply it to value based OLAP hierarchy in OBIEE 11.1.1.6?
    My case is:
    - I have parent-child value based hierarchy representing management structure with various depth.
    - of course facts are always linked to leaf members of hierarchy
    - I need to apply security at different levels. E.g. Office manager should have access to one/multiple offices information (basically all employees he manage currently + his previous office before he was moved)
    - In report I display presentation hierarchy that starts at country level and then manager drill to his offices
    - At country level, manager should see a measure aggregate only for his offices (not whole country)
    In relational database there is no problem:
    - I follow rittman blog
    - create session variable that store list of all leaf members of hierarchy (employees) managed by manager
    - with OBIEE "Manage"->"Identity" I apply filter on fact table and get right measure aggregates at all levels of hierarchy
    Issue for OLAP:
    - with OBIEE "Manage"->"Identity" I apply filter on OLAP value based hierarchy
    - in case of filter "MY_BMM"."Org Str"."Org Str Key" = VALUEOF(NQ_SESSION."LEAFS_LIST") -> when manager include hierarchy column to report there are no results because hierarchy starts at country level and he have no access to country data
    - to workaround it I tried: "MY_BMM"."Org Str"."Org Str Key" = VALUEOF(NQ_SESSION."LEAFS_LIST_AND_ALL_ANCESTORS") -> manager can see all aggregates at country level because he have access to country, and OLAP just use country level aggregate
    - IsDescendant("MY_BMM"."Org Str" , VALUEOF(NQ_SESSION."OFFICE_ID")) will work only for single office as we can not use row wise variables here
    One solution I can imagine is to create additional level based dimension that have only 2 levels: "All"->"Org Str Leaf". Then apply filter on this "artifitial" dimension. It is not perfect solution to duplicate dimensions only for security purposes... that's why I ask you for advice if you know better way?
    Regards,
    mudi

    Here is an example, how to set security in OBIEE 11.1.1.5 (or future versions)  against  Oracle OLAP dimensions.
    *(1). Create the Oracle OLAP Hierarchy Descendant View against Value-based hierarchy*
    These views return a row for each ancestor-descendent relationship in the hierarchy. As you can see how easy it is.
    CREATE OR REPLACE VIEW DEPT_DESCENDANTS
    AS
    SELECT 'DEPT' "DIMENSION", 'DEPTHIER' "HIER", ancestor, descendant
    FROM TABLE(OLAP_TABLE('BAWOLAP.BNSOLAP DURATION QUERY', null, 'LIMIT DEPT_HIERLIST TO 'DEPTHIER''',
    'DMNS DESCENDANT AS VARCHAR2(60) FROM DEPT
    DMNS GID_VAL AS NUMBER FROM ___AW_GID_DIMENSION
    MSR ANCESTOR AS VARCHAR2(60) FROM DEPT_FAMILYRELVAL'
    where ancestor is not null
    *(2). Create the User ACL Tables and Populate with Data*
    Create an Access Control list test table by user and Dept. Later this will be populated with production data.
    create table user_dept_acls
    username varchar2(30),
    dept varchar2(60)
    insert into user_dept_acls(username, dept) values ('user1', 'GWM');
    insert into user_dept_acls(username, dept) values ('user1', 'GT');
    insert into user_dept_acls(username, dept) values ('user1', 'SC');
    insert into user_dept_acls(username, dept) values ('user2', 'GWM');
    insert into user_dept_acls(username, dept) values ('user2', 'GT');
    insert into user_dept_acls(username, dept) values ('user3', 'SC');
    commit;
    *(3). Create an Init Block Connection Pool*
    Oracle BI EE requires a separate Connect Pool for Init blocks. It does not allow the default query connection pool to be reused for init blocks. So, we need to create a new init block.
    *(4). Create the ACL Session Variables*
    These session variables hold the list of all members that the user may access.
    Example Session Variable: DEPT_ACL
    Init Block: "Init DEPT_ACL"
    SQL:
    select 'DEPT_ACL', account from user_DEPT_acls where username = ':USER'
    union all
    select 'DEPT_ACL', descendant
    from DEPT_descendants
    where ancestor in (select account from user_DEPT_acls where username = ':USER')
    union all
    select 'DEPT_ACL', ancestor
    from DEPT_descendants
    where descendant in (select account from user_DEPT_acls where username = ':USER')
    The first query block of the init block SQL just selects the members explicitly entered into the ACL table. The second block selects all the descendants of those members from the descendants view. The third block selects all the ancestors to ensure that the user has access to all the members in the drill path starting from the root member.
    Make sure that row-wise initialization is checked in the Variable Target section of the init block.
    *(5). Add the Data Filters*
    In our test case we assigned the data filters to the BIAuthor role, but the filters should be added to whatever role makes the most sense.
    Data filter on "BNSGL"."Department":
    "BNSGL"."Department"."Dept" = VALUEOF(NQ_SESSION."DEPT_ACL")
    *(6). Log in as a Normal User and Query the Hierarchy*
    The user can only see to the members to which they are granted access in the ACL table plus all ancestors and descendants of those members.
    Drill down to the bottom of the hierarchy.
    *(7). Look at the Query Log*
    In the nqquery.log we see that the session variable is expanded into an IN list in the physical SQL query. The BI Server breaks the IN list into two IN lists to avoid the Oracle SQL limit of 1,000 items per IN list.
    Edited by: Nasar Ali-Khan on Jul 2, 2012 8:14 AM

  • Primary Key Source returning improper value

    Hi All,
    I have a tabular updateable form.
    My Primary Key field has
    Primary key Source Type : Custom PL/SQL Function
    Primary key Source : RETURN (EB_PACKAGE.GET_COD_NUM (:P4_CTY_TYPE));
    My function is in a package and is executing properly and i have checked it.
    I have an Item on that page as P4_CTY_TYPE whose value i'm passing to obtain the Primary key.
    But my problem is the function does not return a proper value, i feel the value being passed for the function is always same. Why is proper value not being passed.
    Hopefully I have explained my problem, if not let me know so.
    Hoping for the solution.
    Thanks n Regards
    Arif

    Hi Ravi,
    Thanks for the reply and sorry for late reply.
    The session value for P4_CTY_TYPE is ok.
    P4_CTY_TYPE is a Select List with Submit.
    I have a Report and there's a link which changes the value of P4_CTY_TYPE or can be changed by itself as it is a Select List.
    Depending upon the value of P4_CTY_TYPE I'm displaying records in a Tabular form with Insert, Update and Delete facilities.
    Now Suppose the Value for P4_CTY_TYPE is 10 at the start of the session then the function works fine and it always does for this value, when i select other value for P4_CTY_TYPE say 20. The value returned by my function is as if the parameter value being passed to the function EB_PACKAGE.GET_COD_NUM (:P4_CTY_TYPE)) is 10 and not 20. This is what i mean by function does not return a proper value.
    If any more clarification required do let me know.
    Thanks Once again.
    Arif

Maybe you are looking for