How Line Item Dimensions

Hi..
I found some dimensions need to be conveted into line items. but when checked with cube that dimension has more than 1 characteristics. In that case what i have to do..and how can i convert it into line items

Hi Rajini...
1. When you anticipate high growth in the dimension tables of an entity.
2. Usually you decide whether a char is to in a line item dimension or not.
3. SAP recommends to have ODS for line items rather than cube; cube should have summarised data.
Also, see this link:
http://help.sap.com/saphelp_nw70/helpdata/en/a7/d50f395fc8cb7fe10000000a11402f/frameset.htm
Using Line Item Dimension
remodeling :
http://help.sap.com/saphelp_nw70/helpdata/en/58/85e5414f070640e10000000a1550b0/content.htm
regards,
supriya

Similar Messages

  • Line Item Dimension and Navigational attribute

    Hi Gurus,
    Can somebody tell me how line item Dimensions and navigational attributes works technically?
    What are the pros and cons for them?
    Regards
    Alex

    Hi Alex,
                You will use navigational attributes based on how you want to track and report history. Let me explain with an example.
    Customer Bubba is assigned Sales Group XYZ in Jan 2007. In July the Sales Group on the Customer Master record is changed to  ABC. Your are looking at the sales report.
    1). If you want to see all the sales made to Customer Bubba at the time of reporting (current) then you will use navigational attributes You will create 0SALESGRP as the navigational attribute of 0CUSTOMER .  Then all sales to the customer will show up under Sales Group ABC.
    2). If you want to see  all the sales made to the customer at the time the actual transaction occured then you will add Sales Group as a characteristic of the InfoCube. Then sales from Jan - June 2007 will show under Sales Group XYZ and from July - Present will show under Sales Group ABC.
    Performance issue occurs because navigational attribute is stored outside of the dimension table of the cube and is stored in separate master data tables. So query has to perform additional table read. So essentially there are advantages and disadvantages of usng navigational attributes. It is business requirement that will drive the use of navigational attribute.
    Hope this helps!!!. Please assign points.

  • How to know what were line item dimensions

    Dear SDN,
    How to know what were made line item dimensions.
    Thankyou.

    Rahul,
    Go to the edit mode of your info cube and then check out your dimensions, there if the line item dimension check box is checked then it means that, that particular dimension is a Line item dimension.
    Regards,
    Gattu

  • How can i decide candidates for line item dimension?

    1Q): we have many infocubes out of all these infocubes, i have to decide which infocubes are the candidates for lineitem dimension? How to do it? Please tell me the technical specs how to do the analysis to find out the candidates for line item dimension?
    2Q): if i have the small dimension can i combine all these dimension in to one dimension? what is the benefit of doing this? how to find out which dimensions are small?
    <u>Pizzaman i like to hear from you on this topic</u>. Thanks to SDN Community. i appreciate your help. Again Thank you.

    The process of figuring out what you might want to create as a line item dimension can vary a bit, it can depend a lot on your exisitng level of domain expertise (how well do you know the data in question). If you are familiar with the data, I would recommend you just take an initial guess at what you believe could be line item dimensions.  If you are not familiar witht the data, you might want to examine the source more to understand the cardinality of different characteristics and identify any relationships between characteristics. 
    I really encourage people to just go ahead and model it and load some data and review, rather than agonizing over developing the theoretically perfect model on paper before they start. You learn a lot more that way.
    Any of the SAP rules of thumb, are just that, general rules, not a pronouncement from God.  There are always extenuating or unique circumstances that might warrant disregarding the rule, e.g. if the InfoCube will never become very large, maybe some of the concerns just are not worth your effort.
    With every release of the Oracle (and the other DBs too)Oracle keeps getting better at data warehousing and star schemas. Oracle 10i is supposed to have made handling bitmap indices much more efficient, which is on of the  factors influencing the decision to create a line item dimension.      
    There are other threads on SDN on line item dims that provide more technical detail and can help answer you first question
    As far as 2Q - generally, it's better to have several small dimensions than one larger dimension. But having said that, combining a few <b>very small dimensions</b> into another  slightly larger (<i>but still small</i>) dimension is a good idea. It keeps the number of table joins down which will improve query performance. You would do this with characterisitcs that have very few values, e.g. yes/no indicators.
    e.g.
    You have 8 characteristics that all of which have only two values. You put them in one dimension, and the max size of the dimension table is still only 2x2x2x2x2x2x2x2 or 256 rows.  If you had these characteristics in other much larger dimensions, it's not hard to see it causing those dimensions to double, perhaps creating hundreds of thousands of dimension table rows to be created.
    For more - read   <a href="http://www.kimballgroup.com/html/designtipsPDF/DesignTips2003/KimballDT48DeClutter.pdf">Ralph Kimball Design Tip 48 - Junk Dimensions</a>

  • How to consider an object as Line Item Dimension?

    Can I have the formula for Line Item Dimension? I know basic idea like If the LID is more than 20% of the fact table then we consider as LID but how can we say that the object having more than 20% than Fact table?

    Hi sanjeev kumar--
    I hope thru that program you will get the ratio between different dimesion tables and the facttable.
    In doing so if the size of the dimesion table is too high then we have to trace out the offending charecteristic in that dimension and have to assign that char as a line item dimension.
    Generally it can be created on single char infoobjects. After creating it directly links to the MD . i mean to say there won't be a dimension for this..
    You can check this under the Tcde listschema .
    Hope this Helps,
    Regards,
    Vishwa.

  • How many line item dimensions can a fact table have?

    Hi,
    How many line item dimensions can a fact table have? Is it tht Max of 16 dimensions(13+3) .Does the 16 dimensions include line items dimensions as well .
    Pls reply.
    Thanks
    Praveen

    It includes all dimensios, including line item dimensions.
    If you have line item dimension, pl note you cant assign any other characteristic to that dimension.
    Ravi Thothadri

  • Line Item Dimension in a Infocube

    Hi,
    What is a Line Item Dimension in BI and
    How can/based on What factors we can decide declare a Infoobject as a Line Item dimension in Cube
    How to measure size of the fact table
    Thanks

    Hi,
    For working out the largest fact tables:
    transaction DB02 -> space statistics -> top n largest tables.
    If this does not help, your DB administrator should be able to extract the information using SQL.
    Also you can use tcode ST14 -> BW Evaluation: performance analysis of BW objects.
    Rgds,
    Colum

  • Line item dimensions

    hi..
    wat is line item dimensions nd cardinal heights???
    regards
    deepa

    Hi Deepa,
    Line Item Dimension:
    When your dimension table becomes large (>10% of the fact table) then you can make the dimension a "line-item" dimension. The constraint is that the dimension should have only 1 characteristic. By making the dimension as line item the SID values are directly used instead of the Dim ids and the query performance is better.
    The disadvantage is that once you make the dimension line -item you cannot add another characteristic to that dimension and you cannot remove the line -item checkmark without deleting the cube data.
    http://help.sap.com/saphelp_nw04/helpdata/en/a7/d50f395fc8cb7fe10000000a11402f/frameset.htm
    Multi Dimensional modelling will include fact table in center with Dimension tables around it. Overall system performance is greatly affected and dependent on the size of these dimension tables in respect to the fact table. SAP recommends that size of dimension table should be 20% of the size of fact table. In case if this size is more than 40% dimension should be defined high cardinal ( should be supported by database) If dimension tables are more than 40% the dimension should be defined as line item. When dimension is defined as line item, Dim ID in the fact table is replaced with the SID ID, Only one characteristic will be defined in that dimension. This results in improved performace.
    Here is how it will work
    Fact table
    Dim ID1 DIM ID2 DIM ID3 AMOUNT QTY
    Dimension Table 1
    Sid1 DimID1
    Dimension Table 2
    Sid 4 Dim ID 2
    Dimension Table 3
    Sid6 Dim ID 3
    Cosidering that Dim1 is too big, We can define Sid 1 in Line Item Dimension and Dim ID 1 is replaced by Sid 1 so fact table will look like this
    Sid 1 Dim2 Dim3 Amount Qty
    Compounding Attribute is superior object to define characteristic, for example
    Plant A manufactures TV
    Plant B manufacture TV
    The only way to differentiate product can be TV and Plant A
    Also,
    Cost center 100 can be in Controlling Area A and
    Controlling Area B can also have cost center 200,
    So Cost center is compounded with CO Area to uniquely identify that line.
    Just check this thread line item dimension
    Cardinality defines the numeric relationships between occurrences of the entities on either end of the relationship line.
    Check this link:
    http://www.datamodel.org/DataModelCardinality.html
    For cubes -> High Cardinality means that this dimension contains a large number of characteristic values. This information is used in accordance with the individual database platform in order to optimize performance. For example, an index type other than the standard may be used. Generally a dimension is perceived to have high cardinality when the dimension is at least 20% the size of the fact tables in terms of the number of entries each contain. Avoid marking a dimension as having high cardinality if you are in any doubt.
    Also refer the below link for Line Item Dim and High Cardinality.
    http://help.sap.com/saphelp_nw04/helpdata/en/a7/d50f395fc8cb7fe10000000a11402f/frameset.htm
    Check this explanation by pizzman:
    Re: High cardinality (CARDHeight) vs Line item
    Refer these links on line-item and cardinality:
    Line Item Dimension
    Re: Line Item Dimension
    Cardinality
    Re: High Cardinality Flag
    ****Assign Points If Helpful****
    Regards,
    Ravikanth

  • Line item dimension issue

    Hi,
          I am on development system and want to know the fact and dimension % as I need to create line item dimesion.
    One solution is executing program SAP_INFOCUBE_DESIGN.
          But if I want to use this same program in Production system, it will take a lot of time and will engage resources......
          Kindly suggest me as to how to find out which dimension should be made a line item dimension?
    Thanks,
    Sonu

    Hi,
    Use RSRV.
    Execute RSTRV and here you have the option of single cubes.
    This takes the ourput from the same tables where the SAP_INFOCUBE_DESIGNS takes.
    All Elementary Tests -> Database -> Database Information about InfoProvider Tables.
    Give your infocube name here and execute.
    It gives you a good detailed output.
    Thanks
    Ajeet

  • Usage of line item dimension - design or run time?

    Hi,
         Can anyone please tell me at which stage a line item dimension is considered - at design time or after data load, once queries are run and performance degenerates?
    I have read many posts and blogs about line item dimension and high cardinality, but I would require more information on when a line item dimension comes into play.
    If we can decide at design time, then how is it done without data being loaded?
    At which instances will the dimension table size exceed the fact table's size?
    Please explain the above 2 points with a clear example, including the DIM ID and SID table access, and the ratio calculation for line item dimension consideration.
    Thanks in advance.

    Hello Aparajitha,
    I agree with Suhas on point of consideration of LID . It would be good enough to consider a Dimension as LID in the Cube during design, it will be fruitful for the performance point of view. There is no point in saving the LID for future purpose if you have less than 13 Dimension in the Cube. It is going to save a extra join in connecting the relevant data.
    If the total Dimension exceeds 13 or more (during design) , then you no option but include the related Char IO together in a one dimension.Here you cannot make a LID .
    During the run phase, if the Dim table is more than 20 % of Fact Table, then for the sake of performance you have to go for the LID.In that case you will have the overhead of managing data (backup, delete & restore) .
    On your specific questions :
    "If we can decide at design time, then how is it done without data being loaded "
    Technically same as you do during run-- Goto Dimension -- Right click --Properties -- and Check LID.
    Logically -- Depending upon the Business meaning, which char has max unique values you  can go with as LID.
    "At which instances will the dimension table size exceed the fact table's size "
    Frankly I haven't come across that..  ... Fact table is the center table and always will be the huge table in comparison to Dim table . Dim table cannot exceed the Fact Table ....!
    Yes if the size of Dim Table is more than 20% of Fact table ( ratio of Dim Table to Fact Table) , then we have to select between the LID or High Cardanility.
    Gurus..Please correct if anything is wrong ..!
    Regards
    YN

  • Line item dimension,partitioning IN BW7.0

    HOW  TO MAKE A CHARACTERISTIC AS LINE ITEM DIMENSION.
    STEPS FOR CREATING PARTITIONING IN CUBE
    Edited by: TSUCHITRA on Jul 28, 2010 12:08 PM
    Please search the forum before posting a new thread
    Edited by: Pravender on Jul 28, 2010 7:53 PM

    Have you tried the help files?
    Partitioning here
    http://help.sap.com/saphelp_nw04/helpdata/en/33/dc2038aa3bcd23e10000009b38f8cf/frameset.htm
    Line item dimension here
    http://help.sap.com/saphelp_nw04/helpdata/en/a7/d50f395fc8cb7fe10000000a11402f/content.htm
    Should these excellent help files not help you - please don;t hesitate in coming back with more specific questions

  • Line item dimensions and cardinality?

    hi all,
    how to identify nor use the cardinality relationship as well as the line item dimension?
    can anyone explain me about it. since i am trying to create an multi provider which enables to fetch data from 3 ods.
    regds
    Hari Chintu

    Hi,
    Below is some useful information on Line item dimension and high cardinality.
    These concepts hold good for Cube design only, coming to ODS, these dont help you. As ODS is nothin but a flat structure, we do not have the facility of Star schema. Reporting on ODS can lead to performance issues, it is better to load data from ODS into Cube and then have a multiprovider on them instead of having it on ODS.
    Hope this helps.
    Regards,
    Kalyan
    Use
    When compared to a fact table, dimensions ideally have a small cardinality.  However, there is an exception to this rule. For example, there are InfoCubes in which a characteristic document is used, in which case almost every entry in the fact table is assigned to a different document. This means that the dimension (or the associated dimension table) has almost as many entries as the fact table itself. We refer here to a degenerated dimension. In BW 2.0, this was also known as a line item dimension, in which case the characteristic responsible for the high cardinality was seen as a line item. Generally, relational and multi-dimensional database systems have problems to efficiently process such dimensions. You can use the indicators line item and high cardinality to execute the following optimizations:
           1.      Line item: This means the dimension contains precisely one characteristic. This means that the system does not create a dimension table. Instead, the SID table of the characteristic takes on the role of dimension table. Removing the dimension table has the following advantages:
    &#61601;        When loading transaction data, no IDs are generated for the entries in the dimension table.  This number range operation can compromise performance precisely in the case where a degenerated dimension is involved. 
    &#61601;        A table- having a very large cardinality- is removed from the star schema.  As a result, the SQL-based queries are simpler. In many cases, the database optimizer can choose better execution plans.
    Nevertheless, it also has a disadvantage: A dimension marked as a line item cannot subsequently include additional characteristics. This is only possible with normal dimensions.
           2.      High cardinality: This means that the dimension is to have a large number of instances (that is, a high cardinality). This information is used to carry out optimizations on a physical level in depending on the database platform. Different index types are used than is normally the case. A general rule is that a dimension has a high cardinality when the number of dimension entries is at least 20% of the fact table entries. If you are unsure, do not select a dimension having high cardinality.
    Note: In SAP BW 3.0, the term line item dimension from SAP BW 2.0 must a) have precisely one characteristic and b) this characteristic must have a high cardinality. Before, the term line item dimension was often only associated with a). Hence the inclusion of this property in the above.  Be aware that a line item dimension has a different meaning now than in SAP BW2.0.
    However, we recommend that you use ODS objects, where possible, instead of InfoCubes for line items. See Creating ODS Objects.
    Activities
    When creating dimensions in the InfoCube maintenance, flag the relevant dimension as a Line Item/ having High Cardinality.

  • Aggregates for master data & Line item Dimension

    Hi i have question
    1     Can we create Aggregate for Master Data?
    2     Can we create Aggregate with Navigational Attributes?
    3     Can we create Aggregate with Line Item Dimension?
    4     How many dimension we can add with how many characteristics in it if we create a new Aggregate

    1 Can we create Aggregate for Master Data? - <b>No</b>
    2 Can we create Aggregate with Navigational Attributes? - <b>No</b>
    3 Can we create Aggregate with Line Item Dimension? - <b>No</b>
    4 How many dimension we can add with how many characteristics in it if we create a new Aggregate - <b>You can create a maximum of 13 dimensions in the cube.You can add as many characteristics for an aggregate,adding many characteristics in the aggregate is as good as having the query fetch data from the Cube instead of the aggregates.</b>
    Aggregates are subsets infocubes derived from the main InfoCube to increase the query performance.You can create as many aggregates you want in an InfoCube.
    For each aggregate,internally dimensions are created based on the selected characteristics.
    Take a look at this link for detail information...
    http://help.sap.com/saphelp_nw04/helpdata/en/7d/eb683cc5e8ca68e10000000a114084/content.htm

  • InfoCube Design for Variable data - Use of Line Item Dimensions

    I have an infoprovider based on billing conditions which we have extended the extractor structure for 2LIS13_VDKON and we now have a requirement to add Customer fields such as Customer Purchase Order Number and Contract Number.  These fields are obviously highly variable.  I have added to them to the reporting DSO and now need advice on what is the best way to add these types of fields as reportable dimensions to the infocube so as to not impact performance?    I currently have 9 dimensions with multiple charachteristics and a time dimension.  Should I just create a line item dimension for Purchase Order?  Problem is I have 8 other line item dimensions to add which are customer specific reporting fields that we capture on the sales order and wish to report on.  I know there is a limit of 16 dimensions and I am also concerned about performance.
    Any advice is greatly appreciated
    Lee Lewis

    Hi,
    To make sure that the infocube you have created should not have any performance issue: Please do the following
    Go to RSRV > All elementary tests-> Database---> database information about infoprovider tables
    Upon clicking on database information about infoprovider tables, on the right hand side, in the parameter enter your infocube name and execute and see the log: ( log will automatically popping up once you are done with execution )
    There see the database infomation about infoprovider:
    This log wil make you to understand how well you have designed your infocube and make sure that each (f ) table corresponding to each dimension will not exceed 20 % of the infocube size.
    You create dimensions of infocubes  in a such a way ( whether line item or normal dimension ) so that any of the dimensional F table will not exceed 20 % of the infocube size.
    Actually this will give us the information of the size of the data of particular dimension and there by if any particular dimension is exceeding the 20 % of the infocube size, then you need to create line item dimension for the characteristics existing in that dimension .
    After creating again, test it and see whether any of the dimension table exceeding 20% infocube size .
    Repeat this process until you see all dim F tables less than 20 % of the info cube table size
    This will negate any performance issues arise in reporting
    Edited by: S Simran on Nov 6, 2009 10:11 AM

  • Line Item dimension

    Hi friends!
    The auditor suggest us "flag the line item option in the dimensions with high cardinality, ie: document number, material number"
    In my cubes  have 0customer in dimension C toghether with other other characteristics, and 0material in dimension M together to other characteristics..
    a) is the auditor suggest ok?
    b) do I need mark this dimension as 'line item' in my cubes if the dimension M or C has more than one char?
    c) do I need change the arquitecture in my cube and leave 0material alone in dimension M and in dim C only the char 0customer?
    Thanks in advance!

    Regarding High Cardinality :
    If the values in the table are distinct - where the uniqueness of the values is high - a Bitmap index is preferred since the unique values are high...
    As for Line item dimension - in a Line Item dimension - only one characteristic is allowed in a line item dimension and the SIDs will get stored directly in the Fact Table and the additional lookup of SIDs with the master data is avoided...
    a) is the auditor suggest ok?
    I would say that high cardinality is a better option as opposed to line item dimension . For Document Number - a Line item Dimension is preferred since Document number is typically used in reporting but not much on searches for the same ..
    Also this is with the information you have given - it could also be that there is some more information to it that Line Item Dimensions were suggested ...
    b) do I need mark this dimension as 'line item' in my cubes if the dimension M or C has more than one char?
    You can mark a dimension as Line Item only if there is one characteristic
    c) do I need change the arquitecture in my cube and leave 0material alone in dimension M and in dim C only the char 0customer?
    Keep document number in line item - run the report to analyze the sizes of fact versus dimensions and then rearrange the characteristics to get better ratios instead of making Material and Customer as Line item Dimensions...
    Also Material and Customer are usually viewed along with their Nav Attribtes - making them as Line Item will not give you much savings in terms of performance
    Edited by: Arun Varadarajan on Mar 25, 2010 1:13 AM

Maybe you are looking for