Vous êtes sur la page 1sur 12

A Guide to SAP System Refreshes

ABSOFT WHITE PAPER


2 | A Guide to SAP System Refreshes
Contents

Executive Summary 4

Traditional Client Copy Refresh Method -


Better the devil you know? 5

The Search for an Alternative Approach


System Copy Method 7

Archival of Production Data 8

SAP Infrastructure Investment 9

Specialist System Refresh Products 10

Contact Us 11

A Guide to SAP System Refreshes | 3


Executive Summary

What is an SAP system refresh? Meeting statutory audit requirements Other benefits include:

The majority of SAP landscapes consist With the increasing pressure on companies • The ability to test new authorisations or
of three or more separate systems: to deliver procedures that comply with security parameters using copies of live
Development, Quality Assurance (test Sarbanes-Oxley and other audit users without affecting the live user data.
system) and Production (live system). requirements, system refreshes are no
Each system contains one or more clients. longer a “nice to have” for many SAP • Training for new employees and processes
A client is a self contained logical unit customers. It is becoming mandatory for can be carried out away from the live
within a system. Each client contains its companies to maintain an up-to-date quality system using real meaningful data.
own separate data set. assurance environment in order to meet
statutory audit needs. • SAP patch upgrades (Support Packages)

Using real, meaningful data for testing,


In a typical SAP system the production can be tested in full using a copy of the

development and training


data set is periodically copied onto the live system to reduce or remove any errors
Development and Quality Assurance that might not have been identified in the
systems in order to allow full testing of Development environment.
customising and development changes Aside from regulatory compliance, there are
that are made to the live SAP system. many additional benefits of carrying out Various options exist for performing a
This is known as a system refresh. The regular SAP system refreshes. system refresh. The majority of companies
frequency of these refreshes is determined will be aware of the traditional method of
by business and test team requirements The main benefit of replicating live data into Client Copies from their initial
but typically several refreshes are a quality assurance or development system implementation experience. Some will
performed over the course of a year. is that it provides an isolated environment, continue to use this method as their
away from the main business operations operational requirements allow it, while
where developers and test teams can test others quickly identify that there are more
any system enhancements or bug-fixes in effective and appropriate methods of
conditions as close to those in Production obtaining a copy of their Production
as possible. environment.

The purpose of this white paper is to outline


the options available, to identify the
advantages and disadvantages of each and
to summarise which path may be most
suitable for customers in the long term.

4 | A Guide to SAP System Refreshes


Traditional Client Copy Refresh Method -
Better the devil you know?

Traditionally many SAP customers have


used the standard SAP client copy method
QAS PRD
of system refresh. As the name suggests,
this involves the transfer of data from one
system to another at a client level.
100 – Config 450 - Production
Sufficient storage permitting, this method
allows for many copies of the Production
client (PRD) to be copied back to multiple
clients within a single Quality Assurance

250 – Integration
system (QAS). This allows project and
support teams to test with isolated sets of
Production data within the same system.
This is illustrated in Fig. 1 to the right.

Can you afford to be locked out of your 321 – Project 1


live system for a weekend?

The main problem with the traditional

321 – Project 2
method of system refresh is that it requires
downtime on the live system in order to be
carried out successfully. This causes
disruption to business operations, which
gets worse as time progresses and the Fig. 1
amount of data on the system grows.

SAP client copies work by copying all client


specific data from source to target client. Client copy Tip I -
The client copy job itself is reasonably REDUCING SYSTEM DOWN TIME
It is possible to adjust a client copy
straightforward in its operation. In essence,

strategy by performing a client delete


there is a list of tables whose contents need

in the target system prior to each


to be copied, and a specified number of

copy. It can be seen from the graph


processes to work with. Each process

where this strategy was changed as it


copies data from source to target one table

reduces the overall downtime in the


at a time. When the process finishes copying

Production system. The overall result


data for one table it moves on to the next in

however is that this only delays the


the list. In an SAP ERP 6.00 system there are

inevitable where it becomes


approximately 70,000 tables.

impossible to carry out a refresh


within the allocated Production
Many of the 70,000 tables that are included

downtime window.
in the copy job are related. For example, if
a user were to create a new purchase
order, many tables may be updated to
record the information in the database.
However, the client copy job makes no
allowances for relationships between the
various tables. So, to ensure consistency
of the data, no updates should be made to
the source client whilst the copy is running.
In practical terms this means no users can
be logged onto the Production client whilst
a client copy is in progress. In order to
minimise disruption to the business, client
refreshes are always performed during
weekend outages at pre-arranged outage
windows.

Figure 2 on page 6 shows how the client


copy times can increase in a typical system
of 200 users.

A Guide to SAP System Refreshes | 5


Client Copy Times
20:00:00

15:00:00
Runtime (Hrs)

10:00:00

