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

Enhancing data sources with badi in SAP ABAP
Enhancing data sources with badi in SAP ABAPEnhancing data sources with badi in SAP ABAP
Enhancing data sources with badi in SAP ABAPAabid Khan
 
How to run v3 job
How to run v3 jobHow to run v3 job
How to run v3 jobAnil Kumar
 
Beginner's guide create a custom 'copy' planning function type
Beginner's guide  create a custom 'copy' planning function typeBeginner's guide  create a custom 'copy' planning function type
Beginner's guide create a custom 'copy' planning function typeNaveen Kumar Kotha
 
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
 
Lo extraction part 7 enhancements
Lo extraction   part 7 enhancementsLo extraction   part 7 enhancements
Lo extraction part 7 enhancementsJNTU University
 
Lo extraction part 3 extractor logic
Lo extraction   part 3 extractor logicLo extraction   part 3 extractor logic
Lo extraction part 3 extractor logicJNTU University
 
Fox formula in sap bi integrated planning
Fox formula in sap bi integrated planningFox formula in sap bi integrated planning
Fox formula in sap bi integrated planningVenkatesh Yellamelli
 
Capex opex
Capex opexCapex opex
Capex opexRaju_p1
 
Errors in process chains
Errors in process chainsErrors in process chains
Errors in process chainsSiva Kollipara
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by stepPhani Kumar
 
SAP BW - Data store objects
SAP BW - Data store objectsSAP BW - Data store objects
SAP BW - Data store objectsYasmin Ashraf
 
Queries in SAP: Introduction
Queries in SAP: IntroductionQueries in SAP: Introduction
Queries in SAP: IntroductionJonathan Eemans
 
Analysis process designer (apd) part 1
Analysis process designer (apd) part   1Analysis process designer (apd) part   1
Analysis process designer (apd) part 1dejavee
 
How to use abap cds for data provisioning in bw
How to use abap cds for data provisioning in bwHow to use abap cds for data provisioning in bw
How to use abap cds for data provisioning in bwLuc Vanrobays
 
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Hybrid provider based on dso using real time data acquisition in sap bw 7.30Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Hybrid provider based on dso using real time data acquisition in sap bw 7.30Sabyasachi Das
 
Currency conversion in bi 7.0
Currency conversion in bi 7.0Currency conversion in bi 7.0
Currency conversion in bi 7.0gireesho
 
Lo extraction part 1 sd overview
Lo extraction   part 1 sd overviewLo extraction   part 1 sd overview
Lo extraction part 1 sd overviewJNTU University
 

Mais procurados (20)

Enhancing data sources with badi in SAP ABAP
Enhancing data sources with badi in SAP ABAPEnhancing data sources with badi in SAP ABAP
Enhancing data sources with badi in SAP ABAP
 
How to run v3 job
How to run v3 jobHow to run v3 job
How to run v3 job
 
Beginner's guide create a custom 'copy' planning function type
Beginner's guide  create a custom 'copy' planning function typeBeginner's guide  create a custom 'copy' planning function type
Beginner's guide create a custom 'copy' planning function type
 
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 BW - Info cube
SAP BW - Info cubeSAP BW - Info cube
SAP BW - Info cube
 
Lo extraction part 7 enhancements
Lo extraction   part 7 enhancementsLo extraction   part 7 enhancements
Lo extraction part 7 enhancements
 
Lo extraction part 3 extractor logic
Lo extraction   part 3 extractor logicLo extraction   part 3 extractor logic
Lo extraction part 3 extractor logic
 
Fox formula in sap bi integrated planning
Fox formula in sap bi integrated planningFox formula in sap bi integrated planning
Fox formula in sap bi integrated planning
 
SAP BI/BW
SAP BI/BWSAP BI/BW
SAP BI/BW
 
Capex opex
Capex opexCapex opex
Capex opex
 
Errors in process chains
Errors in process chainsErrors in process chains
Errors in process chains
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by step
 
SAP BW - Data store objects
SAP BW - Data store objectsSAP BW - Data store objects
SAP BW - Data store objects
 
Queries in SAP: Introduction
Queries in SAP: IntroductionQueries in SAP: Introduction
Queries in SAP: Introduction
 
Analysis process designer (apd) part 1
Analysis process designer (apd) part   1Analysis process designer (apd) part   1
Analysis process designer (apd) part 1
 
How to use abap cds for data provisioning in bw
How to use abap cds for data provisioning in bwHow to use abap cds for data provisioning in bw
How to use abap cds for data provisioning in bw
 
Bapi step-by-step
Bapi step-by-stepBapi step-by-step
Bapi step-by-step
 
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Hybrid provider based on dso using real time data acquisition in sap bw 7.30Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
 
Currency conversion in bi 7.0
Currency conversion in bi 7.0Currency conversion in bi 7.0
Currency conversion in bi 7.0
 
Lo extraction part 1 sd overview
Lo extraction   part 1 sd overviewLo extraction   part 1 sd overview
Lo extraction part 1 sd overview
 

Destaque

Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bishabari76
 
Analysis process designer (apd) part 2
Analysis process designer (apd) part   2Analysis process designer (apd) part   2
Analysis process designer (apd) part 2dejavee
 
Bw writing routines in update rules
Bw writing routines in update rulesBw writing routines in update rules
Bw writing routines in update rulesknreddyy
 
Dso job log and activation parameters
Dso job log and activation parametersDso job log and activation parameters
Dso job log and activation parameterssakthirobotic
 
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
 
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
 

Destaque (11)

Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bi
 
Analysis process designer (apd) part 2
Analysis process designer (apd) part   2Analysis process designer (apd) part   2
Analysis process designer (apd) part 2
 
Bw writing routines in update rules
Bw writing routines in update rulesBw writing routines in update rules
Bw writing routines in update rules
 
Dso job log and activation parameters
Dso job log and activation parametersDso job log and activation parameters
Dso job log and activation parameters
 
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
 
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
 

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

THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 

Último (20)

THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 

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