SlideShare uma empresa Scribd logo
1 de 10
Baixar para ler offline
Creating Line Item Dimension and
 High Cardinality Dimension




Applies to:
SAP BI 7.0

Summary
The project entails with the Query run time improvement on some of the cubes. We found that some of the
cubes in our system were taking a lot of time for query execution. This document will clarify how we decided
which all dimensions need to be changed to Line Items and which to High Cardinality and how we
implemented it in already live environment.


Author:      Navesh Amol
Company: AtoS
Created on: 26 September 2011



Author Bio
             Navesh Amol is currently working in AtoS. He is working on SAP BI 7.0 from last 4.5 years and
             is mainly involved in Development, Support and Enhancement work.




SAP COMMUNITY NETWORK                 SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                     1
Creating Line Item Dimension and High Cardinality Dimension




Table of Contents
1. How to decide which dimension needs to be made Line Item Dimension (LID)/High Cardinality? ................ 3
   Case I .............................................................................................................................................................. 4
   Case II ............................................................................................................................................................. 5
   Case III ............................................................................................................................................................ 5
2. Creation of LID/High Cardinality Dimension ................................................................................................... 5
   Case I .............................................................................................................................................................. 5
   Case II and Case III ........................................................................................................................................ 6
3. Advantages of creating LIDs/High Cardinality Dimension .............................................................................. 8
Related Content .................................................................................................................................................. 9
Disclaimer and Liability Notice .......................................................................................................................... 10




SAP COMMUNITY NETWORK                                      SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                                          2
Creating Line Item Dimension and High Cardinality Dimension




1. How to decide which dimension needs to be made Line Item Dimension (LID)/High
Cardinality?
There are different scenarios on the basis of which we can decide which dimension should be LID and which
should be high Cardinality.
To find the list of cubes and dimensions which could be the candidates for LID we used SAP standard code
“SAP_INFOCUBE_DESIGNS”. On executing this code we got the list of all the cubes and their
corresponding dimensions with the ratio of memory occupied by dimensions to the memory occupied by Fact
Table.




SAP COMMUNITY NETWORK                SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                    3
Creating Line Item Dimension and High Cardinality Dimension



After executing this code we will get output as follows:-




In the above screen the first column shows the cube name, the second column shows the dimensions
(Tables starting with /BI0/D*), E Fact Table (/BI0/E*) and F Fact table (/BI0/F*) and the last column shows
the ratio of table to the Fact Table.
We took the download of this output to Excel sheet and filtered the whole result on the condition where
Dimension table to Fact Table ratio is more than 20 %( as per the recommendation of SAP).
We found following 3 different cases in our project which is discussed in detail as follows.

Case I
For Cube ZSDCACC02 we had one dimension /BIC/DZSDCACC025 which has 2703233 entries and size
corresponds to 100% of the Info Cube. Hence we decided to convert this to Line Item Dimension or High
Cardinality dimension. However this dimension had multiple characteristics




SAP COMMUNITY NETWORK                   SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                       4
Creating Line Item Dimension and High Cardinality Dimension


And the cube already had 16 dimensions (including the 3 compulsory dimensions) hence we had to mark it
as High Cardinality Dimension rather than making it a LID.

Case II
In the info cube ZSDCBIL09 we had one dimension /BIC/DZSDCBIL09B contains almost 57% of info cube
data (around 1906470) which is much more than 20% hence we selected it for LID as this dimension had
only 2 characteristics




And the total number of dimensions in the cube was less than 16 so we decided to split this dimension in two
different LIDs as both of the characteristics contained a significant number of data as shown below :-
                Table /BI0/SREF_DOC_NO contains 6491188 records.
                Table /BI0/SREFER_DOC contains 3087838 records.

Case III
In the info cube ZPPC0026 we had a dimension /BIC/DZPPC00262 which contains around 66% of the info
cube data(404725) which is much more than 20% hence we opted for LID in this case as it has only one
characteristic as follows :-