05:00:00

00:00:00
Jan 07 Feb 07 Mar 07 Apr 07 May 07 Jun 07 Jul 07 Aug 07 Sep 07 Oct 07 Nov 07 Dec 07 Jan 08 Feb 08 Mar 08

Fig. 2

2. Greater Likelihood of
Client copy Tip II - Communication Failure
Increasingly long runtimes present the
REDUCING CLIENT COPY TIME
following problems to all SAP customers:

1. Insufficient Time to Re-run a Failed Copy


The number of processes you can
The client copy process is based on SAP’s
define for the copy is limited by the
remote function call technology. This
hardware of both source and target
In the event of a client copy failure it may be essentially requires the target system to log
host. Through experimentation and
necessary to reset and restart the copy onto the source system at an SAP level over a
experience it is possible to optimise
procedure. This would entail deleting the network connection. Although failures with this
this, for example by applying the rule
data already copied and restarting the copy technology are rare they are not unknown.
that two processes per CPU or core
from the beginning. As refresh times Network outages, SAP kernel bugs and
are possible.
increase, it becomes more difficult to reset general hardware failures can all cause these
and rerun a failed client copy over a single connections to fail. Unfortunately the longer
outage weekend. If the copy cannot be the client copy runs, the greater the likelihood
completed it leaves the target client in an of a failure of this nature being encountered.

3. Availability of Production
inconsistent state rendering it useless until a

Outage Windows
further refresh is completed.

A failed client refresh would have a


detrimental effect on the users of that client. As the runtime increases the Production
In the case of an integration testing client, outage requirements are going to expand. It
support users would be unable to perform will be necessary to either start the copy
user acceptance testing. In the case of a sooner each weekend or allow it to run for
project specific client, there may be no longer impacting live users.
alternative clients available forcing the
potentially costly suspension of project Looking further ahead, perhaps 2 or 3 years
activities until a refresh could be completed. from the present it is possible to predict
future copy times which will clearly show that
In order to perform a subsequent refresh to a single weekend outage window isn’t
repair the client an additional outage of sufficient. Beyond this point, the business
Production would be required. If the initial would need to agree on an extended outage
failure occurs on the weekend before month- of Production which would impact on the
end begins it may be two or three weeks Monday to Friday working week. This is
until another outage can be scheduled. unlikely to be an acceptable solution.

6 | A Guide to SAP System Refreshes


The Search for an Alternative Approach
System Copy Method

As discussed, the traditional method client


copy will become impractical for most Client Copy
customers in the long term and for many

QAS PRD
SAP customers it is never a viable option
because of the large amount of data held
on their production system. So, what are

100 – Config 450 - Production


the alternatives?

System Copy Method

An SAP system copy is a widely used


250 – Integration
solution for refreshing Quality Assurance
systems with Production system data. In
fact, it is the most commonly used refresh
method for medium to large size SAP

321 – Project 1
customers. The process involves taking the
latest online Production system backup
and restoring this onto the Quality
Assurance system hardware. For most

321 – Project 2
databases that SAP runs on a small
amount of pre and post processing is
required.

As the refresh can be performed using a

System Copy
normal online backup no Production
system outage is required. System
refreshes of this type can normally be
QAS PRD
completed within less than a day including
all pre and post-processing actions.

100 – Config 450 - Production


The fundamental difference between a
system copy and a client copy is that the
whole source system database, client
structure and all, is restored onto the target
system. This difference is illustrated in
Figure 3 on the right. Fig. 3

As can be seen in Figure 3 a system copy


Advantages Disadvantages
overwrites the entire system. If the source
system has one client and the existing
target system has four clients then after a • Fast compared to the traditional client • A system copy from Production back to
system copy is performed the target system refresh method. Restore time is likely to Quality Assurance will provide support
will have a single client which is an exact be around half or less that of a client copy and project teams with only a single
copy of the source client. There are depending on backup hardware available. integration client. This may not be a
therefore advantages and disadvantages to suitable proposition for some customers.
this method: • In terms of man effort this is comparable It has always been preferred to set up
to the current client refresh method. separate clients within the Quality
Assurance system for project testing.
• No Production system outages are A Quality Assurance system outage is
required as the refresh can be performed required whilst the refresh is in progress.
using the existing Production system
online full backups. • Refreshes are performed at a system
level so this approach does not provide a
• This is a well tested method with proven solution for refreshing any unit test
support from SAP’s own backup and clients in the Development system.
restore tools.

A Guide to SAP System Refreshes | 7


Archival of Production Data

This isn’t a refresh method as such but a Archiving is a three stage process: Advantages

1. The administrators determine which data


way to improve the traditional client copy
approach. SAP Archiving is a method of • A reduced production dataset allows
removing old data from the database, is to be archived for the chosen archiving Quality Assurance and Development client
storing it at an offline location and making objects. The data is then copied from the refreshes to be completed faster.

