The job 0120 Extract
SAP BW Stats in the SAS Data Integration Studio is specifically meant
for the extraction of SAP BW performance statistics from selected
BW systems. This job uses the transformation
Extract SAP
BW Performance Statistics to get statistics form SAP.
The statistics are specified as output tables of the transformation
Extract SAP BW Performance Statistics. The transformation takes as
input the Admin.SAP Server Libraries table created in the previous
step and the BW Delta Control table. The selected statistic tables
are extracted from each selected SAP system.
The job extracts records
from BW statistic tables by taking the starting time as the first
day of the first month of the current year. The end time is the time
when you run the job. That is, it extracts data from the starting
time to the end date. For example, the extraction condition for the
year 2010 would be:
STARTTIME > 20100101(yymmdd)
Note: You cannot set STARTTIME
dynamically.
To extract SAP BW performance
statistics from selected BW systems:
-
Define each SAP system
that is accessed for extraction of performance data as an SAP library
with its associated SAP server.
-
The initialization job
0010 Step Select SAP Servers needs to be customized for this purpose.
Enter required bwsap libraries in the preprocglobal.sas program.
-
Run the extraction job
0120 Extract SAP BW Stats in the Data Integration Studio to extract
SAP BW Performance Statistics from selected BW systems.
This extraction job
uses the following input tables:
-
Admin. SAP_Server_libraries
-
The job creates the
following output tables:
The following tables
are optional. If you want to extract data from these tables, you have
to customize the job accordingly.
Note: BW Delta Control table is
defined as input table, but it is also updated by the transformation.
Note: You might have set up a Unicode
(u8) encoding option, which is mentioned in Customization for Internalization
(I18N) in Chapter 4. If so, then before you run the 0120 Extract SAP
BW Stats job, you need to add an option to the
System
Options tab in the properties section of the BW job:
0120
Extract SAP BW Stats. To add this option, right-click
Properties on
the
Job tab and then go to the
Option tab.
In the
System Options field, enter the following
statement:
If this option is not
specified, a warning about truncating field lengths might appear in
the job log files. Since the system error options (syserr) are set
to 4 because of these warnings, the job is unable to process the creation
of the output tables in the raw data folder.