Line item dimention
hi experts,
what is line item dimention. when it is used.what is the importence of it in creating cube
puli
Hi Sridhar,
It is very often possible in the data model to assign only one characteristic to a dimension.This will probably occur with specific reporting requirements or if for example you have the document line item in your model.
In these situations a dimension table means only overhead. BI allows you to define this kind of dimension as a line item dimension (Check box dimension definition). In doing this no dimension table will be generated for this dimension. As dimension table will serve the SID table of this characteristic. The key in the fact table will be the SID of the SID Table.
The fact table is created during InfoCube activation. The structure of the fact table in the BI data model is the same as it is in the normal Star schema. The keys of the dimension tables (i.e. the DIM-IDs) or the SIDs of line item dimensions are the foreign keys in the fact table.
If all dependent attributes of a characteristic are navigational or display attributes in the characteristics master data table or nodes of an external hierarchy, then remember you have the option to define this characteristic as a line item dimension.
USE OF LINE ITEM DIMENSION:
As the BI schema does not enforce that you put a parent attribute into the same dimension table as its child attribute, it is often worth thinking about locating parent attributes in their own dimension table (e.g. with 100,000 article and 2,000 article groups why not put the article group in its own dimension table if queries are
often reported at article group level?)
Hope this helps.
Thanks,Ramoji.
Similar Messages
-
hi,
plz clarify my doubt regarding line-item-dimention.
When line-item Dimensions are used without containing the line-item characteristic in the aggregate, which aggregate should be built?
thanks,
Neelima.Hi Nl .G
Aggregates can be built out of other aggregates to reduce the amount of data to be read and, hence, to improve the roll-up performance Aggregate hierarchy is determined automatically.
In order to use an aggregate in the first place, it must be defined activated and filled. When you activate it, the required tables are created in the database from the aggregate definition. Technically speaking, an aggregate is actually a separate BasicCube with its own fact table and dimension tables. Dimension tables that agree with the InfoCube are used together. Upon creation, every aggregate is given a six-digit number that starts with the figure1.
am sure using basic aggreate will solve this issue..Try and let me know..
any furthur info you can read from the given link..
[Aggregates|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cbd2d390-0201-0010-8eab-a8a9269a23c2]
Edited by: Prasanna Kumar Perla on Aug 4, 2008 1:52 PM -
Removing line item dimention from info cube
Hi All Experts,
Early watch report has suggested us to remove line item dimention and high cardinality from some cubes.
bur our cubes are having data , and when I tried to chekc this in our Dev server, Line Item dimention is disabled when it is filled with data.
but when I delete data from Cube, Line item diemention check box gets enabled.
so does it mean that we can not flag or remove line item dimention form cube if contains data,
and in mine case I have to delete all data from cube and then trensport it to PRD after deleting data from Cube and reload after transport.
Am I correct.
Please advice If I am wrong.Hi,
yes, you are correct. You have to delete the content of the cube before you can change a line item dim. to a 'normal' dimension. As a workaround you might use a copy of the cube, create and/or copy all update rules to the new cube, and create a new update rule from the old to the new cube. Transport everything to prod, then load you new cube from the old cube and do all the other load as before. Move/copy your queries from the old cube to the new cube as well.
regards
Siggi -
Line Item Dimention Vs Hig Cardinality
HI ALL
I have a problem with a cube and the below are the challenges...
1) can we use High cardinality / line item dimension if we already used one of these(High cardinality / line item dimension)?
2) while loading 4lakh records in to cube, i tried optimizing the cube by segregating characteristics into different dimension and i am successful in bringing down the percentage levels but all dimension levels are almost near to 30%. I Have only 1 key figure , will it cause any problem....
please let me know the concept....
Thanks
vijayHi Vijay,
High Cardinality Purpose: If data volume stored in a table is very huge, it's difficult to retrieve particular record or sets of records. For fast retrieval purpose system creates Indexes on various columns, by default SAP BW creates 'Bitmap' index on each dimension.
If dimension doesn't contains large number of distinct values 'Bit Map Indexes' are fine, but in case distinct values are high and the dimension table is at least 20% of the size of the fact table, SAP recommends checking the 'High Cardinality' check box to create 'B-Tree' indexes. When compared to Bitmap indexes B-Tree indexes data retrial is fast, this is recommended on Oracle Data base.
Line Item Dimension: By checking this the relational path of Fact Table -> Dim_ID -> SID will be reduced to Fact -> SID, so you must create a dimension which doesn't create more relations between included characteristics in dimension.
So you can check Line Item dimension to make the system aware of not creating the Dim_ID path and you can check the High Cardinality to make the system to generate B-Tree indexes.
Hope this helps.
Regards
-Sunil -
hi,
could u tell me about line item dim and give me some realtime scenario.
thanks
rashmi..Hi,
A typical scenario when you would use line Item dimension would be:
1. When the number of master data is very high - like for example - customer master running into millions.
2. When you add this to a dimension - the DIM table size increases dramatically and the cube performance is affected. Since a DIM ID is created for every combination of characteristics possible- where if you put customer master ( 1 mill records ) and the material master ( 50000 records ) you get 1 mill * 50,000 records in DIM Table.
3. TO avoid this you would separate the customer master into a separate dimension but even then if the size is high you can declare it as a line item dimension which would make the SID part of the fact table and hence improve cube performance. However you can have only one characteristic in a line item dimension.
4. If you are familiar with the star schema and the extended star schema - a cube with only line item dimension would become a star schema cube.
Point: If the master table is 20% of the fact table, then its recommended to use line item dimension. It will remove the dimension table and SId table will directly to fact table. During the blue print desing you need to ask the user the amount of data that char is going to be fethced(Approx) and the amount of data the cube is going to be.
You should decide at what level cube is going to hold the data (summerised or detail). Mostly cusotmer, vendor and material are created as line item dimension.
when you run stadard program "sap_infocube_designs" it will diplay all the sizes of dimention tables vs fact tables.
it will display in red those dimentions have exceeded the standard sizes. normally dim tables should have 10 - 20 % of the fact table. so based on this criteria you will change the char. as line item dimentions. ex:document numbers..etc... and you should check high cardinality for the line item dimention tables. if you check high cardinality b-tree indexes will be used instead of bitmap indexes.
Cardinality: With Line Item Dimension, you can assign ONE Dimension to only one characteristic.
With Cardinality, you can assign a Dimension containing Multiple Characteristics.
The scenario totally depends on what is the size of the Dimension Table w.r.t Fact Table. If it is greater than 10% of Fact Table then you need to consider about these.
Cardinality creates indexes on the Dimension table entries and there by you would see an improvement in performance.
Point: Some of the options on index type that get created are DB dependent - that is - not available in all the DBs that BW runs on.
With Oracle DB, setting the Cardinality option causes a b-tree index to be built instead of a bitmap index even if it is not a line item dim.
Setting it as a Line Item dim also causes a b-tree index to be built instead of a bitmap index, but also embeds SID directly in the fact table, eliminating the dimension table.
Added mention of embedding SID in fact table for Line Item dimension.
b-tree indices are more efficient than bitmap in case of high cardinality dimensions. -
Line Item Dimension has been reset / cancelled after upgrade to 7.0
Hello,
we upgraded to Netweaver BI 7.0 SP 17 and now I receive the message that the line item flag in the dimension has been reset / cancelled.
Can I set the line item flag again also in the new BI 7.0 Multicube?
Does anyone know where to set the flag ?
Thanks and regards,
IlonaHi llona,
U need to set the flag at the dimention screen of the Multiprovider..
When u enter the Dimention screen there u can find all the dimentions of the Multiprovider, right side to those dimension u can check the Line Item Dimention flag..
Make sure that u will assign only one char to the line item dimension.. then only u can treat a dimension as Line Item..
Thanks
Do these things in D and move it to the further landscapes..
thanks
Assign points if this helps -
The impact to use line item dimension
Hi,guys,
I have a question here:
When modeling a cube,we can use the line item dimesion to improve the reading performance in some cases.for example when we use SD doc. characteristic as a line item dimesion.
But what I wonder is there any limitation or impact when we use this function? What about if I click this function even for a casual characteristic like bussiness area or something? Is that useful to improve performance or impact vice versa?
Hope someone could help me.
ThanksHello Johnson,
The Infocube has extended star shema structure, i.e fact table contains Key figures & Dimentions, so characteristics is link with SID (Surrogate ID) to dimention table for faster access the data. These SID is further link with ur Master Data.
In this case dimension tables are eliminated and characteristics infoobjects SID is directly written in the fact table insted of dimension id so it will improve the performance.
SAP recommends that you use ODS objects, where possible, instead of InfoCubes for line items
If you are looking at better query performance and you have less than 13 chars. in ur datamodel, then you can place them individually in each dimension. make the dimensions as line item Dim .
In this case Line item IC is better than ODS.
but if you are having many data fields and you want to report on lowest granularity of data, then ODS is better option.
For Example :
Line item dimension for Order or Order item contains huge data, same as fact table. two huge table joins creates performance issues.
So SAP suggests, ODS reporting is good for Order level reporting then Line item dimensions.
Advantages of Line item :
Line item dimension is used to improve queryperformance.
Instead of joining fact table to dimension reduce joints
Disadvantages of line item :
A dimension marked as a line item cannot subsequently include additional characteristics.
Hope it clears ur doubt,
Regards,
Santosh -
Unable to capture field values in Master agreement Line Items
I am trying to get the field values from master agreement line items page. I have written the following code to get the line item details which is working fine to capture part number and quantity->
agreementBean = doc.getRootParentIBean();
lineItemCollection = agreementBean.getLineItems();
collectionsize = lineItemCollection.size();
for(i=0;i<collectionsize;i++){
collectionbean = lineItemCollection.get(i);
partNum = ""+collectionbean.getPartNumber() ;
Quantity = ""+collectionbean.getQuantity();
throw doc.createApplicationException(null,partNum + " , " + Quantity );
Now, my problem is that I am unable to capture the following field item values in the master agreement > line items page.
1. Price Unit
2. Unit Price
3. Product Category
4. Plant
Please help me to find the values.
Thankx in Advance.
Su
Edited by: subrataindra on Aug 10, 2010 11:11 AMThis will return the name of the plant.
.getExtensionField("PLANT").get().getDisplayName(session);
Check if this returns the product category
collectionbean.getExtensionField("ITEM_CAT").get().getDisplayName();
This will Return the Price
collectionbean.getExtensionField("PRICE").get().getPrice();
(return type :BigDecimal)
This will return the currency
collectionbean.getExtensionField("PRICE").get().getCurrency;
(Return type:String)
Similarly to retrieve other fields for which there are no standard functions, use .getExtensionField("Field ID")
Hope this helps
Regards,
Immanuel -
Vendor Line Item not cleared after F110
Hi Gurus,
We encountered an issue. The payment run was processed last April 18 and the vendor invoices were captured during the payment run and in the aging report, these invoices didn't appear as Open Item.
In between April 19 until August 19, these invoices are not part of the proposal list until the when they run payment on August 20. The value is zero and in the proposal list, there is a value in the Reason to Print Advice "A".
What is the reason for this?
Thank you.Hi Dianne Obviar,
For that invoice payment delete uncompleted payment
proposal.
U go through this path select F4 in run date field
There check it any un completed proposal is there and delete
that invoice line item will come for payable
Regards
Surya -
Open Item and Line Items are not matching
Hi Gurus,
I ran the EFT for vendor #1600109 for payment on 10/18/07. If I run the vendor open items report (ZFI019) for today, it shows the balance net of the EFT that is $203,466 ( $263869 - EFT Value is $60,403).
When I ran the vendor line items display (FBL1N), it shows all the invoices including the invoices paid on the Oct 18 EFT $263,869 which is (2034,66+60,403).
User wants the open item report should tally the line item display.
I will assign good points.
Thanks for your help
PrashanthHi Gurus,
EFT is working fine. But the Vendor Open item Report (Custom Report) and Vendor line item report (FBL1N) is different.
We are looking a balance for a vendor as on 15th where the balances are not matching between the reports but if i run FBL1N on 18th the balances are matching.
Clearning date is 18th
Posting Date is 15th.
Thanks
Prashanth -
Urgent - "Vendor balances carried forward and line items report."
Hello,
Is there any report which will give me the vendor balance carried forward and the line items during that period.
==============================================
Format-
eg: statement taken from 1.8.2006 to 30.9.2006 is required as
Bal b/f 25000 cr.
3.8.2006 Purchase Inv XXX 3000 cr.
5.9.2006 Payment Chq XX 26000 dr.
Bal c/f 2000 cr.
==============================================
Please advise on this.....
Regards,
Jthanks for the response, but i have already tried those transactions.
FK10N will give me the periodic bal statements and NOT line items display which will also have balance carried forward.
F.41 and F.43 again gives the periodic and line items...but i want the vendor balances to be in the format given above..
like say, account statement.
Please advise............
Regards,
J -
Report for bom wise target and actual cost as well as qty at line item
Dear Experts,
Is there any standard tcode for bom wise target and actual cost as well as qty at line item level for the month.
there is one tcode s_alr_87013127 but user has to double click in order to get line item details.
I want to see line item wise breakup/bom wise target and cost cost as well as qty.
Thanks in advance.
regards
RKDear experts,
I am still looking for a revert.
regards
RK -
Customer/Vendor A/C with line item details and with opening and closing Bal
Dear Sir / Madam,
Is it possible to have a customer and / or vendor Sub-Ledger account-
with line item details and with opening and closing balance detail
for a particular period.?
Regards
Chirag Shah
I thank for the given below thread which has solved the same problem for G/L Account
Re: Report to get the ledger printout with opening balancesHello Srinujalleda,
Thanks for your precious time.
I tried the referred T-Code
But this report is not showing Opening balance, closing balance detail.
It only gives transactions during the specified posting period and total of it.
Please guide me further in case if I need to give proper input at selection screen or elsewhere.
Client Requires Report in a fashion
Opening Balance as on Date
+ / - Transactions during the period
= Closing Balance as on date
As that of appearing for G/L Account by S_ALR_87012311
Thanks once again & Regards
Chirag Shah -
Vendor Line item with Opening and Closing Balances report regarding
Dear All,
I need a report for vendor line items with Opening and Closing balances.
Thanks in advance
SateeshHi
Try S_ALR_87012082 - Vendor Balances in Local Currency
Regards
Sanil Bhandari -
Is there any std BAPI or FM to get Vendor Line Items?
Is there any database Table which shows all Vendor line items (open and cleared)?
Note : table BSIK shows only open line items.
Thanks in advance. Points will be rewarded.hi Nikhil,
yes, open items are in BSIK, cleared items are in BSAK. There is no table where you can find both! Acc. to my knowledge, there is no FM or BAPI to give back the information you need. You have to select from the tables. In fact you can find all items in BSEG (together with debitor and G/L items), but selecting from that table can take ages...)
hope this helps
ec
Maybe you are looking for
-
i am trying to restore a backup og my iphone 4 from itunes on my macbook, it asks me for a password which i do not recall setting up, is there any way of getting this password.
-
Hi, Simple question for the ODI guru's.. for an interface that we use, there is a requirement to dynamically look-up value's in a lookup table and then use these value's from the lookup table to write to a target table. This instead of hard coding st
-
Loadjava doesn't have desired effect
I am deploying an application tp Oracle 8.1.7 database on a Windows 2000 PC . The app makes use of the OracleXMLQuery class which is provided in xsu12.jar (I am using java1.22). When deploying I get a resolve error stating that oracle/xml/sql/query/.
-
How can I convert the attribut lastLogon ...
Hi, How can I convert the attribut lastLogon on an Active Directory Microsoft? Attributes ar = ctx.getAttributes(dn, attrs); if (ar != null) { for (int i=0; i<attrs.length; i++) { Attribute attr = ar.get(attrs); if (attr != null) { String values="";
-
Unsatisfactory E71 auto white balance, blue/purple...
The E71's camera doesn't really shine with regard to automatic white balance. There's almost always some blue to purple tint. It seems to depend whether the "flash" was used and whether the camera is used in day or "night" mode. The other (non-auto)