Fetching UDA for a member

Hi All,
I have chekced all the functions but could not get any function to fetch UDA for a member in calc script.
Is there any function available to do this?
Thanks

Hi,
I think that isn't possible with UDAs, but you could try using Attribute Dimensions... With the function @ATTRIBUTESVAL you can fetch the assigned attribute for the currently calculated member...
Example*
This example is based on the Sample Basic database.
The Product dimension is associated with the Pkg Type text attribute dimension, as shown in the following example:
+Product {Pkg Type}+
+100+
+100-10 {Pkg Type:Can}+
+100-20 {Pkg Type:Can}+
+100-30 {Pkg Type:Bottle}+
+200+
+200-10 {Pkg Type:Bottle}+
+200-20 {Pkg Type:Bottle}+
+200-30 {Pkg Type:Bottle}+
+200-40 {Pkg Type:Bottle}+
+Pkg Type Attribute {Type: Text}+
Bottle
Can
For the current member of the base dimension, Product, the function
+@ATTRIBUTESVAL("Pkg Type")+
returns the associated attribute value from the text attribute dimension, Pkg Type.
Hope this helps...
Kind regards
André

Similar Messages

  • Creating UDA for a dimension member

    Hi All,
    when I am creating UDA for a dimension member in my planning application I get the following error.
    The associated dimension ID has not been set for this property. Do you want to create the association now?
    Can anyone please let me knwo wahts this error?
    Thanks

    I take this is an EPMA application, you have to create dimension association between the UDA property and the UDA dimension.
    Have a read of :- http://download.oracle.com/docs/cd/E17236_01/epm.1112/epma_admin/epma_create_assoc.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Select one record for each member of the group

    Hi,
    am having a table where in i will be having data for so many group members. i need to fetch data for a particular group members whose number of rows of data may be more in numbers (but i want only one row of data for each member of the group)
    here is the query for fetching all rows of data
    select RI.RESOURCE_NAME,TR.MSISDN,TR.ADDRESS1_GOOGLE, TR.MSG_DATE_INFO, FROM TRACKING_REPORT TR, RESOURCE_INFO RI
    WHERE TR.MSISDN IN (SELECT MSISDN FROM RESOURCE_INFO WHERE GROUP_ID ='1' AND COM_ID=2 ) AND RI.MSISDN=TR.MSISDN
    order by MSG_DATE_INFOoutput of this query is...
    >
    ddd     12345          13-Mar-10 19:43:03
    eee     54321     Tamil Nadu, India      13-Mar-10 19:39:48
    ddd     12345          13-Mar-10 19:32:58
    eee     54321     Tamil Nadu, India      13-Mar-10 19:30:07
    ddd     12345          13-Mar-10 19:23:08
    eee     54321     Tamil Nadu, India      13-Mar-10 19:20:14
    fff     98765          13-Mar-10 19:19:22
    ddd     12345          13-Mar-10 19:13:01
    eee     54321     Tamil Nadu, India      13-Mar-10 19:09:50
    ddd     12345          13-Mar-10 19:02:56
    eee     54321     tn,ind      13-Mar-10 18:59:49
    ddd     12345          13-Mar-10 18:53:08
    eee     54321     tn,ind      13-Mar-10 18:49:50
    ddd     12345          13-Mar-10 18:42:56
    eee     54321     tn,ind      13-Mar-10 18:39:50
    ddd     12345          13-Mar-10 18:33:00
    eee     54321     tn,ind      13-Mar-10 18:29:50
    ddd     12345          13-Mar-10 18:22:54
    eee     54321     tn,ind      13-Mar-10 18:19:50
    ddd     12345          13-Mar-10 18:12:56
    eee     54321     tn,ind      13-Mar-10 18:09:50
    ddd     12345          13-Mar-10 18:02:54
    eee     54321     tn,ind      13-Mar-10 18:00:02
    fff     98765     Tamil Nadu, India      13-Mar-10 17:59:26
    fff     98765     Tamil Nadu, India      13-Mar-10 17:54:26
    ddd     12345          13-Mar-10 17:52:56
    eee     54321     tn,ind      13-Mar-10 17:49:50
    fff     98765     Tamil Nadu, India      13-Mar-10 17:49:25
    fff     98765     Tamil Nadu, India      13-Mar-10 17:44:26
    ddd     12345          13-Mar-10 17:42:56
    >
    from this output i want only one latest record for each member(ddd,eee,fff). i.e
    >
    ddd     12345          13-Mar-10 19:43:03
    eee     54321     Tamil Nadu, India      13-Mar-10 19:39:48
    fff     98765          13-Mar-10 19:19:22
    >
    how to modify the query to achieve this...?

    Hi,
    This is not giving the result which i want...
    table is
    CREATE TABLE TRACKING_REPORT
      ID               NUMBER,
      MSISDN           NUMBER(12)                   NOT NULL,
      X                NUMBER(15,8)                 NOT NULL,
      Y                NUMBER(15,8)                 NOT NULL,
      TIME_STAMP       DATE,
      MSG_DATE_INFO    DATE                         DEFAULT sysdate,
      ADDRESS1_GOOGLE  VARCHAR2(400 BYTE),
      ADDRESS2_GOOGLE  VARCHAR2(400 BYTE),
      ADDRESS_MLINFO   VARCHAR2(400 BYTE),
      REQ_ID           VARCHAR2(30 BYTE)
    CREATE TABLE RESOURCE_INFO
      RESOURCE_ID    NUMBER,
      MSISDN         NUMBER,
      RESOURCE_NAME  VARCHAR2(25 BYTE),
      ADDRESS        VARCHAR2(100 BYTE),
      COM_ID         VARCHAR2(20 BYTE),
      ADMIN_ID       NUMBER,
      TIME_STAMP     DATE                           DEFAULT SYSDATE,
      GROUP_ID       NUMBER
    )

  • My family shares one apple id. Is there any way to make an apple id for each member of my family and have it all connected to the same credit card and have the same previous downloads open to download by signing in to each members personal apple id?

    My family shares one apple id. Is there any way to make an apple id for each member of my family and have it all connected to the same credit card and have the same previous downloads open to download by signing in to each members personal apple id?

    Hi cindy,
    If you all have individual Apple IDs, then you would be able to dowload music from a shared iTunes library on a computer, but you would not be able to sign on each individual ID on an iOS device in order to download music purchased under the original Apple ID without a 90-day waiting period between sign-ons.
    Here's what I mean:
    If you were to sign on a new Apple ID on, say, an iPhone, and then were to purchase and download some music from iTunes, then you would have to wait 90 days before you could sign on the old Apple ID to that iPhone in order to download previously purchased material (and vice versa).
    However, if all of the music purchased by that origjnal Apple ID is in an iTunes library on a shared computer, then you can hook up the device and selectively sync any music in that library to the device. You can also sign on any of the Apple IDs to that shared iTunes library and purchase music to be added to the library.
    You would need to authorize the computer for each of the new Apple IDs.
    Each of the Apple IDs would also be able to download that music purchased either by syncing to the iTunes library on the computer or by downloading it OTA on the device.
    So, each Apple ID can download music, movies, etc. purchased with that Apple ID OTA to the device. Also each Apple ID can sync any music, movies, etc. that are in the iTunes library on the computer regardless of who purchased them.
    The only other thing you would need to remember is that if an App needed to be updated, then the original Apple ID that was used to purchase that App would come up, and the password that goes with that Apple ID would be required to do the update.
    Hope that helps,
    GB

  • How to fetch data for a struture from a cluster table

    How can I fetch data for a struture, from a cluster table, based on the name of the structure?

    Hi,
    In order to read from Cluster DB Table use the following statement:
    Syntax
    IMPORT <f1> [ TO  < g1 > ] <f2> [TO < g2 >] ...
    FROM DATABASE <dbtab>(<ar>)
    [CLIENT <cli>] ID <key>|MAJOR-ID <maid> [MINOR-ID <miid>].
    This statement reads the data objects specified in the list from a cluster in the database <dbtab>.
    You must declare <dbtab> using a TABLES statement. If you do not use the TO <gi> option, the
    data object <fi> in the database is assigned to the data object in the program with the same
    name. If you do use the option, the data object <fi> is read from the database into the field <gi>.
    For <ar>, enter the two-character area ID for the cluster in the database. The name <key>
    identifies the data in the database. Its maximum length depends on the length of the name field
    in <dbtab>.
    The CLIENT <cli> option allows you to disable the automatic client handling of a client-specific cluster database, and specify the client yourself. The addition must always come directly after the name of the database.
    For Eg:
    PROGRAM SAPMZTS3.
    TABLES INDX.
    DATA: BEGIN OF JTAB OCCURS 100,
    COL1 TYPE I,
    COL2 TYPE I,
    END OF JTAB.
    IMPORT ITAB TO JTAB FROM DATABASE INDX(HK) ID 'Table'.
    WRITE: / 'AEDAT:', INDX-AEDAT,
    / 'USERA:', INDX-USERA,
    / 'PGMID:', INDX-PGMID.
    SKIP.
    WRITE 'JTAB:'.
    LOOP AT JTAB FROM 1 TO 5.
    WRITE: / JTAB-COL1, JTAB-COL2.
    ENDLOOP.
    Regards,
    Neha
    Edited by: Neha Shukla on Mar 12, 2009 1:35 PM

  • How do i create 2 fetch proceess for diffrent table  in the same apge

    hi,
    i create page with 2 from region each region assign to different table each region with DML BUTTON( CREATE,DELETE,UPDATE),there 2 Processes after header to fetch row into two region .now when i run page give me error Column t2 not found in table 1 where the 1st fetch rows Processes fetch data for all item in page Regardless of table name so give me error.
    i mean that
    Region one contain table 1 ....with Fetch row process ( to retrieve data into table 1)
    Region Two Contain table 2....with Fetch row process( to retrieve data into table 2)
    when i run page give me error Column t2 not found in table 1 and when test the sql stetmeni in debug mode i found that the process take all item in page so give this error where column t2 found in table 2 not one ..
    my question
    1- there is any way to assign the Fetch process to specific region so the process take all item in these region only.
    2- how can create manual process to fetch row into specific items in page ( i tray these code
    SELECT col1, col2, col3 ....
    INTO :P1_ITEM1, :P1_ITEM, :P1_ITEM...
    FROM table
    WHERE id = :P_id ) but no data retrieve .
    thanks
    Ahmed
    Edited by: Ahmed.F on Nov 27, 2012 5:10 PM

    my question
    1- there is any way to assign the Fetch process to specific region so the process take all item in these region only.
    2- how can create manual process to fetch row into specific items in page ( i tray these code
    SELECT col1, col2, col3 ....
    INTO :P1_ITEM1, :P1_ITEM, :P1_ITEM...
    FROM table
    WHERE id = :P_id ) but no data retrieve .
    I do not think that it is possible to have more than one Automated Row Fetch process in a given page. See the thread:
    ORA-01403: no data found : Unable to fetch row multiple automated row fetch
    On your second question, the manual process should work provided:
    P_ID has a value when the process executes. You can do it this way:
    i. Make this process as a on-load After/Before header process
    ii. Make sure that P_ID page item has value when the process executes (set it from another page or before the pl/sql process executes)

  • How can i view 10 descriptions for a member in a web form

    Hi can some one help me with this
    How can i add 10 descriptions for a member in a web form usually, if it is one description i can add that in alias
    ACNT ACNT-DESCRIPTION
    12345 communication cost
    but how can i get that if i had 10 descriptions

    Hi Abhi,
    Are you saying you want ten different aliases for a given account?
    e.g.
    Member name: Profit
    alias 1: profits
    alias 2: excess cash
    alias 3: прибыль
    alias 4: ganancia
    alias 5: Gewinn
    alias 6: hagnaður
    alias 7: Winnings
    alias 8: The Take
    alias 9: Bail out money we didn't spend
    alias 10: My big fat bonus
    There is an option in the web form definition to show alias, but not 10 of them, and AFAIK you can't add an alias via a web form.

  • Remove access for each member of a particular dimension from Hyperion Planning Applciation

    We are trying to remove access for groups for each member of a particular dimension( which has more than 1000 members) of a Hyperion Planning application. We are going through Administration->Manage DImensions -> member , Under security click view and select the group and then remove access But the problem is there are more than 1000 members under this dimension , so it will be time consuming to go to each member and then remove access for the group. Is there any other way we can do this?
    Also is there a way to bulk delete native directory groups from Hyperion Shared services, instead of deleting each native group manually one by one?

    The reaso we want to go for Relational tables is that when we did Exportsecurity utility for that planning application  and imported back the SecFile.txt without doing any changes ,still it errored out giving errors like :
    "The following access not imported:-"PLN-ORG-0278-999 Bureau Strtgc & Oprtnl ""PLNning",0278-999,READWRITE,MEMBER due toInvalid user name found in the file."
    It is erroing out even if we did not do any modifications to the secfile.txt.
    Moreover there are more than 1000 members for which we have to remove access permissions manually one by one. It is a tedious process.
    So we are looking at other options like , which relational tables have got Native directory groups information, and the sql queires we can execute to remove the unwanted Native directory groups from Shared Services?

  • Error: can't fetch data for this host - too few bytes supplied by RPC

    Hi,
    In our internal Lab we have:
    One Admin, Media,Client Server (we can make backups for himself) - Solaris 10 with DDS4 tape drive (lab)
    One Windows Client (we can make backups) - Windows XP
    One Linux Client - CentOS 5.1
    When we add the linux client with the command:
    mkhost -a ob --inservice -r client -k 1024 linux
    We receive this message in the linux (host) /usr/tmp/observiced.log
    Error: can't fetch data for this host - too few bytes supplied by RPC partner (OB cached object manager)
    And in the obtool we receive (forever looping)
    Info: waiting for host to update certification status...
    Can you help us with this linux client error ? (iptables and selinux disabled!!)
    Thanks in Advance
    Serpins

    [SOLVED]
    Selinux not well removed....
    Thanks in Advance
    Serpins

  • The Submitter form cannot be validated if I don't fill the fields for each member of team (3). is it means that a team less than 3 persons cannot participate ??

    The Submitter form cannot be validated if I don't fill the fields for each member of team (3).
    is it means that a team less than 3 persons cannot participate    ??

    A team with less than 3 persons is eligible. One, two and three member teams are all eligible. I will remove the requirement to fill out the information for all three participants.

  • Batch fetch optimization for lazy collections

    Hi,
    I feel like this question must have been asked by somebody already but couldn't find any answers in the forum.
    We're trying to evaluate migrating from Hibernate to KODO JDO. One feature we use extensively from Hibernate is the "batch fetch optimization for lazy collections".
    For instance, there's a class User with collection "Set<String> permissions". In the DB, there're tables USER(id, name, etc) and USER_PERMISSIONS(user_id, permission) with one-to-many relationship b/w them.
    Suppose the code is the following:
    query = ....;
    List<User> users = (List<User>) query.execute();
    for (User user : users) {
    println("User: " + user.getName());
    println("Permissions: " + user.getPermissions());
    I've setup EagerFetchMode to parallel. For field "permissions" I had to specify default-fetch-group="true" b/c I wanted this to happen lazily. When I look through the logs, I see that permissions SQL query is executed for each user.
    With Hibernate we were to setup mapping the way that permissions are not fetched at first, but when they are requested for the first user (user.getPermissions()) they are automatically selected for several users in one query using SQL IN clause (similar to the parallel mode).
    Is this possible to recreate the same in KODO JDO? (JPA?) If it is, this would greatly simplify migration. Please notice, that we can't use explicit fetch groups for this, b/c we don't know ahead which collection can be navigated (in the real life User class have many relationships).
    thanks in advance,
    Dimitry

    Kodo doesn't have a direct analog for that behavior. The typical way to solve that problem is to keep the field out of the default fetch group, and then explicitly include the desired field in the current fetch group at runtime. In pure JDO, you can do this by creating a separate fetch group that includes the relationship field, and designating that the query should use that fetch group:
    <pre>
    query = ...;
    query.getFetchPlan().addGroup("relationshipGroup");
    List<User> users = (List<User>) query.execute();
    </pre>
    Kodo has JDO extensions that allow you to do this a bit more easily:
    <pre>
    query = ...;
    ((kodo.jdo.KodoFetchPlan) query.getFetchPlan()).addField("com.example.User.permissions");
    List<User> users = (List<User>) query.execute();
    </pre>
    Finally, you can do this with Kodo's JPA extensions like so:
    <pre>
    import org.apache.openjpa.persistence.OpenJPAQuery;
    query = (OpenJPAQuery) ...;
    query.getFetchPlan().addField("com.example.User.permissions");
    List<User> users = (List<User>) query.getResultList();
    </pre>
    Note that in all cases, you could also make this change to the current PersistenceManager / EntityManager's fetch plan instead, to make the change happen for the duration of the use of that manager. In that environment, the change would need to happen before the query was created.
    (And no, I have no idea why the edit box has a 'pre' button but does not seem to do anything with the resulting tags.)
    -Patrick

  • (BSO) export for lev0 member in column format

    Hi there,
    Today I have made a (BSO) export for lev0 member in column format.(Choosed this options with the export routine)
    What maked me wonder was that not only lev0 member are in the export file but also lev1 member.
    Can someone explain why this happened.
    I'm on 9.2.1 on win32.
    Regards
    Andre

    Hi Glenn,
    Thank you for your response,
    As you can see from the ess_lev0_exp_1.JPG outlined in the screen shot
    that this >lev0-member has 18 children. So impl shared should not matter.
    As as you can see from the ess_lev0_exp_2.JPG also these members are included in the export.
    However, the dim "Konten" (Account) is set to dense.
    The export options you can see in ess_lev0_exp_options.JPG.
    I find that strange anyhow. Hmm...
    http://fotoalbum.web.de/gast/andre.ml/Essbase
    Regards
    Andre

  • How to copy data for certain member from one dimension to another dimension

    Dear ,
    I want to copy data for certain member ("511102") from one dimension to another combinations of dimensions ,
    I have the following combinations for "511102" :
    _("Budget2012","FY12","Working.V01","SAR","BegBalance","1011","G_10","custom Grades")_
    I want to copy "511102"  to "salary"
    -salary have the following dimensions :
    _("Budget2012","FY12","Working.V01","SAR","BegBalance","General group","All grades","General Employees")_
    , I don't know if I could do it by datacopy of cross dimensional , But I don't HOW >>>
    Thanks in advance

    FIX("Budget2012","FY12","Working.V01","SAR","BegBalance","General group","All grades","General Employees")
    "salary"="511102"->"1011"->"G_10"->"custom Grades";
    ENDFIX
    or
    FIX("Budget2012","FY12","Working.V01","SAR","BegBalance")
    DATACOPY "511102"->"1011"->"G_10"->"custom Grades" to "salary"->"General group"->"All grades"->"General Employees";
    ENDFIX
    Key thing in datacopy is to place the dimensions in cross dimension in the same order. Both sides (before and after "TO") should have equal number of dimension members specified.
    Cheers,
    Alp

  • Fetch Mode for association RowIterators

    Hello all,
    In Jdev 3.2, I saw that a new "tuning" tab appeared in the view object wizard.
    In the corresponding help pages we can read the following "If As needed is specified and too many row sets are open (and left open because they are not navigated to the end), the user may run out of result sets and get a DMLException exception (You can set the jbo.max.cursors runtime parameter to a higher number, if needed.)"
    If I'm not mistaken, when 2 entities (e.g. dept, emp) are linked by a 1:n association, the entity on the 1 side of the 1:n association gets an accessor which returns a RowIterator.
    for instance, in DeptImpl, I'll have a getEmp() accessor which returns a RowIterator containing EmpImpl entities, right?
    So I'm just wondering what will be the fetch mode for this iterator.
    The part about "...left open because they are not navigated to the end..." worries me a bit.
    If these RowIterators use the "as needed mode",
    how can I be sure that they are properly closed when I'm finished using them?
    is there a RowIterator.close() method? (I haven't seen one)
    Should I just navigate till the end of the RowSet?
    I'm having quite a lot of Maximum open cursors exceeded exceptions on one of my programs, which makes extensive use of associations RowIterators, so I'm wondering if this could be the cause...
    Thanks in advance for any help.
    Remi

    Ravi,
    Great question. The iterators returned from association accessors use "Fetch as Needed" mode. So, if you are not exhausting the rows from an iterator (i.e. fetching all the rows) then the cursor will stay open.
    In the 3.2.3 maintenance release, there is a new close() method on oracle.jbo.RowIterator so that you can prematurely close the cursor if you want.
    In 3.2.2, unfortunately the only way to make sure the cursor gets closed is to fetch all the rows from the iterator.

  • How to set the fetch size for a ResultSet object?

    Connection con  = getConnection();
    Statement stmt = con.createConnection();
    ResultSet res = stmt.executeQuery("select * from table");
    //res.setFetchSize(?);
    while (res.next)
    res.get....
    }I do not know the number of rows .
    How can I set the fetch size for the ResultSet object?
    I try
    res.last();
    res.setFetchSize(res.getRow()/2);
    res.beforeFirst();
    while (res.next)
    res.get....
    }but it's so slow if there are 6000 rows.
    How can I set the fetch size for the ResultSet object more effectible?
    And what is the best number to set the fetch size?

    The fetch size defaults to a standard number. It is unlikely that it will be any faster if you set it unless you only plan to read a small number of rows.
    i.e. if you are going to read all the rows, you need to read all the rows no matter what.
    Unless the system has set the fetch size to 1 changing it will not be faster.
    Depending on the row length, reading in 6000 rows is going to take a long time. You could try using a cpu profiler to improve performance.
    Do you really need to read everything in every row?

Maybe you are looking for