2. Creation of LID/High Cardinality Dimension
As per the cases given above we have different procedures to make a dimension as LID or High Cardinality
Dimension. Also we need to keep few points in mind before doing this activity successfully. We will discuss
the above cases separately as follows:-

Case I
We can make a dimension High Cardinality dimension directly in the live environment that is in the
production system with cube already having data in it. The point which should be kept in mind while doing
this is that there should not be any data load during this time period. However it’s always a good practice to
do the changes in the development system and transport it to the production environment after doing the
complete testing in the QA. Steps for doing this activity are as follows:-
Step 1:- Change the dimension /BIC/DZSDCACC025 to High Cardinality dimension as follows in the
development system.




Step 2:- Save and activate the cube and its underlying transformations and transport it to the production.




SAP COMMUNITY NETWORK                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                      5
Creating Line Item Dimension and High Cardinality Dimension


Case II and Case III
We can’t create a line item dimension with data in the cube ZSDCBIL09. Hence the only way to create a line
item dimension in these cases is as follows (as we need to split the existing dimension in 2 dimensions and
make both of them as Line Item Dimension in case II ). However we need not to split the dimension in the
Case III so we can skip the step of splitting dimensions for Case III.
Step 1:- Create a copy cube similar to the existing cube by selecting Copy option from the context menu of
the original cube and provide a name for that.




Step 2:- Create a new dimension similar to ZSDCBIL09B in the backup cube by choosing the Create
Dimension option from the Context menu of Dimensions in the cube.




SAP COMMUNITY NETWORK                 SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                     6
Creating Line Item Dimension and High Cardinality Dimension



Step 3:- Move characteristic REFER_DOC to the new dimension.




Step 4:- Mark the new dimension as well as the old dimension as the Line Item Dimension by choosing the
Properties option of the Context menu of the dimension as follows :-




And then check the LID check box as follows:-




Step 5:- Create a transformation and DTP from old cube to new cube.
Step 6:- Save and activate the cube and its underlying transformations.
Step 7:- Transport the new cube and transformations to the production system.
Step 8:- Transfer all data from old cube to new cube in production system.
Step 9:- Validate the data content between old and new cube.
Step 10:- Delete data from the old cube.
Step 11:- Repeat steps 2 to 4 in old empty cube to make the LID.
Step 12:- Save and activate the cube and its underlying transformations in production system.
Step 13:- Create a transformation and DTP from new cube to old cube.
Step 14:- Transfer the data back to the old cube.
Step 15:- Delete the new cube
Step 16:- If there is delta loads then reinitialize the delta. In our case it was full load hence we did not need to
follow this step.




SAP COMMUNITY NETWORK                    SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                        7
Creating Line Item Dimension and High Cardinality Dimension


3. Advantages of creating LIDs/High Cardinality Dimension
      For Line Item Dimension/High Cardinality dimension no DIM ids are created due to which the join of
       tables decreases and thus query execution timing improves.
      Similarly as there is no time taken for creation of DIM table for these dimensions data load timings
       also improves.




SAP COMMUNITY NETWORK                 SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                     8
Creating Line Item Dimension and High Cardinality Dimension




Related Content
SAP Help for Line Item Dimension and High Cardinality
SAP Help for Info cube Performance
SAP SDN




SAP COMMUNITY NETWORK                SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                    9
Creating Line Item Dimension and High Cardinality Dimension




Disclaimer and Liability Notice
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not
supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document,
and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or
code sample, including any liability resulting from incompatibility between the content within this document and the materials and
services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this
document.




SAP COMMUNITY NETWORK                            SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                                10

Mais conteúdo relacionado

Mais procurados

BW Adjusting settings and monitoring data loads
BW Adjusting settings and monitoring data loadsBW Adjusting settings and monitoring data loads
BW Adjusting settings and monitoring data loadsLuc Vanrobays
 
SAP BW - Data store objects
SAP BW - Data store objectsSAP BW - Data store objects
SAP BW - Data store objectsYasmin Ashraf
 
Customer exit variables in sap
Customer exit variables in sapCustomer exit variables in sap
Customer exit variables in sapsaborhade
 
