Mapping Attribute Dim in Essbase

Hi,
I think this is bit funky requirement part of my enhancement project.V 11.1.2.1
i have an essbase cube with a hierarchy called Product where the level 0 is PartNumber. I have an attribute dimension call ProdType which is coming from a different mapping table and different source with PC(Product Code) which is level 1 in my hierarchy and my requirement is to map that attribute to one level down with corresponding PartNumber.
Product
-------PS(Level 2)
----PC(Level 1)
---PN(Level 0)
---PN1(Level 0)
File1 Extract gives me the full product hierarchy so i am building the hierarchy using Build Rule where as second file(File2) i am getting has only PC(level1) of product hierarchy with attribute column ProdType. BUt my requirement is to map the attribute value to all the PartNumber under that ProductCode as Attribute can not be mapped to upper level members. Is their a way in essbase to puss the attribute mapping to level0 where as the file has level1 mapping.
Note: we do not want to make any change from DWH side so trying to achieve this in Hyperion
any thought or way to achieve this?
-KP

Got some idea and that is working for me if i am mapping manually , there is something call Association where we can map the Attribute dimension member to any level of base dimension. I am still working on how to map the association using Dimension Build Rule. i can see the Field properties to map as UDA,formula etc but don't see Association in that window.
any suggestion will be helpful.
-KP

