Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Applies to:
SAP BW 3.x & SAP BI Net Weaver 2004s. For more information, visit the Business Intelligence homepage.
Summary
This article demonstrates how to use SAP Report - ANALYZE_RSZ_TABLES to perform consistency checks on SAP BEX tables. This ABAP tool reviews and corrects the query definition / elements stored in BEx tables( RSZ*). It is explained with the help of an example and the relevant snapshots. Author : Shah Nawaz Shabuddin
Author Bio
Shah Nawaz Shabuddin is a senior BI Practitioner with a total of six years experience in the SAP BI space. He is currently working with Cognizant Technology Solutions within its India Delivery Center, Bangalore. He is heavily involved in collaborating with business partners to convert requirements to optimal technical solutions. He comes with rich experience in SAP BW/BI and has worked on various BW/BI implementation/Support projects. His expertise includes SAP BI and ABAP.
Table of Contents
Business Scenario .............................................................................................................................................. 3 Solution Description ............................................................................................................................................ 3 The Step by Step Approach to the Solution ....................................................................................................... 4 Reviewing and Correcting Problems in a Report................................................................................................ 6 Related Content .................................................................................................................................................. 8 Disclaimer and Liability Notice ............................................................................................................................ 9
Business Scenario
In order to maintain the consistency of queries/query elements available to the end users and for their optimum runtime, it is required to analyze SAP BEX query database tables. As different part of queries are stored in different tables, it becomes essential to have underlying SAP BEX query database tables in sync. Precisely, all the below given SAP (BEX) tables consistency need to be maintained by BW administrators: RSRREPDIR Directory of all reports RSZCOMPDIR Directory of reporting components RSZELTDIR Directory of the reporting component elements RSZELTTXT Texts of reporting component elements RSZELTXREF Directory of query element references RSZOPRATXT Texts of the formula operators RSZCOMPIC Assignment reusable component to Info Cube RSZSELECT Selection properties of an element RSZCALC Definition of a formula element RSZGLOBV Global variables in reporting RSZELTPROP Element properties (settings) We can use ABAP ANALYZE_RSZ_TABLES during an upgrade of the SAP Net Weaver BW system, during clean-up of the system, or when removing duplicates of queries.
Solution Description
SAP Report ANALYZE_RSZ_TABLES is designed as a check-tool for detecting and solving different types of inconsistencies in the main query definition database tables. This program is recommended for BW system administrators. We will make use of SAP Given ABAP tool "ANALYZE_RSZ_TABLES" to detect and solve different types of inconsistencies in the main query definition database tables. Using ABAP ANALYZE_RSZ_TABLES, which is available in SAP Net Weaver BW 7.0, we can analyze our BEx tables and make the following corrections to all of those tables: Corrections with inconsistent definition Corrections with technical names Corrections due to table checks Corrections due to missing elements
The step by step approach of using the report, reviewing the results and taking corrective actions is described below.
2. In the next screen (shown below), select the tables you want to analyze under the "Select DB Table" heading. As part of this example, we are going to analyze all the tables. Then, under "Special Checks/Information", check the boxes for translation and property errors for analysis. Select the Object Version Chose Active or Delivered. Active means actively available within the SAP NetWeaver BW system; Delivered means standard business content delivered by SAP. Chose the last option " All results in a list " under Background Mode, if you wish to see all the results in a single page.
As part of our illustration, we are not going to select this option. Now, Click on Execute (F8) button or click on the highlighted.
3. The resultant screen is shown below. It contains the summary information on which the report is executed which includes the General Information, System Settings, and the number of different types of query element objects.
4. The below snap provides detailed information on the output of an analysis of the selected tables. tables with a red traffic light need to be analyzed and corrected, tables with a yellow traffic light are non-critical and can be ignored, and tables with green traffic lights dont have any issues. An Error alert indicator means the error cannot be corrected from within this section, but has to be corrected manually. Anything with an I indicator is for information purposes only.
6. A detailed view opens up that provides information regarding problems that exist within the table. To correct the issue, click the trash can icon next to Delete Inconsistent Records from RSRREPDIR....(Refer the above snap)
7. Once the confirmation dialogue box appears (shown in below snap), click the Yes button to continue.
8. Upon successful completion of deleting the inconsistent records, a green check mark appears in the detail screen to indicate that the action was successful (Shown in below snap).
Now, if you exit / rerun the report once again, table RSRREPDIR no longer shows a red traffic light icon (Figure 11).
Note: We should try toward removing as many errors as possible when reviewing these analyzed tables.
We can use ABAP ANALYZE_RSZ_TABLES during an upgrade of the SAP NetWeaver BW system, during clean-up of the system, or when removing duplicates of queries.
Related Content
Note 792779 - Report ANALYZE_RSZ_TABLES www.sdn.sap.com/irj/sdn/howtoguides