Beruflich Dokumente
Kultur Dokumente
How-to Guide
SAP Solution Manager
7.0 EhP1
Configuration of
SAP Data Volume
Management
Cockpit (DVMC)
Version 1.3 – June 2010
Applicable Releases:
SAP Solution Manager 7.0 EhP1 SP22+
BI_CONT 7.04 SP 07
SAP Data Volume Management Cockpit – Configuration Guide
© Copyright 2006 SAP AG. All rights reserved. contained in this document serves informational
purposes only. National product specifications may
No part of this publication may be reproduced or vary.
transmitted in any form or for any purpose without
the express permission of SAP AG. The information These materials are subject to change without
contained herein may be changed without prior notice. These materials are provided by SAP AG and
notice. its affiliated companies ("SAP Group") for
informational purposes only, without representation
Some software products marketed by SAP AG and or warranty of any kind, and SAP Group shall not be
its distributors contain proprietary software liable for errors or omissions with respect to the
components of other software vendors. materials. The only warranties for SAP
Group products and services are those that are set
Microsoft, Windows, Outlook, and PowerPoint are forth in the express warranty statements
registered trademarks of Microsoft Corporation. accompanying such products and services, if any.
Nothing herein should be construed as constituting
IBM, DB2, DB2 Universal Database, OS/2, Parallel an additional warranty.
Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390,
OS/400, iSeries, pSeries, xSeries, zSeries, z/OS, These materials are provided “as is” without a
AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, warranty of any kind, either express or implied,
and Informix are trademarks or registered including but not limited to, the implied warranties of
trademarks of IBM Corporation in the United States merchantability, fitness for a particular purpose, or
and/or other countries. non-infringement.
SAP shall not be liable for damages of any kind
Oracle is a registered trademark of Oracle including without limitation direct, special, indirect, or
Corporation. consequential damages that may result from the use
of these materials.
UNIX, X/Open, OSF/1, and Motif are registered SAP does not warrant the accuracy or completeness
trademarks of the Open Group. of the information, text, graphics, links or other items
contained within these materials. SAP has no control
Citrix, ICA, Program Neighborhood, MetaFrame, over the information that you may access through the
WinFrame, VideoFrame, and MultiWin are use of hot links contained in these materials and
trademarks or registered trademarks of Citrix does not endorse your use of third party web pages
Systems, Inc. nor provide any warranty whatsoever relating to third
party web pages.
HTML, XML, XHTML and W3C are trademarks or SAP NetWeaver “How-to” Guides are intended to
®
registered trademarks of W3C , World Wide Web simplify the product implementation. While specific
Consortium, Massachusetts Institute of Technology. product features and procedures typically are
explained in a practical business context, it is not
Java is a registered trademark of Sun Microsystems, implied that those features and procedures are the
Inc. only approach in solving a specific business problem
using SAP NetWeaver. Should you wish to receive
JavaScript is a registered trademark of Sun additional information, clarification or support, please
Microsystems, Inc., used under license for refer to SAP Consulting.
technology invented and implemented by Netscape. Any software coding and/or code lines / strings
(“Code”) included in this documentation are only
MaxDB is a trademark of MySQL AB, Sweden. examples and are not intended to be used in a
productive system environment. The Code is only
SAP, R/3, mySAP, mySAP.com, xApps, xApp, and intended better explain and visualize the syntax and
other SAP products and services mentioned herein phrasing rules of certain coding. SAP does not
as well as their respective logos are trademarks or warrant the correctness and completeness of the
registered trademarks of SAP AG in Germany and in Code given herein, and SAP shall not be liable for
several other countries all over the world. All other errors or damages caused by the usage of the Code,
product and service names mentioned are the except if such damages were caused by SAP
trademarks of their respective companies. Data intentionally or grossly negligent.
2
SAP Data Volume Management Cockpit – Configuration Guide
Table of Contents
HOW-TO GUIDE 1
SAP SOLUTION MANAGER 7.0 EHP1 1
1 INTRODUCTION 4
1.1 ARCHITECTURE OVERVIEW 5
2 PREREQUISITES 7
2.1 TECHNICAL PREREQUISITES 7
2.2 ORGANIZATIONAL READINESS 7
3 PREPARATION STEPS 9
3.1 AUTHORIZATIONS 9
3.2 SMSY CONNECTIVITY 11
3.3 TECHNICAL READINESS CHECK - SAP NOTES (RTCCTOOL) 13
4 INSTALLATION & CONFIGURATION 16
4.1 SAP SOLUTION MANAGER SYSTEM 16
4.1.1 Diagnostics Setup - SMD Agent Setup 16
4.2 SAP NETWEAVER BUSINESS WAREHOUSE PREPARATION 19
4.3 EXTRACTOR FRAMEWORK SETUP 22
4.3.1 Technical Information on DVM Cockpit Extractors 24
4.3.2 Technical Restrictions for specific Extractors 26
4.4 BUSINESS PROCESS MONITORING SETUP SESSION 26
4.4.1 Entering Business Process Monitoring Setup Session 26
4.4.2 Saving Potential Analysis Configuration 28
4.4.3 Setting up Data Volume Management specific Alerting 31
4.5 MANAGED SYSTEM RELATED STEPS 37
4.5.1 Generation of TAANA – Virtual Fields (managed system) 37
5 INTEGRATION INTO WORK CENTER OF SOLUTION MANAGER 40
6 TROUBLESHOOTING 45
6.1 INCONSISTENT PPMS MODELING / NO DVM EXTRACTORS AVAIL. IN EFWK ADMIN UI 45
6.2 HOW TO SUPPORT PRODUCT EHP X FOR SAP ERP 6.0 46
6.2.1 Solution Manager version EhP1 SP5 46
6.2.2 Solution Manager version < EhP1 SP5 46
6.2.3 Additional information 47
6.3 MANUAL RESTARTING OF EXTRACTORS 48
6.3.1 Determine failed extractor 48
6.4 IDENTIFYING AUTHORIZATION ISSUES (ALERTING & SAVING POTENTIAL CALCULATION) 50
7 APPENDIX 1: EXAMPLE QUERIES AND DASHBOARDS 52
7.1 EXAMPLE QUERIES PER INFOPROVODER 53
7.1.1 DVM Age of Records & Potential (0SM_DVPOT) 53
7.1.2 DVM Archive Job Information (0SM_ARCHJ) 55
7.1.3 DVM Archiving History (0SM_ARCHH) 57
7.1.4 DVM Object Sizes (0SM_ SIZES) 58
8 APPENDIX 2: LINKING QUERIES TO QUERIES 61
3
SAP Data Volume Management Cockpit – Configuration Guide
1 Introduction
The following “how- to” guide covers all of the steps required to implement the Data Volume
Management Cockpit (DVMC) as part of the SAP Solution Manager 7.0 EhP (respectively SP18
onwards).
The intention of this SAP Solution Manager scenario is to provide all necessary information for
every phase related to Data Volume Managemen in one single platform. Please see the following
high level summary on possible use cases.
4
SAP Data Volume Management Cockpit – Configuration Guide
Work Center,
SAP Business
Scenarios Extractor Framework
Process Monitoring
BI Dashboards &
Queries
Database
Data ST-A/PI
Statistics TAANA
Collectors (DVM Content)
(DB02)
5
SAP Data Volume Management Cockpit – Configuration Guide
Introscope EM
Administration &
Native DB Control
DB Cockpit
Access
E2E WA
SSR
SSR
Extractor
BI E2E EA
SMD Agent
Application
SMD (Java) EFWK E2E CA
Web
Web DB Tables DVM
Service
Service Cockpit
Client
ST-A/PI ST-A/PI …
Extractor Wrapper
Data Enrichment
ST-PI
Extractor
The DVM specific extractors and related data collectors are mainly application independent and
more technically (i.e. SAP Basis) related. Most of the DVM Cockpit related functionality runs as of
SAP Basis 4.6C (in addition with specific SP levels, please refer to the chapter “prerequisites” for
more details).
6
SAP Data Volume Management Cockpit – Configuration Guide
2 Prerequisites
The following prerequisite SAP Notes ensure that all relevant steps are performed in order to be
able to configure the DVMC. Please be aware that those notes always focus on SAP Solution
Manager as well as the managed system. For both system roles the prerequisites need to be
checked and established.
Specific configuration steps are done in the context of a Solution in the SAP Solution Manager.
Therefore we highly recommend to follow our recommendations and best practices for a Solution
7
SAP Data Volume Management Cockpit – Configuration Guide
Concept and Design to understand the background of a solution and to determine a suitable
solution for the configuration of the Data Volume Management Cockpit.
8
SAP Data Volume Management Cockpit – Configuration Guide
3 Preparation Steps
3.1 Authorizations
The table (figure A) below shows the minimum selection of authorizations a user should have in the solution
manager in order to execute the entire setup scenario.
Especially in the area of Solution Manager Diagnostic (managed system setup) the screenshot below (figure
B) points to a lack of authorization
9
SAP Data Volume Management Cockpit – Configuration Guide
To setup the BW content the minimum requirements for authorizations are the following three profiles:
• S_RS_ADMWB_A
• S_RS_ADW_A
• S_RS_EXPL_A
10
SAP Data Volume Management Cockpit – Configuration Guide
11
SAP Data Volume Management Cockpit – Configuration Guide
We recommend using the SMSY wizards to connect new systems and to check the SMSY status
of all systems before you continue with the subsequent setup procedure.
12
SAP Data Volume Management Cockpit – Configuration Guide
To double check if all mandatory SAP Notes have been implemented correctly, proceed as follows:
13
SAP Data Volume Management Cockpit – Configuration Guide
Run program
RTCCTOOL in SE38.
14
SAP Data Volume Management Cockpit – Configuration Guide
Note: SAP OSS Note 1295328 cannot be implemented with transaction SNOTE. Manual activity is required.
15
SAP Data Volume Management Cockpit – Configuration Guide
16
SAP Data Volume Management Cockpit – Configuration Guide
The jobs that run as a result require a few moments. Hit the “Refresh” button on the next screen
until all of the indicators are green.
17
SAP Data Volume Management Cockpit – Configuration Guide
Expand the
selection[NOT
DIAGNOSTICS
RELEVANT] under
Managed Products,
and uncheck the “Not
Diagnostics Relevant”
check box
18
SAP Data Volume Management Cockpit – Configuration Guide
Hint: The most common issue with the managed system setup is data inconsistency with SMSY.
Please pay special attention to the SMSY product and product version assignment of a system and
check that the same product has been selected in the managed system setup as well. If there is a
data inconstency the DVM specific extractors might not show up in the list of available extractors
for the selected system in the next setup step.
19
SAP Data Volume Management Cockpit – Configuration Guide
Transaction Code
RSA1.
“BI Content” button on
left navigation pane.
Choose “Grouping / In
Dataflow Before &
Afterwards.” This is to
ensure that all related
sub-objects will be
considered by the
installation / activation.
20
SAP Data Volume Management Cockpit – Configuration Guide
Queries need to be
activated seperately in
order to get the actual
content
An alternative would be
to Install in
Background, in case
the installation process
becomes
temperamental, takes a
long time and
subsequently exceeds
the run time tolerance
for a Dialog Work
Process.
21
SAP Data Volume Management Cockpit – Configuration Guide
22
SAP Data Volume Management Cockpit – Configuration Guide
Click Activate.
23
SAP Data Volume Management Cockpit – Configuration Guide
The following table provides an overview about the DVM related extractors and their technical backgrounds
e.g. purpose, expected data growth and frequency.
24
SAP Data Volume Management Cockpit – Configuration Guide
25
SAP Data Volume Management Cockpit – Configuration Guide
NOTE: Only productive systems in productive solutions are supported by the BPM setup.
26
SAP Data Volume Management Cockpit – Configuration Guide
Call transaction
SOLMAN_WORKCENTERS
Business Process Operations
27
SAP Data Volume Management Cockpit – Configuration Guide
Select a Logical
Component
Under Application
Monitor, specify “DV
Cockpit: Table
Analysis” in the
Monitoring Object
Name space.
28
SAP Data Volume Management Cockpit – Configuration Guide
29
SAP Data Volume Management Cockpit – Configuration Guide
30
SAP Data Volume Management Cockpit – Configuration Guide
The final step in the BPM Setup process is Generation / Activation / Deactivation.
Depending on the current activation status, additional pushbuttons are displayed:
If monitoring is active, there is a pushbutton for deactivation and a pushbutton to execute the
generation, deactivation, and activation at once.
If monitoring is inactive, there is a pushbutton for activation.
If monitoring is already active, it is always necessary to deactivate and reactivate it to activate the latest
configuration.
31
SAP Data Volume Management Cockpit – Configuration Guide
The sections in red are the most crucial areas of a BW Query. Please find the explanations below.
1) Free Characteristics - Having all the object information in this section enables you to drilldown to
each of the selected characteristics.
2) Columns - The results will be calculated on the monthly object growth figures in MB
32
SAP Data Volume Management Cockpit – Configuration Guide
Click on
Choose
Select Business
Scenario and define a
scenario title.
Select Business
Processes and create
a process under your
own naming
convention.
Status needs to be set
to “Productive” and
Process availability to
“7x24”
33
SAP Data Volume Management Cockpit – Configuration Guide
Include “logical
component”.
Recommendation is
to run it locally on the
Solution Manager
which means to choose
the logical component
of the solution manager
itself.
For documentation
reasons set the
processing to “Dialog”
Display your settings
with the “Graphic”
button
Go back to transaction
DSWP, Business
Process Monitoring
and select DVM
Alerting infrastructure
34
SAP Data Volume Management Cockpit – Configuration Guide
Define a Monitoring
object name and
“Save”
35
SAP Data Volume Management Cockpit – Configuration Guide
KPI in BI Query (# of
values): This Alert
Keyfigure will count the
number of values
returned by the BI
Query that exceed
either the green or the
yellow threshold
specified.
Click on detailed
information and
double-click the
counter field to bring
you to the next pop-up
36
SAP Data Volume Management Cockpit – Configuration Guide
There are already some virtual fields shipped via the software layer SAP_BASIS, but for
application specific analysis many more fields are required, especially virtual fields for the
extraction of the „month‟ out of a date field that are not available per default.
The manual way of creating virtual fields is to use the transaction TAANA_VF in your development
system (see the application help within this transaction for more information). Using that approach
you need to define your own virtual fields, record them via a transport and import them in all
systems in the transport layer until you can finally use them in your production environment. Please
be aware that virtual fields need to be created in each of you managed systems BEFORE you can
use them in the saving potential configuration.
The semi-automatic approach is to use another expert tool which is mainly used in an SAP Active
Global Support Service delivery in the context of Data Volume Management. The expert tools can
be called via a launchpad, which is transaction code ST13. The DVM_SETUP tool provides you
with the possibility to generate SAP AGS approved and recommeded virtual fields on demand.
There exists a set of several hundred virtual fields. SAP Support uses these in their every day
service delivery. With the following steps you can simply generate these virtual fields as well, which
usually contain all fields to setup the saving potential scenario for well know top tables and
document types.
37
SAP Data Volume Management Cockpit – Configuration Guide
Click on “YES”
Go to “Virtual fields”
38
SAP Data Volume Management Cockpit – Configuration Guide
Background Information: The DVM Content, which contains the definition of virtual fields is not
application specific. Hence the DVM_SETUP tool always has hundreds of virtual field definitions
for ERP, CRM, BW, SRM, APO etc. systems. During the creation of the virtual fields for each of the
field definitions the corresponding database table is checked for existence as well as for technical
structure, to finally check if the creation of the specific virtual field is technically supported. Hence
39
SAP Data Volume Management Cockpit – Configuration Guide
the log output will always indicate a lot of fields not being created, e.g. a CRM virtual field is not
created on an ERP system etc.
40
SAP Data Volume Management Cockpit – Configuration Guide
41
SAP Data Volume Management Cockpit – Configuration Guide
Figure 4
Select Business
Process Operations
within the
“SOLMAN_WORKCEN
TER” transaction
42
SAP Data Volume Management Cockpit – Configuration Guide
43
SAP Data Volume Management Cockpit – Configuration Guide
Some dashboards
may need a longer time
to be loaded and
displayed. If the work
center refreshes too
frequently you never
get a display result. To
avoid permanent
refreshing of the work
center MyHome the
asynchronous refresh
settings should be
adjusted at least to
1800 – 3600 sec.
44
SAP Data Volume Management Cockpit – Configuration Guide
6 Troubleshooting
The following section is intended to provide some tips and tricks for common issues which happen during the
setup procedure or simply to provide some background on root cause analysis.
45
SAP Data Volume Management Cockpit – Configuration Guide
In case there are different products assigned in SMSY and in the results of the landscape browser, the
solution is mainly to either change the product in SMSY or to re-run the SMD managed system setup wizard
again, in which you are chosing the corresponding product.
46
SAP Data Volume Management Cockpit – Configuration Guide
In the Managed System Setup, SAP ERP 6.0 must be marked as “relevant for Diagnostics” and the setup
must include the main instances of SAP ERP 6.0 which you want to manage with SAP Solution Manager
scenarios, such as the DVM Cockpit.
Additionally, for EHP 4 FOR SAP ERP 6.0/NW 7.01, EHP 5 FOR SAP ERP 6.0 or higher:
In SMSY, select at least one main instance of EHP x FOR SAP ERP 6.0 that uses software
component SAP BASIS (for example ”ABAP Technology for ERP EHP4”).
In the Managed System Setup, EHP x FOR SAP ERP 6.0 must be marked as “relevant for
Diagnostics” and the setup must include the main instance selected in SMSY as described in the
previous step (for example ”ABAP Technology for ERP EHP4”).
47
SAP Data Volume Management Cockpit – Configuration Guide
In the result list you will see the status overview of all DVM specific extractors
The field message and RC are the most important ones to check for possible issues
As an example we will now re-trigger the extractor DVM_EXTRACTOR_SIZES which loads the DB
statistics of tables and indexes
Double click in the SE16 on the row containing the extractor DVM_EXTRACTOR_SIZES to see the
details of these data records
48
SAP Data Volume Management Cockpit – Configuration Guide
We will simply change the frequency of the extractor so that the EFWK will take care of triggering
this extractor in a higher frequency. The frequency is defined in the field DTRUN, the unit of this field
is in minutes. For the selected extractor the settings look as follows
49
SAP Data Volume Management Cockpit – Configuration Guide
In our example the frequency is set to 10.080 minutes which is equivalent to a "one week"
frequency. Simply change the value to a lower one, such as 60 and save the new value. This will
force the EFWK to trigger the extractor in an hourly frequency. The first run is again calculated from
the last timestamp of the last execution of this extractor. This timestamp can be found in the table
E2E_EFWK_STATUS, fields TIMESTART and TIMESTOP.
You should now have the chance to test the next executions of this extractor more often. If the
testing is completed, simply change the value of DTRUN for the relevant extractor back to the default
setting, the extractor framework will immediately consider the new value after you have saved it.
Please do not change any other value in this record as it can lead to data inconsistency or issues in the
EFWK
A comfortable way to identify potential authorization issues and allocate those to the affected user is the
following 2-step approach-
The first step is to identify the system and the scheduled runtime of the DVM extractors. Therefore the table
DSWP_BPM_TIMESCH (on SAP Solution Manager) will be restricted to the relevant system and the DVM
related monitoring object for the saving potential analysis (BODVMANA) or the object name for the alerting
50
SAP Data Volume Management Cockpit – Configuration Guide
on BW queries (BOBIQUAC).
Note: Depending on your setup it might be that for searching the details for alerting on BW queries you need
to enter the system ID of the local SAP Solution Manager system.
The next runtime of the specifc collector in question is taken to restrict the selection of the following step
(SLG1).
The extractor runtime information in used to limit the selection of the application log data. Therefore call
trasnacation SLG1
51
SAP Data Volume Management Cockpit – Configuration Guide
In this example the external ID “DCOL” hints to a potential BW authorization problem of user “SM_BPMO”.
This is in that case the starting point for a further root cause analysis.
There are 3 more external ID‟s of interest for the setup of the DVM Cockpit:
• GENM: Configuration Generation
• DCTM: Configuration Deactivation
• ACTM: Configuration Activation
You will find further detailed information if problems with activation /deactivation have occurred.
52
SAP Data Volume Management Cockpit – Configuration Guide
For other customer areas the suggestion is to modify the specific BW Queries and copy them a) into the
relevant name space and b) restrict the systems to the relevant area.
Nevertheless a concept should be created before any further activities in order to avoid unnecessary work
and to tailor the solution to the specific needs.
After the responsible person (DVM Champion) becomes familiar with the more generic DVM Cockpit
installation the next steps are to provide a customer specific training where customers have to provide
specific key figures, KPI‟s in terms of certain system thresholds. This information will be used to create
concept templates on the one hand and to configure the existing Cockpit installation to the specific needs on
the other hand.
The concept template could then be used to roll out the DVM Cockpit to other areas as mentioned above.
The same considerations need to be taken into account for the dashboards. As long as there is no working
concept the dashboard configuration made by SAP could only count as examples.
It is essential to gather information on how the customer intends to setup role and responsibilities. The major
question in this regards is “Who needs to see which content?”. The same approach as mentioned above is
relevant for the BW Query topic as well. The generic Dashboards can be used as a template to be adjusted
and rolled out to the different organizational areas.
53
SAP Data Volume Management Cockpit – Configuration Guide
As you can see in the coloured boxes the information is used to construct the layout of the query. The circles
represen variables to pre-select the information. This will be visible when executing the query.
After execution the structure of the query builder will be filled with data and displayed in the same way as
shown above (refer to the coloured boxes)
Fields defined in “Free characteristics” are used to drill down to the specified information within the same
Query (refer to the fields listed in the red box above and below). This information is available when doing a
right-click in the executed query and selecting “Filter and drilldown according to”
54
SAP Data Volume Management Cockpit – Configuration Guide
As you can see in the coloured boxes the information is used to cunstruct the layout of the query. The circles
represent variables to pre-select the information. This will be visible when executing the query.
55
SAP Data Volume Management Cockpit – Configuration Guide
After execution the structure of the query builder will be filled with data and displayed in the same way as
shown above (refer to the coloured boxes)
Fields defined in “Free characteristics” are used to drill down to the specified information within the same
Query (refer to the fields listed in the red box aove and below). This information is available when doing a
right-click in the executed query and selecting “Filter and drilldown according to”
56
SAP Data Volume Management Cockpit – Configuration Guide
As you can see in the coloured boxes the information is used to cunstruct the layout of the query. The circles
represent variables to pre-select the information. This will be visible when executing the query.
After execution the structure of the query builder will be filled with data and displayed in the same way as
shown above (refer to the coloured boxes)
57
SAP Data Volume Management Cockpit – Configuration Guide
Fields defined in “Free characteristics” are used to drill down to the specified information within the same
Query (refer to the fields listed in the red box aove and below). This information is available when doing a
right-click in the executed query and selecting “Filter and drilldown according to”
58
SAP Data Volume Management Cockpit – Configuration Guide
As you can see in the coloured boxes the information is used to cunstruct the layout of the query.
After execution the structure of the query builder will be filled with data and displayed in the same way as
shown above (refer to the coloured boxes)
Fields defined in “Free characteristics” are used to drill down to the specified information within the same
Query (refer to the fields listed in the red box aove and below). This information is available when doing a
right-click in the executed query and selecting “Filter and drilldown according to”
Top „n‟ condition are used to limit display of data to the relevant figure. This helps to improve performance
and to concentrate on the necessary information.
There are various posibilities to restrict a query by defining a condition. In the example below the “Top „N‟
limitation is being used.
59
SAP Data Volume Management Cockpit – Configuration Guide
60
SAP Data Volume Management Cockpit – Configuration Guide
61
SAP Data Volume Management Cockpit – Configuration Guide
The report type needs to be set to “BW BEx Query” and the first Query you want to link to the “Header
Query” needs to be selected via the F4 Help of section
Select the relevant Query and click on This step has to be repeated for each Query you want
to link to your “Header Query”.
Also for each of the assigned Queries you have to complete the following steps: Mark the relevant Query and
click on
Identify the relevant info objects and assign as Type “Info Object”, choose the relevant fieldname out of the
F4 Help list. Assign as “Selection Type” Single Value” and flag the field “Required”.
62
SAP Data Volume Management Cockpit – Configuration Guide
After you have saved the settings the result can be seen in your DVM Dashboard as follows:
With a right mouse – click on the table name the detailed menu opens. Navigating via “Goto” will show the
linked Queries
Clicking on one of the queries shown in the menu opens another (separate) explorer window
63
SAP Data Volume Management Cockpit – Configuration Guide
64