Disadvantages
it available for retrieval at a later date. database and written into external archive
SAP’s data archiving solution complies files.

2. The archiving programs test to see if they


with statutory data retention rules and
ensures that the data is both consistently • Complex to set up, requiring input from the
removed from the database and available can read the data back out of the archive business as well as support, functional and
for access in the future. files. If this is successful the data is technical consultants.
deleted from the database.

3. The archive files are saved on another


Archival of data is based on logical • As this is a complex solution it’s likely to
business data types called archiving be expensive in terms of man hours.
objects; examples of archiving objects are server, separate from the SAP database.
Purchasing Documents and Credit • There may be legal requirements to retain
Memo’s. These objects allow the archiving Depending on industry financial regulations, data for six years.
administrators to work easily with SAP’s many SAP customers only consider data
complex data model since they are archiving for systems which contain more • Without detailed investigation it is difficult
shielded from the underlying raw tables. than six years worth of data. to estimate how much data could be
Each object has a number of automated archived. It is therefore difficult to estimate
methods which, amongst other tasks, In the context of a system refresh, document how much client refresh times may be
control whether certain data is written to data archiving could potentially be used to reduced by.
archive, read from archive or deleted from reduce the amount of data stored in a
the database. Production client. A reduced dataset would • Data archiving would need to be a periodic
lead to reduced runtimes for any test client process as the volume of data in the
refreshes. Production system is always growing.

8 | A Guide to SAP System Refreshes


SAP Infrastructure Investment

Many SAP customers will choose to update In order to fully determine where bottlenecks Advantages
their infrastructure and hardware over the currently exist, the Production and Quality
lifetime of their SAP systems in order to Assurance systems need to be closely • Has the potential to reduce current client
benefit from the enhanced performance of monitored whilst a client refresh is in copy times.

Disadvantages
modern servers and processors. This progress. Where bottlenecks are identified,
investment can make it possible to speed targeted configuration or hardware upgrades
up existing client or system copy methods. can be investigated with a view to improving
overall performance. Hardware vendors can • Any gains in terms of reduced client
Client copy and system copy times are also provide modern disk technologies to refresh times are likely to be short term as
physically limited by a number of factors allow “snapshots” of live data to be taken copy times are always increasing. It is
such as: and replicated which would combine part of impossible to estimate how much time can
the system copy method with a hardware be gained using this option until the
• Speed and number of processors on investment. investment has been made and the
both source and target server. benefits measured.

• Amount of installed memory on both • Depending on where bottlenecks currently


source and target server. exist this may be an expensive option. For
maximum benefit bottlenecks should be
• Speed, number and configuration of hard addressed on the Development, Quality
disks on both source and target servers. Assurance and Production.

• Speed of network interface between


source and target servers.

A Guide to SAP System Refreshes | 9


Specialist System Refresh Products

There are a variety of products on the Gamma InfoShuttle Advantages


market now that are specifically designed
to solve the problems that SAP customers InfoShuttle is a third-party SAP certified • Allows support and project teams to build
face, which do not require the Quality solution which offers a systematic method their own reduced size test data sets.
Assurance or Development systems to be of building test or training scenarios with There is no requirement to involve
refreshed. current data from a Production system. technical support to perform refresh
Transferring relational sets of data, activities.
InfoShuttle generates the building blocks
for Production-like systems. As this can be • Offers a solution to copy data back to
performed on a selective basis, InfoShuttle both Quality Assurance and
dramatically reduces the time taken to Development system clients.
build useful Production-like environments.
It is this selective nature of InfoShuttle that • Allows specific Production data to be
offers benefits over the current whole client copied back to Quality Assurance or
refresh strategy. Development clients so it can be
investigated by support staff.
InfoShuttle requires no dedicated hardware
as it essentially runs inside the SAP • Allows specific Production problems to
system. be investigated in non-Productive
environments without impacting on the
InfoShuttle uses built-in mechanisms to testing activities of other support
select, check, move and synchronise data analysts.
between environments through a standard
SAP interface via its own SAP transactions. • Offers additional flexibility and features
InfoShuttle transfers are performed using over the alternatives discussed here,
selective hierarchical sets of master and such as the ability to perform data
transactional data, which automatically transfers to non-SAP R/3 systems via
detect and include related objects. As a XML files.

Disadvantages
result, setting up the transfer can be done
by the analyst who needs the data: i.e. the
functional analyst, developer or user
acceptance tester. InfoShuttle requires no • As a software-based solution, Infoshuttle
Production downtime from a business user is a more expensive solution than
perspective. hardware-based options. The benefits
accrued, however, are likely to be
There is no requirement for the support proportionately greater due to the
and project users to be experienced with flexibility that the tool offers.
the technical aspects of SAP’s data transfer
technologies. Data can be moved easily by
knowing key elements, like Sales Order
Number, Customer Number or Material
Number. Since the amount of data defined
within a data sub-set is smaller than the
complete database, it requires less disk
space in the target system, which reduces
storage requirements in the non-
Production environments.