How to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selectionHow to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selectionValko Arbalov
 
Bw writing routines in update rules
Bw writing routines in update rulesBw writing routines in update rules
Bw writing routines in update rulesknreddyy
 
Lo extraction part 7 enhancements
Lo extraction   part 7 enhancementsLo extraction   part 7 enhancements
Lo extraction part 7 enhancementsJNTU University
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorialraonivaz
 
Chapter 02 sap script forms
Chapter 02 sap script formsChapter 02 sap script forms
Chapter 02 sap script formsKranthi Kumar
 
Migrate Custom data/object in SAP S/4 HANA
Migrate Custom data/object in SAP S/4 HANA Migrate Custom data/object in SAP S/4 HANA
Migrate Custom data/object in SAP S/4 HANA Ashish Saxena
 
Bdc program to upload material master data mm01 code gallery - community wiki
Bdc program to upload material master data mm01   code gallery - community wikiBdc program to upload material master data mm01   code gallery - community wiki
Bdc program to upload material master data mm01 code gallery - community wikiLokesh Modem
 
How to create generic delta
How to create generic deltaHow to create generic delta
How to create generic deltaJacques Kalees
 
Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6bluechxi
 
Analysis process designer (apd) part 2
Analysis process designer (apd) part   2Analysis process designer (apd) part   2
Analysis process designer (apd) part 2dejavee
 
BADI IMPLEMENTATION.pdf
BADI IMPLEMENTATION.pdfBADI IMPLEMENTATION.pdf
BADI IMPLEMENTATION.pdfssuser08365f
 
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+Ashish Saxena
 

Mais procurados (20)

SAP BI/BW
SAP BI/BWSAP BI/BW
SAP BI/BW
 
BW Adjusting settings and monitoring data loads
BW Adjusting settings and monitoring data loadsBW Adjusting settings and monitoring data loads
BW Adjusting settings and monitoring data loads
 
Sap bw4 hana
Sap bw4 hanaSap bw4 hana
Sap bw4 hana
 
SAP BW - Data store objects
SAP BW - Data store objectsSAP BW - Data store objects
SAP BW - Data store objects
 
Customer exit variables in sap
Customer exit variables in sapCustomer exit variables in sap
Customer exit variables in sap
 
How to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selectionHow to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selection
 
Bw writing routines in update rules
Bw writing routines in update rulesBw writing routines in update rules
Bw writing routines in update rules
 
SAP workflow events
SAP workflow eventsSAP workflow events
SAP workflow events
 
Lo extraction part 7 enhancements
Lo extraction   part 7 enhancementsLo extraction   part 7 enhancements
Lo extraction part 7 enhancements
 
LSA++ english version
LSA++ english versionLSA++ english version
LSA++ english version
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorial
 
Chapter 02 sap script forms
Chapter 02 sap script formsChapter 02 sap script forms
Chapter 02 sap script forms
 
Migrate Custom data/object in SAP S/4 HANA
Migrate Custom data/object in SAP S/4 HANA Migrate Custom data/object in SAP S/4 HANA
Migrate Custom data/object in SAP S/4 HANA
 
Bdc program to upload material master data mm01 code gallery - community wiki
Bdc program to upload material master data mm01   code gallery - community wikiBdc program to upload material master data mm01   code gallery - community wiki
Bdc program to upload material master data mm01 code gallery - community wiki
 
How to create generic delta
How to create generic deltaHow to create generic delta
How to create generic delta
 
SAP BW Introduction.
SAP BW Introduction.SAP BW Introduction.
SAP BW Introduction.
 
Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6
 
Analysis process designer (apd) part 2
Analysis process designer (apd) part   2Analysis process designer (apd) part   2
Analysis process designer (apd) part 2
 
BADI IMPLEMENTATION.pdf
BADI IMPLEMENTATION.pdfBADI IMPLEMENTATION.pdf
BADI IMPLEMENTATION.pdf
 
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
 

Destaque

Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bishabari76
 
