Professional Documents
Culture Documents
BW HowToMinDowntDeltaInit PDF
BW HowToMinDowntDeltaInit PDF
Applicable Releases: SAP BW >= 2.0B, S-API >= 3.0B (PI >= 2002.1)
July 2002
SAP (SAP America, Inc. and SAP AG) assumes no responsibility for errors or omissions in these materials.
These materials are provided “as is” without a warranty of any kind, either express or implied, including but not limited to, the
implied warranties of merchantability, fitness for a particular purpose, or non-infringement.
SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequential damages
that may result from the use of these materials.
SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within
these materials. SAP has no control over the information that you may access through the use of hot links contained in these
materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party
web pages.
mySAP BI “How-To” papers are intended to simplify the product implementation. While specific product features and
procedures typically are explained in a practical business context, it is not implied that those features and procedures are the
only approach in solving a specific business problem using mySAP BI. Should you wish to receive additional information,
clarification or support, please refer to SAP Professional Services (Consulting/Remote Consulting).
HOW TO … MINIMIZE DOWNTIME FOR DELTA INITIALIZATION
1 Business Scenario
You would like to load data from your (SAP R/3) source system into a BW system using the BW delta
process. Initializing this delta process can take an exceptional amount of time, and for many
DataSources, it imposes restrictions on the production system (for example, stopping work in the
affected application component or having a high workload). You would like to minimize the amount of
time and the restrictions that the initial load causes on the production system.
2 Introduction
The solution described in this paper includes only the steps that are absolutely necessary to execute
it in the productive system and to execute the main workload in a copy. The steps that are performed
on the production system only take a few minutes. Afterwards, BW extracts the data from a copied
(mirror) system rather than the production system, relieving all restrictions on the latter.
Necessary for this scenario is the ability to quickly perform a system copy, or a synchronization/split
of a mirror system. The scenario described here uses the TimeFinder™ from EMC2™.
TimeFinder software provides a fast and flexible way to create a physical copy of the R/3 database
that can then be used to create a second instance of the database. The methods used in this guide
are independent from whether you use TimeFinder or SRDF to create the copy of your database.
More information on how to create the copy can be found in several EMC2 white papers listed in
section Additional Documents (EMC2).
BW Production
1 3
2
R/3 Production R/3 Mirror
The initialization of the delta process is simulated in the production system without actually
transferring data. Thus, the BW status information appears as if the extraction had already run. In
doing so, delta data can already be collected in the production system. The data is subsequently
transferred from the mirror system without disturbing the production system.
A prerequisite for this process is that a simulation of the delta initialization process is already
implemented for the respective extractor. You can check this in the ROOSOURCE table. The value
"1" has to be in the INITSIMU field for the DataSource.
For a better understanding, it would be helpful to become familiar with the components used in this
example.
Systems:
• Original source system (production system):
o SAP ID: QY5
o Client 100
o Application server: pwdf0131
o Operating system: Windows NT
Depending on the extractor, specific steps could be necessary that are also required
for normal delta initializations (without mirror systems), for example, stopping the
update. If necessary, these steps also need to be performed, but are not described in
any further detail here.
Perform a system copy
The original system is put in a position to write delta records into the delta queue.
This is done by posting the request IDoc in a special mode (called
DELTA_ENABLE).
4 Notes
DataSources Used
With our tests, the following DataSources were used (as examples):
2LIS_11_VAITM
0FI_AR_3
0FI_AP_3
If you follow the EMC2 procedure, a "Clean-Up" script is executed on the mirror system after the split.
This prevents scheduled tasks (for example, batch and print jobs) from being executed in the mirror
system. To do this, the script changes the control entries in specific tables.
Although it is highly improbable that these tables will play a role in a BW extraction, it should be
mentioned that after modification, the content of the tables no longer agrees with that in the original
system, and your extraction could transfer incorrect data into the BW system. This concerns the
following tables:
TCESYST, TCESYSTT
TSYST, TSYSTT
TASYS
TCECPSTAT, TCEDELI
TADIR
E071, E070, E070L
TBTCS, TBTCO
TSP01, TSP02, TSP02F, TSP0E, TSPVJOB, TST01, TST03, TSP03, TSP03C, TSP03D
TEMSG, TEMSI
Several DataSources
Without restrictions, you can use this process simultaneously for several extractions. This is to
ensure that you have downtime once, or that the number of downtimes is minimized. This applies to
simultaneous delta initializations (with selection criteria) of one DataSource, as well as simultaneous
delta intitializations of different DataSources.