(DI-2002) BW Analysis Prerequisites

There are additional prerequisites for enabling BW analysis depending on the system type:

Central system prerequisites:

  • SAP_BASIS and SAP_BW components installed.

Satellite system prerequisites:

  • SAP BW release: 7.00 - 7.50
  • SAP_BASIS and SAP_BW components installed.
  • Turned on collection of standard OLAP statistics in the system. 
  • Turned on collection of DVD statistics in the system (recommendation is to collect statistics at least for two weeks before the first collectors are executed). See bellow section for more details.
  • In case you are using ORACLE DB as your system database, you need to make sure DB statistics are up to date on all tables required by collectors, otherwise they won't be executed.

User authorization

For proper initial setup, user needs to have an access to following transactions: SE16, RSRT, SLG1 which are not included in administrator authorization role /DVD/MON_ADMIN.

DVD extended query statistics setup

Turning on/off collection of statistics

After successful import of transport with DVD extended query statistics collection can be turned on/off by completing following steps:

StepDetails

Go to transaction /DVD/QS_CONF


Screen for setting up configuration is displayed.

Insights Extended Query statistics configuration screen

Click on 'ON' radio button for 'Query statistics enabled' to turn the collection of statistics on. User information collected can be turned on optionally (If this setting is turned on, information about which user executed query is captured).


Confirm the change of configuration by clicking on 'Save config' button (or using F8 key).
Confirmation dialog is displayed.

Change configuration confirmation dialog

Click on 'Yes' button to confirm change of configuration.


Same steps apply also for turning off the statistics. To turn the collection of statistics off, only difference is to click on 'OFF' radio button in step 4.

Additional collection options

Click on 'Select InfoProviders' button. A dialog window is displayed, where user can restrict for which InfoProviders statistics should be collected. If no InfoProviders are specified in the table (initial state), statistics will be collected for the whole system. You can always disable collecting of statistics for specific InfoProvider by deselecting 'Enabled' column or removing them from the list. It is important to note that once the InfoProvider selection is used, statistics will be collected only for those with "Enabled" flag one. For not specified InfoProviders in the list, statistics won't be collected.

Restrict query statistics collection


Click on "Exclude characteristics" button to display a select option for characteristics exclusion. In this window user can define which characteristic filter values shouldn't be saved when queries are executed. This option should be used only when it's necessary to reduce the amount of data saved in the statistics table (useful for huge hierarchy selections) as it reduces completeness of statistics.

Excluding characteristics from collection

Scheduling of statistics collection

It is possible to schedule enabling of statistics on regular basis if requested. For this purpose report '/DVD/QS_CONFIG_SCHEDUL' (transaction /DVD/QS_SCHED) is provided. You can create two standard report variants for this report. 

Scheduling of DVD extended query statistics collection

In the first variant, you specify the checkbox as checked while in the second variant this checkbox would be unchecked. You can then schedule the execution of this report with the first variant every morning through a standard SAP report scheduling functionality. This would cause the statistics collection to be turned on every morning. Then you can schedule the execution of this report with the second variant every midnight to turn the statistics collection off.

Validating collection of DVD extended query statistics

After the statistics are enabled in the system by using all steps specified in Turning on/off collection of statistics section, it is recommended to validate their functionality. To validate it, please follow these steps:

  1. Go to transaction RSRT and choose random Query with filtering options.
  2. Click on 'Execute + Debug' button to display query execution options.
  3. In the list of settings check the checkbox next to 'Do Not Use Cache' option.

Do not use cache query execution option

4. Click on Continue (or use Enter Key) to execute the query (in next screen that is query dependent fill at least one filter).

5. Go to transaction SE16.

6. Insert following table name '/DVD/QS_QINFO' and click on 'Table contents' button (F7).

DVD extended query statistics main table

7. Do not use any filters and click on 'Execute' button (F8).

8. In following screen with the table content you should see at least one row with the information about the query just executed through RSRT transaction.

Captured information about executed query

9. Go back to transaction SE16. Fill table name '/DVD/QS_QVAR' and click on 'Table contents' button (F7).

DVD extended query statistics filter table

10. Do not use any filters and click on 'Execute' button (F8).

11. In following screen with the table content you should see at least one row with the information about used filter in executed query (if you chose such query with filters and specified some).

Captured filtering information


If any information is captured after DVD statistics were enabled in the system and the query was executed, validation is done.