Currency conversion in bi 7.0
Currency conversion in bi 7.0Currency conversion in bi 7.0
Currency conversion in bi 7.0gireesho
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by stepPhani Kumar
 
Dso job log and activation parameters
Dso job log and activation parametersDso job log and activation parameters
Dso job log and activation parameterssakthirobotic
 
Errors in process chains
Errors in process chainsErrors in process chains
Errors in process chainsSiva Kollipara
 
Extractions and performance monitoring
Extractions and performance monitoringExtractions and performance monitoring
Extractions and performance monitoringJNTU University
 
Lo extraction part 6 implementation methodology
Lo extraction   part 6 implementation methodologyLo extraction   part 6 implementation methodology
Lo extraction part 6 implementation methodologyJNTU University
 
Analysis process designer (apd) part 1
Analysis process designer (apd) part   1Analysis process designer (apd) part   1
Analysis process designer (apd) part 1dejavee
 
Lo extraction – part 5 sales and distribution (sd) datasource overview
Lo extraction – part 5  sales and distribution (sd) datasource overviewLo extraction – part 5  sales and distribution (sd) datasource overview
Lo extraction – part 5 sales and distribution (sd) datasource overviewJNTU University
 
Management 2.0 Hackathon
Management 2.0 HackathonManagement 2.0 Hackathon
Management 2.0 HackathonCraig Thomler
 
Lo extraction part 1 sd overview
Lo extraction   part 1 sd overviewLo extraction   part 1 sd overview
Lo extraction part 1 sd overviewJNTU University
 

Destaque (15)

Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bi
 
Currency conversion in bi 7.0
Currency conversion in bi 7.0Currency conversion in bi 7.0
Currency conversion in bi 7.0
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by step
 
Dso job log and activation parameters
Dso job log and activation parametersDso job log and activation parameters
Dso job log and activation parameters
 
Errors in process chains
Errors in process chainsErrors in process chains
Errors in process chains
 
Extractions and performance monitoring
Extractions and performance monitoringExtractions and performance monitoring
Extractions and performance monitoring
 
Extractors sapr3
Extractors sapr3Extractors sapr3
Extractors sapr3
 
Field symbols
Field symbolsField symbols
Field symbols
 
Lo extraction part 6 implementation methodology
Lo extraction   part 6 implementation methodologyLo extraction   part 6 implementation methodology
Lo extraction part 6 implementation methodology
 
Extractioncockpit
Extractioncockpit Extractioncockpit
Extractioncockpit
 
Analysis process designer (apd) part 1
Analysis process designer (apd) part   1Analysis process designer (apd) part   1
Analysis process designer (apd) part 1
 
Lo extraction – part 5 sales and distribution (sd) datasource overview
Lo extraction – part 5  sales and distribution (sd) datasource overviewLo extraction – part 5  sales and distribution (sd) datasource overview
Lo extraction – part 5 sales and distribution (sd) datasource overview
 
Management 2.0 Hackathon
Management 2.0 HackathonManagement 2.0 Hackathon
Management 2.0 Hackathon
 
Usgage of ABAP in BI
Usgage of ABAP in BIUsgage of ABAP in BI
Usgage of ABAP in BI
 
Lo extraction part 1 sd overview
Lo extraction   part 1 sd overviewLo extraction   part 1 sd overview
Lo extraction part 1 sd overview
 

Semelhante a Line item dimension and high cardinality dimension

Reporting data in alternate unit of measure in bi 7.0
Reporting data in alternate unit of measure in bi 7.0Reporting data in alternate unit of measure in bi 7.0
Reporting data in alternate unit of measure in bi 7.0Ashwin Kumar
 
Info cube modeling_dimension_design_erada_bw_infoalert
Info cube modeling_dimension_design_erada_bw_infoalertInfo cube modeling_dimension_design_erada_bw_infoalert
Info cube modeling_dimension_design_erada_bw_infoalertPhani Kumar
 
Data extraction and retraction in bpc bi
Data extraction and retraction in bpc biData extraction and retraction in bpc bi
Data extraction and retraction in bpc bivikram2355
 