For non-standard data objects or


relationships, such as enhancements or
Z-tables, InfoShuttle provides tools that
facilitate the creation of custom transfer
objects. The linking, done through drag
and drop, generates ABAP code that
retrieves the Z- table entries from the
source and directly updates or creates the
same Z- table entries in the target system.

10 | A Guide to SAP System Refreshes


AP Test Data Migration Server (TDMS) Advantages
FINDING A
SAP’s Test Data Migration Server (TDMS)
product allows customers to extract
• Enables reduced dataset transfers to
refresh the target clients.
SOLUTION THAT FITS
transactional data from a Production
It is clear that there are several options
system whilst retaining the master and • Caters for individual client refresh giving
available that will address the challenges
customising data of the target test system. a solution that supports multiple test
posed by system refreshes. Some of these
The transactional data can be configured clients in both the Quality Assurance and
options are low cost alternatives that come
to extract all data within a given date range. Development systems.
with their own set of disadvantages, and
Disadvantages
some require additional investment but
The TDMS requires its own separate SAP
offer increased flexibility.
instance. It is based on a Web Application
Server 6.40 platform and therefore requires • Requires its own dedicated hardware.
In terms of the most complete solution,
its own hardware with a minimum 4 Central
InfoShuttle offers the best features as a
Processing Units, 4GB of Random Access • Transactional data can only be selected
toolset. Of course, these advanced
Memory and 20GB hard disk storage for by date range. There is no option to
features do carry a cost, however they
the database. The TDMS instance does not select data by object type such as
would allow support and project users to
store the data in its own database, rather it Purchase Order.
pull back the sub-sets of data they require
uses its memory to filter and pre-process
to facilitate their testing. The current
the data prior to copying it to the target • The product is geared towards system
segregated client model would remain in
client. administrators with a technical
place and no additional hardware would
background and would likely not be
need to be procured or managed. As the
In order to make use of TDMS you would suitable for general use by support
support and project teams would be
need to order the basic TDMS service analysts.
managing their own test data it would
offering from SAP’s consulting services.
remove the need to involve technical
This offering consists of an initial one day • Requires the use of SAP’s dedicated
support. This would lead to a faster
scoping workshop, a ten day project to set consulting group who will charge for the
turnaround of both support and project
up the TDMS server and a final day’s initial system setup.
activities as analysts would have access to
workshop where the operation of the
the data they needed whenever it was
TDMS server is reviewed. • This is likely to be an expensive offering
required.
once consulting, hardware and licensing
costs are factored in.
For SAP customers who do not want to
invest in additional software, the system
copy method may be the best solution as it
is fully supported, reliable and faster than a
client copy or the continual archiving of
data.

However, individual SAP customers must


weigh up the costs and benefits of all the
options outlined in this paper and choose
the one they feel best fits their business
requirements.

Absoft has over twelve years experience of


working with SAP customers to implement
and optimise their SAP system landscapes.
Since each SAP system is different and
comes with its own unique set of
challenges, Absoft works in partnership
with its customers in order to fully
understand their system landscape and
plan maintenance and refresh strategies
that will provide the best solutions for both
the IT department and the business now
and into the future.

To find out more about how Absoft work’s


with SAP customers visit
http://www.absoft.co.uk/
workingwithabsoft

A Guide to SAP System Refreshes | 11


50 087 696 (07/12)
©2008 SAP AG. All rights reserved. SAP R/3, mySAP,
mySAP.com, SAP TDMS, and other SAP products and
services mentioned herein as well as their respective
logos are trademarks or registered trademarks of SAP AG
in Germany and in several other countries all over the
world. All other product and service names mentioned are
the trademarks of their respective companies. Data
contained in this document serves informational purposes
only. National product specifications may vary.

These materials are subject to change without notice.


These materials are provided by Absoft for informational
purposes only, without representation or warranty of any
kind, and Absoft shall not be liable for errors or omissions
with respect to the materials. The only warranties for SAP
Group products and services are those that are set forth
in the express warranty statements accompanying such
products and services, if any. Nothing herein should be
construed as constituting an additional warranty.

Unlocking Business
Potential with SAP®
Software Solutions

Absoft Limited Tel: +44 (0) 1224 707088


Davidson House, Campus 1 Fax: +44 (0) 1224 707099

Web: www.absoft.co.uk
Aberdeen Science & Technology Park E-Mail: info@absoft.co.uk
Bridge of Don, Aberdeen, AB22 8GT

Vous aimerez peut-être aussi