2
05.09.2012 Page 1 of 2 SAP Note 619826 - Deleting zero values from fact tables Note Language: English Version: 10 Validity: Valid Since 22.08.2005 Summary Symptom Using a separate batch job, you want to delete zero values from fact tables. Other terms Deleting zeros Reason and Prerequisites You are using BW 2.0B, BW 2.1C, BW 3.0B, BW 3.10, BW 3.5 or BI 7.00. Solution In Support Package 31 (BW 2.0B), Support Package 15 (BW 3.0B) and Support Package 09 (BW 3.1), SAP delivers a program for BW systems on an INFORMIX database, which can be used (in a separate job) to delete zero values from the fact tables of an InfoCube and the associated aggregates. A general implementation, which can be used regardless of the database, was included in Support Package 18 (BW 3.0B) and Support Package 12 (BW 3.1). Deleting zero values from the InfoCube is a question of design. The RSCDS_NULLELIM program is designed to enable any existing records with zero values to be deleted once for an InfoCube that is already filled. If you want to be able to delete zero values regularly, you must activate the corresponding indicator for the InfoCube. If you have to delete lots of records, you can use the PACKSIZE parameter to determine the number of records before a COMMIT occurs. You can therefore terminate and restart the program at any time until all records have been deleted. However, you then have to set the indicator for the zero deletion. The program is not designed for maximum performance because it is only used in a transitional phase and the previous reporting on the InfoCube ran without deleting zero values. The program is called RSCDS_NULLELIM and has five input parameters: o INFOCUBE The name of the InfoCube containing the zero values to be deleted. o PACKSIZE The number of data records read after which a database commit should occur (default value = 10000). o NO_BASIS If this indicator is set, zero values are only deleted in the

619826 - Deleting Zero Values From Fact Tables

Embed Size (px)

DESCRIPTION

619826 - Deleting Zero Values From Fact Tables - From both E & F Table

Citation preview

Page 1: 619826 - Deleting Zero Values From Fact Tables

05.09.2012 Page 1 of 2

SAP Note 619826 - Deleting zero values from fact tables

Note Language: English Version: 10 Validity: Valid Since 22.08.2005

Summary

Symptom

Using a separate batch job, you want to delete zero values from facttables.

Other termsDeleting zeros

Reason and PrerequisitesYou are using BW 2.0B, BW 2.1C, BW 3.0B, BW 3.10, BW 3.5 or BI 7.00.

SolutionIn Support Package 31 (BW 2.0B), Support Package 15 (BW 3.0B) and SupportPackage 09 (BW 3.1), SAP delivers a program for BW systems on an INFORMIXdatabase, which can be used (in a separate job) to delete zero values fromthe fact tables of an InfoCube and the associated aggregates. A generalimplementation, which can be used regardless of the database, was includedin Support Package 18 (BW 3.0B) and Support Package 12 (BW 3.1).

Deleting zero values from the InfoCube is a question of design. TheRSCDS_NULLELIM program is designed to enable any existing records with zerovalues to be deleted once for an InfoCube that is already filled. If youwant to be able to delete zero values regularly, you must activate thecorresponding indicator for the InfoCube.

If you have to delete lots of records, you can use the PACKSIZE parameterto determine the number of records before a COMMIT occurs. You cantherefore terminate and restart the program at any time until all recordshave been deleted. However, you then have to set the indicator for the zerodeletion.

The program is not designed for maximum performance because it is only usedin a transitional phase and the previous reporting on the InfoCube ranwithout deleting zero values.

The program is called RSCDS_NULLELIM and has five input parameters:

o INFOCUBE

The name of the InfoCube containing the zero values to be deleted.

o PACKSIZE

The number of data records read after which a database commitshould occur (default value = 10000).

o NO_BASIS

If this indicator is set, zero values are only deleted in the

Page 2: 619826 - Deleting Zero Values From Fact Tables

05.09.2012 Page 2 of 2

SAP Note 619826 - Deleting zero values from fact tables

aggregates. They are not deleted in the BasicCube.

o SHOW_REP

If this indicator is set, the report generated to delete zerovalues is displayed before it is executed.

o SIMULATE

If this indicator is set, no data is deleted. However, all data isread and a log is created.

The program generates a log in the application log with the prefix'MON:PROTOCOLL_ACTION-NULLELIM-'.

Unfortunately, the SEL specification is incorrect. The number of selectedrecords (SEL) is always the same as the number of deleted records (DEL).Due to a minor error, the program carries out an incorrect addition forSEL. The smaller the PACKETSIZE in comparison with DEL, the more SEL willexceed the value of DEL. This is a minor problem that is corrected in aSupport Package.

Header Data

Release Status: Released for CustomerReleased on: 23.11.2006 08:08:16Master Language: GermanPriority: Correction with high priorityCategory: Advance developmentPrimary Component: BW-SYS-DB BW Database Platforms

Valid Releases

Software Component Release FromRelease

ToRelease

andSubsequent

SAP_BW 30 30B 30B

SAP_BW 310 310 310

SAP_BW 70 700 700

Related Notes

Number Short Text

1470209 BW report RSCDS_NULLELIM on InfoCube without time dimension

1323057 Program RSCDS_NULLELIM does nothing to BW aggregates

1224631 Program RSCDS_NULLELIM and Float-Keyfigures (Type FLTP)