Data extraction and retraction bpc bi
Data extraction and retraction bpc  biData extraction and retraction bpc  bi
Data extraction and retraction bpc bisakthirobotic
 
Multi dimensional modeling
Multi dimensional modelingMulti dimensional modeling
Multi dimensional modelingnoviari sugianto
 
Gunavathi_Resume
Gunavathi_ResumeGunavathi_Resume
Gunavathi_Resumeguna vathi
 
Step by step on changing ecc source systems without affecting data modeling o...
Step by step on changing ecc source systems without affecting data modeling o...Step by step on changing ecc source systems without affecting data modeling o...
Step by step on changing ecc source systems without affecting data modeling o...Andre Bothma
 
How To Collect Budget Data Across20 30 Dims
How To Collect Budget Data Across20 30 DimsHow To Collect Budget Data Across20 30 Dims
How To Collect Budget Data Across20 30 DimsCurtis_Neumann
 
The convergence of reporting and interactive BI on Hadoop
The convergence of reporting and interactive BI on HadoopThe convergence of reporting and interactive BI on Hadoop
The convergence of reporting and interactive BI on HadoopDataWorks Summit
 
Imran Shaik BIBW
Imran Shaik BIBWImran Shaik BIBW
Imran Shaik BIBWImran Shaik
 
Democratization of NOSQL Document-Database over Relational Database Comparati...
Democratization of NOSQL Document-Database over Relational Database Comparati...Democratization of NOSQL Document-Database over Relational Database Comparati...
Democratization of NOSQL Document-Database over Relational Database Comparati...IRJET Journal
 
IRJET- Finding Optimal Skyline Product Combinations Under Price Promotion
IRJET- Finding Optimal Skyline Product Combinations Under Price PromotionIRJET- Finding Optimal Skyline Product Combinations Under Price Promotion
IRJET- Finding Optimal Skyline Product Combinations Under Price PromotionIRJET Journal
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and EngineeringVijayananda Mohire
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and EngineeringVijayananda Mohire
 
How to extend an outbound i doc
How to extend an outbound i docHow to extend an outbound i doc
How to extend an outbound i docrupesh chouhan
 
SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...
SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...
SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...IBM India Smarter Computing
 
SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...
SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...
SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...IBM India Smarter Computing
 

Semelhante a Line item dimension and high cardinality dimension (20)

Cube remodelling
Cube remodellingCube remodelling
Cube remodelling
 
Apd and bpc
Apd and bpcApd and bpc
Apd and bpc
 
Db2 cloud provisioning
Db2 cloud provisioningDb2 cloud provisioning
Db2 cloud provisioning
 
Reporting data in alternate unit of measure in bi 7.0
Reporting data in alternate unit of measure in bi 7.0Reporting data in alternate unit of measure in bi 7.0
Reporting data in alternate unit of measure in bi 7.0
 
Info cube modeling_dimension_design_erada_bw_infoalert
Info cube modeling_dimension_design_erada_bw_infoalertInfo cube modeling_dimension_design_erada_bw_infoalert
Info cube modeling_dimension_design_erada_bw_infoalert
 
Data extraction and retraction in bpc bi
Data extraction and retraction in bpc biData extraction and retraction in bpc bi
Data extraction and retraction in bpc bi
 
Data extraction and retraction bpc bi
Data extraction and retraction bpc  biData extraction and retraction bpc  bi
Data extraction and retraction bpc bi
 
Multi dimensional modeling
Multi dimensional modelingMulti dimensional modeling
Multi dimensional modeling
 
Gunavathi_Resume
Gunavathi_ResumeGunavathi_Resume
Gunavathi_Resume
 
Step by step on changing ecc source systems without affecting data modeling o...
Step by step on changing ecc source systems without affecting data modeling o...Step by step on changing ecc source systems without affecting data modeling o...
Step by step on changing ecc source systems without affecting data modeling o...
 
How To Collect Budget Data Across20 30 Dims
How To Collect Budget Data Across20 30 DimsHow To Collect Budget Data Across20 30 Dims
How To Collect Budget Data Across20 30 Dims
 