Similar Messages

  • How to create an attribute dimension in Essbase Studio?

    I cannot figure out how to create an attribute dimension using Essbase Studio. The online help states that I need to "Find the Attribute settings grouping in the center" of the member properties dialog box. I suspect that I'm having a problem figuring this out because I don't have the attribute dimension properly defined in the relational data source or in the mini-schema. I've tried creating a table with no key relationship to the other tables and with no logical joins defined, but that doesn't seem to help. Any ideas?

    so in the 11.1.1 version you would click on the member name in the hierarchy you added to the Essbase model and in the center pane of the general tab should be the attributes settings section.
    If I had a dimension called stores wth two groupings unser it region and store_type, I would click on store_type and add the attribute info

  • How to set "Image Map" attribute to "Polygon" via javascript in Illustrator CS5

    Ok, so I have this little script I've written that I want to use to go through a bunch of paths in a document and give each path a url for use in an image map. I want each link to be a Polygon because, well, let's face it, "Rectangle" is useless 99% of the time. Obviously, the way you would do this manually would be to open the Attributes panel and set the Image Map attribute to Polygon and type a URL in the URL field. Fine. Easy enough. However, when scripting the process, it seems one can only set the URL (or the uRL [sic] as documented in the javascript reference) of the PathItem. In other words:
    pathItem.uRL = "http://someurlfor.me";
    Unfortunately, this defaults the "Image Map" attribute to "Rectangle" (which we already know is useless 99% of the time.) SO, anyone out there know how to change that attribute to "Polygon?"
    Btw, I'm on Illustrator CS5 and have been using this reference:
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/pdf/illustrator/scrip ting/illustrator_scripting_reference_javascript_cs5.pdf
    Thanks,
    -Matt

    We found that with the following setting, the problem is almost solved :
    theme.setQueryWindowMultiplier(1);
    theme.enableAutoWholeImage(true);
    We still have a problem : a portion of the base map appears black most of the time, on Blackberry only (Opera Mini) ... like 1/5 of the map ... the right side ... any idea ?
    Thanks,
    JP

  • Mapping attributes between two resources

    Hi All,
    Is there a way to map attributes of one resource to another?
    If so let me know how it can be done?
    regards,
    Zebra8

    Hi,
    Can you please be more clear in your reply. I am not able to get what you want to say.
    Thanks,
    Shankar

  • URLATTRIBUTE Mapped Attribute

    Hello All,
    Has anyone successfully used the URLAttribute Mapped attribute in BPM 11g (PS4FP)? I believe it generates a clickable URL in the BPM worklist or workspace. Is that how its supposed to work? There is no documentation on this anywhere.
    thanks,
    Vikram
    Edited by: Vikram Bailur on Mar 19, 2012 12:24 AM

    bump.

  • Restriction of bw infoobect(not mapped to dim)

    Hi friends,
    I'm uploading acutals to bpc cube. bw infoobjects are mapped to dims. In selection option i need to restrict bw infoobject(empgroup) to 3 values(R/D/T), but empgroup is not mapped to any of dim of application. In selection option i'm unable to restrict empgroup infoobject to 3 values.  eg: In transformation file,
    SELEECTION=0EMPGROUP,R;0EMPGROUP,D;0EMPGROUP,T when i wrote like this system not even reading single record from bw cube. If i put only one (eg: SELEECTION=0EMPGROUP,R), system validating & extracting "R" related records to bpc.
    How can i bring only 0EMPGROUP(R/D/T) values to bpc side. As per SAP help: bpc75nw, we can use start routine for doing this, apart from this any other option, pls?
    THANKS,
    Naresh

    Hi Naresh,
    Please refer to the below link from help.sap:
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/5d/9a3fba600e4de29e2d165644d67bd1/content.htm
    Please refer to the Selection statement. It clearly states that we can have only one value for a dimension. Multiple values are not supported. So, if you want to load 3 values, then you need to have 3 different transformation files. And you need to run the package 3 times with each of the transformation file.
    Hope this helps.

  • Cannot modify datatype of mapped attribute

    com.sap.tc.webdynpro.progmodel.context.ContextException: MappedAttributeInfo(DisplayEmpLeave.Year): must not modify the datatype of a mapped attribute
    IWDAttributeInfo attinfo=wdContext.getNodeInfo().getAttribute("Year"); ISimpleTypeModifiable modinfo=attinfo.getModifiableSimpleType();
    IModifiableSimpleValueSet valset=modinfo.getSVServices().getModifiableSimpleValueSet();

    Hi,
    It is not possible to map the this variable to a controller.
    So if u remove the mapping, the code will work.
    For that, right click the atrribute <b>"Year"</b>->Delete Context Mapping.
    If u want to pass the value to controller, create one context variable of type string, map it to controller and get the value from the variable <b>Year</b> to this
    Regards
    Fahad Hamsa

  • Non-mapped attributes not merging!!

    I found this on webgain's web site (http://www.webgain.com/download/toplink/patches/toplink_301.html). This is exactly what I am talking about. Can somebody help with this? I have a case where I actually make a change to a mapped value, but the unmapped values are lost.
    26601
    Non-mapped attributes not merged in UnitOfWork. Previously, the UnitOfWork would merge non-persistent attributes on commit.
    With the introduction of ChangeSets in 3.0, if changes were made to only non-mapped attributes, then this was considered no change - no merge would take place and no PostMerge event would be thrown. This has been changed back to the TopLink 2.5.1 behaviour - non-mapped attributes will now be merged, and will trigger PostMerge events.

    Nate,
    I first off want to clarify that TopLink does not manage un-mapped attributes in any way. The change-set calculation and merge from the working copy into the shared cache copy only applies to mapped attributes.
    If you would like to have un-mapped attributes carried through your UnitOfWork interactions you will need to implement a DescriptorEventListener and register it with the descriptor's event manager (typically in an after-load method).
    The patch mentioned was for the handling of these events. If you have implemented such a listener and are not seeing the correct method calls then we have an issue. In this case let us know what version of TopLink you are using and what the specific scenario where you are not getting the behavior you expect.
    Doug Clarke

  • OBIEE Report based on attribute dim or say base attribute value

    Hi,
    I have OBIEE and Essbase implementation and have set of attribute dimensions. I am trying to understand how can I create reports in OBIEE where I can use the attribute values to filter, group, sum my fact data. For example I have a hierarchy for Dimension Supplier Geography as below -
    Geography (Gen1 - Dimension)
    (Gen2, Region)
    (Gen3, Country)
    (Gen4, Supplier Parent)
    (Gen5, Supplier) (Attribute as Company Name)
    Sample :
    Supplier Geography
    -- East
    -- C1
    -- PS1
    -- S1 (Comp1)
    -- S2 (Comp2)
    -- West
    -- C2
    -- PS2
    -- S3 (Comp1)
    -- S4 (Comp2)
    -- C3
    -- PS3
    -- S5 (Comp3)
    -- S6 (Comp4)
    -- North
    -- C4
    -- PS4
    -- S7 (Comp3)
    -- S8 (Comp4)
    -- South
    -- C5
    -- PS5
    -- S9 (Comp1)
    -- S10 (Comp2)
    Now, I would like to report where I can display information based on the attribute and display across different level. This would require to create drop down for this attribute values. For example -
    A drop down showing values are Comp1, Comp2, Comp3, Comp4. When user selects Comp1 and assume that I have fact as sales amount, it should show report as below -
    Comp1
    Region Sales Amount
    East - 10,000
    West - 5,000
    South - 7,000
    I don't want to add a level as company as it would result in lot of redundant information. Also, I have got almost half million members and it would explode the size if I add more levels. Is there any better way to achieve this? Can I model this using alternate hierarchy? If so how would this exposed in OBIEE again?
    Appreciate your inputs.
    Thanks

    If you are sure of the number of attributes the user will be using as criteria is fixed and will not change, you should able to bind the literals to page items like:
    select emp.ename
    from emp
    join attribute_value a1 on a1.empno = emp.empno and a1.att_name = 'DEPT'
    join attribute_value a2 on a2.empno = emp.empno and a2.att_name = 'SALARY'
    join attribute_value a3 on a3.empno = emp.empno and a3.att_name = 'HIREDATE'
    where a1.att_numeric_value = :P1_dept_value
    and   a2.att_numeric_value = :P1_salary_value
    and   a3.att_date_value = to_date(:P1_hiredate_value,'YYYY-MM-DD');or
    select emp.ename
    from emp
    join attribute_value a1 on a1.empno = emp.empno and a1.att_name = :P1_att1_name
    join attribute_value a2 on a2.empno = emp.empno and a2.att_name = :P1_att2_name
    join attribute_value a3 on a3.empno = emp.empno and a3.att_name = :P1_att3_name
    where a1.att_numeric_value = :P1_att1_value
    and   a2.att_numeric_value = :P1_att2_value
    and   a3.att_date_value = to_date(:P1_att3_value,'DD-MM-DD');What happens when your user wants to add another attribute and use it as search criteria. You have to:
    1) add a JOIN clause to the SELECT
    2) add to the WHERE clause to the SELECT
    Warning personal opinion to follow: I would give up binding (i.e.. skipping parsing os the SELECT statement) for the flexibility of generating the SELECT at runtime. If the user adds a new attribute, then the PL/SQL code that assembles the SELECT statement would not have to be changed. All the meta data is stored in the database as to what the new column is and which column in the attributes table to use (ATT_NUMERIC_VALUE or ATT_DATE_VALUE). If your method of displaying the attributes and receiving the user's criteria is dynamic like my example, then you would not have to change the application at all for new attributes.
    Just my 2 cents worth of opinion,
    Mike

  • FDM : How to map rejected members in Essbase

    Hi,
    I'm new to FDM, I have a simple mapping in FDM :
    Type of mapping : LIKE
    thirdparty_code in source file = I_thirdparty_code in essbase
    The problem is that there is new thirdparty every day and I cannot update essbase metadata every day so some members are rejected during the EXPORT step.
    Is there is way to automaticaly mapped rejected thirdparty to a generic member i_none using FDM ?
    Thanks

    There is no out-of-the-box functionality that will let you do this. It could be done via a customized set of scripts but this would require quite a bit of work and I'm not sure it's worth it for the benefit you'd get. What you probably need to do is look at your process around metadata maintenance and updating as metadata that is changing every day is always going to be very difficult to manage.

  • Mapping attributes not under nodes

    Hi
    If I create an attribute in the component controller wihtout a node, then can it be mapped to a view?
    On trying to do so it gives an error.
    Thanks
    Pushpraj

    Hi Pushpraj,
    You cant map those attributes to a view from the component controller. You can only map node and its attributes
    Regards
    Sarath

  • Mapping attributes to elements

    Hi,
    I have a file that looks similar to this...(I've simplified it for the post)
    <XPacket>
       <XField Type="integer" Name="SerialNumber">13781</XField>
       <XField Type="string" Name="Mfr">Johnson</XField>
       <XField Type="XPacket" Name="Counters">
          <XField Type="XPacketArray" Name="Metrics" ArraySize="20">
            <XElement Type="XPacket" Index="0">
               <XField Type="integer" Name="position">7</XField>
               <XField Type="integer" Name="value">523</XField>
            <XElement Type="XPacket" Index="1">
               <XField Type="integer" Name="position">9</XField>
               <XField Type="integer" Name="value">62</XField>
           </XElement>
         </XField>
       </XField>
    </XPacket>
    First of all there's a problem defining a data-type for the mapping; it's ugly, but I've been able to do that using 'occurs' for each of the duplicated elements.
    I need to map this to a file that looks like this.
    <Output>
      <SerialNumber>13781</SerialNumber>
      <Mfr>Johnson</Mfr>
      <Counters>
        <Metrics>
          <Reading0>
            <position>7</position>
            <value>523</value>
          </Reading0>
          <Reading1>
            <position>9</position>
            <value>62</value>
          </Reading1>
        </Metrics>
      </Counters>
    </Output>
    Essentially, I need to convert the NAME attribute value (where it exists) to an element and fetch the associated value.
    I've tried a few different approaches with graphical mapping, but I reckon that's the wrong choice and it seems to me that an XSLT mapping is the best approach. With help from w3schools, I'm getting close, but I'm having trouble with the complex elements (where an element has a child element).
    Any help would be gratefully accepted !!
    Thanks,
    Guy

    in   CREATE OBJECT lr_choice the object id have to refer to name of node.
      CREATE OBJECT lr_choice
         EXPORTING
           id = 'CHOICE'.

  • How does BR get current date, user, and associate member with Attribute Dim

    I need use Business rules or Calc script to implement following functions:
    1. Get current date and the name of user who is running the BR and save the information to cube.
    I don't find any functions to get current date and users.
    Also, since text and date is store in relational database and essbase cube only stores the index, it looks that the value can't be changed or stored by using "==" directly, is there any function to change value of members with Text or Date types in BR/Calc script?
    2. End users select attribute value (via smart list) of products or projects(Sparse dimensions) in data form, run BR to update the association of these members with attribute dimension.
    I don't find any functions to change the attribute association in BR/Calc, is there any CDF (Custom Defined Function) that can do it?
    Thanks!

    Hi,
    For the date functionality, check out the post below.
    Re: Days behaviour between two dates
    As for the username, there is a little tricky way that requires an unused or a new dimension along with a smart list of user names. It's also possible to capture the user name from the cookies and pass it on to the form. The latter is possible through validatedata.js however requires hefty coding here and there.
    As for the attributes, it's not possible to update metadata through business rule. So no luck in there.
    Cheers,
    Alp

  • Hierarchical attribute dimension with Essbase Studio

    Hi everybody,
    I need to load product dimension which is organized in a relational parent-child table like this:
    (parent_code, member_code, member_alias, brand, consolidation, formula)
    Every product has a brand and I need to load brand as attribute dimension. The thing is Brand is not flat but it has its own hierarchy. For Brand I have another relational table where data is organized parent-child like this:
    (brand_parent, brand_child, brand_alias).
    I need to do this load with Essbase Studio but I do not known how to create the Product hierarchy in cube schema in order to load the hierarchical parent-child attributes. Documentation and tutorials only show examples for flat attributes. I thought of these two ways but not sure if will work:
    case 1) Product hierarchy like this:
    Parent_code
    Member_code
    Brand_parent
    Brand_child
    Member_code
    case 2) Product hierarchy like this:
    Parent_code
    Member_code
    Brand_parent
    Brand
    Member_code
    Has anyone had to this? How did you do it?
    Any help will be very appreciate.
    Thank you,
    Daniela

    I've not tried it, but you should be able to build the attribute hierarchy within the product hierarchy. sort of like
    Parent Code
    ---member Code
    Brand Parent
    ---Brand Code
    -----Member Code.
    A couple of things
    1. Remember to create the self join between Parent_code and Member code
    2. IF this does not work, I suggest creating either a user defined table or a view that just gives you distinct brand parent and Brand Code. Join the Brand Code to the product table on brand_code = brand code and use that table to build that hierarchy.

  • OX Mapping attributes

    Hi,
    Could someone tell me how to map the value from an object attribute to a xml attribute when using 10.1.3 to perform ObjectXML.
    I am able to get my XML Unmarshalled, make changes and Marshal it, but it appears the tag attributes are not coming through
    eg
    i get
    <phone-number>12345</phone-number>
    <phone-number>67890</phone-number>
    and i want
    <phone-number type="home">12345</phone-number>
    <phone-number type="work">67890</phone-number>
    how do i do it?
    Thanks

    Hi Martyn,
    Mapping an object attribute to XML attribute is similar to mapping an object attribute to an XML text node. The difference is in the XPath specified. To indicate an XML attribute append an "@" to the attribute name when specifying the XPath (see the code example below).
    XMLDescriptor desc = new XMLDescriptor();
    desc.setJavaClass(PhoneNumber.class);
    desc.setDefaultRootElement("phone-number");
    XMLDirectMapping typeMapping = new XMLDirectMapping();
    typeMapping.setAttributeName("type");
    typeMapping.setXPath("@type");
    desc.addMapping(typeMapping);
    XMLDirectMapping numberMapping = new XMLDirectMapping();
    numberMapping.setAttributeName("number");
    numberMapping.setXPath("text()");
    desc.addMapping(numberMapping);This mapping can also be created in the TopLink Mapping Workbench by selecting the XML attribute using the XPath Chooser GUI.
    If your mapping is correct and you are still not seeing the attribute when you marshal the object to XML there are 2 possible causes:
    1. You have marked the mapping as read only. In this case TopLink will read the attribute value during the unmarshal operation but will not write the attribute value during the marshal operation.
    2. The corresponding value in the object model is null, null values in the object model are not written out when the object is marshalled to XML.
    -Blaise

Maybe you are looking for