The convergence of reporting and interactive BI on Hadoop
The convergence of reporting and interactive BI on HadoopThe convergence of reporting and interactive BI on Hadoop
The convergence of reporting and interactive BI on Hadoop
 
Imran Shaik BIBW
Imran Shaik BIBWImran Shaik BIBW
Imran Shaik BIBW
 
Democratization of NOSQL Document-Database over Relational Database Comparati...
Democratization of NOSQL Document-Database over Relational Database Comparati...Democratization of NOSQL Document-Database over Relational Database Comparati...
Democratization of NOSQL Document-Database over Relational Database Comparati...
 
IRJET- Finding Optimal Skyline Product Combinations Under Price Promotion
IRJET- Finding Optimal Skyline Product Combinations Under Price PromotionIRJET- Finding Optimal Skyline Product Combinations Under Price Promotion
IRJET- Finding Optimal Skyline Product Combinations Under Price Promotion
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and Engineering
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and Engineering
 
How to extend an outbound i doc
How to extend an outbound i docHow to extend an outbound i doc
How to extend an outbound i doc
 
SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...
SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...
SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...
 
SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...
SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...
SAP and IBM Demonstrate Capability of Handling High Billing Volume in a Telec...
 

Último

Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 

Último (20)

Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 

Line item dimension and high cardinality dimension

  • 1. Creating Line Item Dimension and High Cardinality Dimension Applies to: SAP BI 7.0 Summary The project entails with the Query run time improvement on some of the cubes. We found that some of the cubes in our system were taking a lot of time for query execution. This document will clarify how we decided which all dimensions need to be changed to Line Items and which to High Cardinality and how we implemented it in already live environment. Author: Navesh Amol Company: AtoS Created on: 26 September 2011 Author Bio Navesh Amol is currently working in AtoS. He is working on SAP BI 7.0 from last 4.5 years and is mainly involved in Development, Support and Enhancement work. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 1
  • 2. Creating Line Item Dimension and High Cardinality Dimension Table of Contents 1. How to decide which dimension needs to be made Line Item Dimension (LID)/High Cardinality? ................ 3 Case I .............................................................................................................................................................. 4 Case II ............................................................................................................................................................. 5 Case III ............................................................................................................................................................ 5 2. Creation of LID/High Cardinality Dimension ................................................................................................... 5 Case I .............................................................................................................................................................. 5 Case II and Case III ........................................................................................................................................ 6 3. Advantages of creating LIDs/High Cardinality Dimension .............................................................................. 8 Related Content .................................................................................................................................................. 9 Disclaimer and Liability Notice .......................................................................................................................... 10 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 2
  • 3. Creating Line Item Dimension and High Cardinality Dimension 1. How to decide which dimension needs to be made Line Item Dimension (LID)/High Cardinality? There are different scenarios on the basis of which we can decide which dimension should be LID and which should be high Cardinality. To find the list of cubes and dimensions which could be the candidates for LID we used SAP standard code “SAP_INFOCUBE_DESIGNS”. On executing this code we got the list of all the cubes and their corresponding dimensions with the ratio of memory occupied by dimensions to the memory occupied by Fact Table. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 3
  • 4. Creating Line Item Dimension and High Cardinality Dimension After executing this code we will get output as follows:- In the above screen the first column shows the cube name, the second column shows the dimensions (Tables starting with /BI0/D*), E Fact Table (/BI0/E*) and F Fact table (/BI0/F*) and the last column shows the ratio of table to the Fact Table. We took the download of this output to Excel sheet and filtered the whole result on the condition where Dimension table to Fact Table ratio is more than 20 %( as per the recommendation of SAP). We found following 3 different cases in our project which is discussed in detail as follows. Case I For Cube ZSDCACC02 we had one dimension /BIC/DZSDCACC025 which has 2703233 entries and size corresponds to 100% of the Info Cube. Hence we decided to convert this to Line Item Dimension or High Cardinality dimension. However this dimension had multiple characteristics SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 4
  • 5. Creating Line Item Dimension and High Cardinality Dimension And the cube already had 16 dimensions (including the 3 compulsory dimensions) hence we had to mark it as High Cardinality Dimension rather than making it a LID. Case II In the info cube ZSDCBIL09 we had one dimension /BIC/DZSDCBIL09B contains almost 57% of info cube data (around 1906470) which is much more than 20% hence we selected it for LID as this dimension had only 2 characteristics And the total number of dimensions in the cube was less than 16 so we decided to split this dimension in two different LIDs as both of the characteristics contained a significant number of data as shown below :- Table /BI0/SREF_DOC_NO contains 6491188 records. Table /BI0/SREFER_DOC contains 3087838 records. Case III In the info cube ZPPC0026 we had a dimension /BIC/DZPPC00262 which contains around 66% of the info cube data(404725) which is much more than 20% hence we opted for LID in this case as it has only one characteristic as follows :- 2. Creation of LID/High Cardinality Dimension As per the cases given above we have different procedures to make a dimension as LID or High Cardinality Dimension. Also we need to keep few points in mind before doing this activity successfully. We will discuss the above cases separately as follows:- Case I We can make a dimension High Cardinality dimension directly in the live environment that is in the production system with cube already having data in it. The point which should be kept in mind while doing this is that there should not be any data load during this time period. However it’s always a good practice to do the changes in the development system and transport it to the production environment after doing the complete testing in the QA. Steps for doing this activity are as follows:- Step 1:- Change the dimension /BIC/DZSDCACC025 to High Cardinality dimension as follows in the development system. Step 2:- Save and activate the cube and its underlying transformations and transport it to the production. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 5
  • 6. Creating Line Item Dimension and High Cardinality Dimension Case II and Case III We can’t create a line item dimension with data in the cube ZSDCBIL09. Hence the only way to create a line item dimension in these cases is as follows (as we need to split the existing dimension in 2 dimensions and make both of them as Line Item Dimension in case II ). However we need not to split the dimension in the Case III so we can skip the step of splitting dimensions for Case III. Step 1:- Create a copy cube similar to the existing cube by selecting Copy option from the context menu of the original cube and provide a name for that. Step 2:- Create a new dimension similar to ZSDCBIL09B in the backup cube by choosing the Create Dimension option from the Context menu of Dimensions in the cube. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 6
  • 7. Creating Line Item Dimension and High Cardinality Dimension Step 3:- Move characteristic REFER_DOC to the new dimension. Step 4:- Mark the new dimension as well as the old dimension as the Line Item Dimension by choosing the Properties option of the Context menu of the dimension as follows :- And then check the LID check box as follows:- Step 5:- Create a transformation and DTP from old cube to new cube. Step 6:- Save and activate the cube and its underlying transformations. Step 7:- Transport the new cube and transformations to the production system. Step 8:- Transfer all data from old cube to new cube in production system. Step 9:- Validate the data content between old and new cube. Step 10:- Delete data from the old cube. Step 11:- Repeat steps 2 to 4 in old empty cube to make the LID. Step 12:- Save and activate the cube and its underlying transformations in production system. Step 13:- Create a transformation and DTP from new cube to old cube. Step 14:- Transfer the data back to the old cube. Step 15:- Delete the new cube Step 16:- If there is delta loads then reinitialize the delta. In our case it was full load hence we did not need to follow this step. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 7
  • 8. Creating Line Item Dimension and High Cardinality Dimension 3. Advantages of creating LIDs/High Cardinality Dimension  For Line Item Dimension/High Cardinality dimension no DIM ids are created due to which the join of tables decreases and thus query execution timing improves.  Similarly as there is no time taken for creation of DIM table for these dimensions data load timings also improves. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 8
  • 9. Creating Line Item Dimension and High Cardinality Dimension Related Content SAP Help for Line Item Dimension and High Cardinality SAP Help for Info cube Performance SAP SDN SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 9
  • 10. Creating Line Item Dimension and High Cardinality Dimension Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 10