Technical Details On S - 4HANA ZDO (Zero Downtime Upgrades - Updates) - SAP Blogs
Technical Details On S - 4HANA ZDO (Zero Downtime Upgrades - Updates) - SAP Blogs
Community
Technical Articles
Rajarajeswari Kaliyaperumal
December 26, 2022 | 15 minute read
1 7 6,057
Like
In this blog, I wish to discuss the high-level technical details on ZDO
upgrades/updates that can be performed by any basis expert who has completed
RSS Feed the learning journey and assessment ADM330.
NOTE: Below blog has been written based on the Public reference f
Reference:https://help.sap.com/doc/b4e092bbef2a48db867e5b0095a6559
If you want to have a quick overview on what this assessment is about, do check
out my other blog =>”Why should a basis admin pass ADM330(ZDO for
S/4HANA updates and upgrades) assessment”
https://blogs.sap.com/2022/12/26/why-should-a-basis-admin-pass-
adm330zdo-for-s-4hana-updates-and-upgrades-assessment/
NOTE: This blog must be used to attain high-level knowledge of ZDO upgrades.
Basis experts must complete the ADM330 course to attain complete details in
this regard.
https://blogs.sap.com/2022/12/26/technical-details-on-s-4hana-zdozero-downtime-upgrades-updates/ 1/15
4/20/23, 11:36 PM Technical details on S/4HANA ZDO(Zero Downtime upgrades/updates) | SAP Blogs
1. What is a ZDO upgrade/update and how does this attain Zero technical
downtime?
SAP has enabled ZDO upgrades starting from S/4HANA2020. This upgrade does
not need a separate license. The basis expert must have cleared the assessment
ADM330 and must hold an SAP-generated password for the specific SID.
The reason behind calling this a clone-like instead of the clone is due to the fact
that this bridge subsystem only has the views that are pointing to the tables in
the original system. However, the original system will have shared tables that
could be shared between the original and bridge system or might have a clone of
the table with 2 different versions(one pointing to the source version=>to be
https://blogs.sap.com/2022/12/26/technical-details-on-s-4hana-zdozero-downtime-upgrades-updates/ 2/15
4/20/23, 11:36 PM Technical details on S/4HANA ZDO(Zero Downtime upgrades/updates) | SAP Blogs
accessed by business users in the bridge subsystem) and the other pointing to
the target version=>to be accessed by SUM)). These table clone requirements
are determined based on the type of change the upgrade is going to bring into
this table and SUM uses the process called Impact Analysis to arrive at the
specified table classification.
Refer to question “7. How does SUM arrive at the above classification? ” for more
details in this blog.
3. How does ZDO operates together with the original and bridge subsystem to
attain zero technical downtime during upgrades?
Business users will work on the original system in release 1 which is the actual
source release. In the same system, SUM processing will be started. After the
uptime processing in the original system, SUM will perform rollover of the
business users to the bridge subsystem which will be in source release as the
target version is yet to be finalized. Transitioning of the users to the bridge
subsystem happens in a controlled manner, thus enabling the business users to
continue their work in the bridge system seamlessly. While the business
continues to operate in the bridge subsystem, the target release is finalized in
parallel by SUM. At the end of the maintenance event, target release must be
activated.
The cut-over and activation of the target release include the following steps:
jobs.
After the restart and ramp-up of the system, users will work on release 2 which
represents the target release
One must understand the bridge subsystem runs in the same database as the
original system, but with a dedicated schema .ie, both releases, source(bridge
subsystem) and target are stored in the same database but the access happens
via different database schema. All business transactions of the applications that
are enabled for ZDO are fully available during the upgrade via the bridge
subsystem to end users.
However, not all applications are enabled for ZDO usage. Applications that aren’t
fully available during the bridge runtime are listed accordingly in SAP Note
2707731. Also note that in S/4HANA, among the BW operational modes that can
be activated ( Embedded BW, Data Warehouse, and Embedded Analytics) only
Embedded Analytics is supported by ZDO.
1. Original system:
i. Before the upgrade=>Source release (version 1) ; After the upgrade:
Target release (version 2)
ii. Original schema (like SAPHANADB)
iii. The original system represents the state of the system before and after
SUM execution. Business Users are also operating on the original
system during the pre-processing phases when the shadow system
runs in parallel.
2. Shadow system:
i. Target release (versio2)
ii. Shadow schema (like SAPHANADBSHD)
iii. The shadow system is used to prepare the repository and dictionary
objects of the target release in the shadow database schema
3. Bridge subsystem:
i. Source release (version 1)
ii. Bridge schema (like SAPHANADBSHD)
iii. The state of the system when all existing application servers are
reconnected to the bridge database schema. From a technical
perspective, the bridge database schema reuses the shadow database
schema
4. Upgrade subsystem:
i. Target release (version 2)
ii. Original schema (like SAPHANADB)
https://blogs.sap.com/2022/12/26/technical-details-on-s-4hana-zdozero-downtime-upgrades-updates/ 4/15
4/20/23, 11:36 PM Technical details on S/4HANA ZDO(Zero Downtime upgrades/updates) | SAP Blogs
5. How does the bridge subsystem operate with a list of views that are pointing to
different versions of the same table in the original system?
https://help.sap.com/doc/b4e092bbef2a48db867e5b0095a6559a/zdosum20.1
6/en-US/zdo_sum20_s4hana.pdf
c.While the upgrade is being performed on the target release tables (V2 tables),
the generated views (view 1 in the example illustration) continue to point to the
source release tables (tab1 V1 in the example). As a result, the productive use can
continue on the bridge subsystem. If no adjustment of the table structure is
required during the upgrade, no additional V2 table is created (in the example,
tab 2 V1=V2), and the generated view (in the example, view 2) still points to this
table.
https://blogs.sap.com/2022/12/26/technical-details-on-s-4hana-zdozero-downtime-upgrades-updates/ 5/15
4/20/23, 11:36 PM Technical details on S/4HANA ZDO(Zero Downtime upgrades/updates) | SAP Blogs
Reference:https://help.sap.com/viewer/c4ebc2b5d928446180d9ad2667f11faa/
1.0/en-US/9a9abc84fd3e48118ff81bf6ff5cbce6.html
PAGE 12
Below is the high-level overview of table classification that happens during the
ZDO procedure and as of how they are handled in the bridge subsystem.
https://help.sap.com/doc/b4e092bbef2a48db867e5b0095a6559a/zdosum20.1
6/en-US/zdo_sum20_s4hana.pdf
https://blogs.sap.com/2022/12/26/technical-details-on-s-4hana-zdozero-downtime-upgrades-updates/ 6/15
4/20/23, 11:36 PM Technical details on S/4HANA ZDO(Zero Downtime upgrades/updates) | SAP Blogs
Tables are classified based on the type of changes that they will receive due to
the upgrade of the source system. To determine these changes ZDO uses a
process called Impact Analysis. This is a process of identifying the impact
of the upgrade on the source system. Ie, This helps in answering the
question “What would happen if the defined upgrade scope is applied
in a production environment?”
This can be executed via SUM or t-code SUMTOOLBOX after passing the phase
RUN_RSPTBFIL_ZDM_CLASSIFY (The initial shipment of SUM toolbox was
released in Dec 2021 via TCI sap note. This is also included as apart of
SAP_BASIS component in recent releases)
a.What are the tables that will be marked as read-only in the bridge
subsystem, thus preventing the business users from the bridge to perform
changes into these tables, resulting in blocking of the involved business
process.
b.What are the database triggers that might have to be deleted from
certain tables for which a reload is required post upgrade
c.Additional database space that is required for clone tables during ZDO
SAP Note 2402270 – Export of Table Statistics for SUM Impact Analysis
https://blogs.sap.com/2022/12/26/technical-details-on-s-4hana-zdozero-downtime-upgrades-updates/ 7/15
4/20/23, 11:36 PM Technical details on S/4HANA ZDO(Zero Downtime upgrades/updates) | SAP Blogs
The output of Impact Analysis is the table classification as Shared, Clone, Clone
Read-only.
1. In production, Export the table statistics via SUM toolbox using t-code
SUMTOOLBOX. The output thus obtained is “ZDIMPANA.ZIP”
2. In Sandbox, we must the table classification via SUM Toolbox using t-code
SUMTOOLBOX. The output thus obtained is “PUTTB_SHD.ZIP”
3. For instance, in DEV, The output of 1 and 2 must be supplied to t-code
SUMTOOLBOX to run the impact analysis.
8. How to download the table statistics for SUM Impact Analysis from the
production environment?
1. SAP_BASIS 740 only: make sure that the SAP Note 2187612 is implemented
in your production system.
2. Make sure that the standard job SAP_COLLECTOR_FOR_PERFMONITOR is
scheduled hourly, and the corresponding control table TCOLL has been
maintained via transaction ST03 in such a way that report RSSTAT90 is
executed four times a day (see SAP Note 966309).
3. In transaction ST03, expand subtree Collector and Performance DB -
> Performance Database -> Monitoring Database -> Reorganization.
i. Adjust the retention time settings to retain the aggregate values for
updates, deletes and inserts as long as desired, and wait long enough
for the aggregates to be collected.
For more information refer to the OSS note: 2402270 – Export of Table Statistics
for SUM Impact Analysis
https://blogs.sap.com/2022/12/26/technical-details-on-s-4hana-zdozero-downtime-upgrades-updates/ 8/15
4/20/23, 11:36 PM Technical details on S/4HANA ZDO(Zero Downtime upgrades/updates) | SAP Blogs
9. What are the preliminary ZDO readiness process that must be executed in a
S/4HANA system?
One must understand that the below ZDO readiness process is not related to SAP
Readiness Check that is used for S/4HANA. This involves ,
In HANA1.0, native HANA artifacts like calculation views etc were created in
the repository 1.0 under the technical database schema name _SYS_BIC.
The objects under these schemas are not ZDO compliant. In the recent
HANA releases, the native artifacts are getting shipped via HDI containers
which are ZDO compliant.
https://help.sap.com/viewer/DRAFT/9d6aa238582042678952ab3b4aa5c
c71/1709%20002/en-US/c001a13d204a4831a068629f3934df45.html
NOTE: During the runtime under the bridge subsystem, the HANA
repository 1.0 are not accessible.
Along with objects stored in _SYS_BIC, custom objects that are used by
business processes must also be migrated. Use the SAP HANA XS
Advanced Migration Assistant for the migration of customer objects. For
more information, see the SAP HANA XS Advanced Migration Guide =>
https://help.sap.com/viewer/58d81eb4c9bc4899ba972c9fe7a1a115/2.0.0
4/en-US/2aa5aa246a704e199cd06ca5c84d1155.html
https://blogs.sap.com/2022/12/26/technical-details-on-s-4hana-zdozero-downtime-upgrades-updates/ 9/15
4/20/23, 11:36 PM Technical details on S/4HANA ZDO(Zero Downtime upgrades/updates) | SAP Blogs
Running a ZDO upgrade will have a certain impact on the ongoing business
operations when the users will be connecting to the bridge subsystem. Eg,
Some of the tables that get classified as read-only will not be available for
edits in the bridge system and hence this might have an impact on the
business processes that are linked to this table. Hence a thorough
understanding of ZDO impact must be performed in advance.
https://blogs.sap.com/2022/12/26/technical-details-on-s-4hana-zdozero-downtime-upgrades-updates/ 10/15
4/20/23, 11:36 PM Technical details on S/4HANA ZDO(Zero Downtime upgrades/updates) | SAP Blogs
For this use case , HANA version in the source must at least be HANA2.0
rev42. During this use case, to keep the SLT replication active during the
bridge runtime, an RFC destination for each of the connected SLT has to be
provided to SUM. These RFCs are used to prepare the database triggers
needed during the bridge runtime.
Any SLT tables that are classified as Clone, Switch and XCLA must be
reloaded / re-initialized post ZDO upgrade.
11. How does ZDO perform application data migration? How is this approach
different from a normal standard upgrade?
One of the key concepts of ZDO is SDMI (Silent Data Migration Infrastructure).
The Silent Data Migration Infrastructure (SDMI) is a framework that enables
automatic application data migration during system uptime. In a non-ZDO
upgrade, migration of application data happens during the downtime by XPRA
program or XCLA classed in phase XPRAS_AMMMRG.
However, with ZDO, these programs are executed during the uptime.ie, The
migration of application data does not happen during the SUM upgrade but is
triggered after the upgrade is completed during regular business operations.
For more information refer ZDO guide and ADM330 learning path
documentation.
https://blogs.sap.com/2022/12/26/technical-details-on-s-4hana-zdozero-downtime-upgrades-updates/ 11/15
4/20/23, 11:36 PM Technical details on S/4HANA ZDO(Zero Downtime upgrades/updates) | SAP Blogs
If a reset is required before the SUM has rolled over to the bridge subsystem and
until the phase REQ_USER_ROLLOVER_PREP has not been reached, a reset can
be performed during uptime processing like in standard SUM procedure.
If a reset is required during the bridge runtime, we can still use the SUM UI for
Reset.
Below is a high-level project plan for a system landscape with 3 levels including all
systems from sandbox to production. It is highly recommended to use the same
update approach (that is, standard update, nZDM, or ZDO) across the system
landscape.
https://help.sap.com/doc/b4e092bbef2a48db867e5b0095a6559a/zdosum20.1
6/en-US/zdo_sum20_s4hana.pdf
https://blogs.sap.com/2022/12/26/technical-details-on-s-4hana-zdozero-downtime-upgrades-updates/ 12/15
4/20/23, 11:36 PM Technical details on S/4HANA ZDO(Zero Downtime upgrades/updates) | SAP Blogs
ZDO of SUM is the next level of downtime optimization that can not be attained
even with the nZDM approach.
All the best for performing a ZDO upgrade successfully in your customer
landscape.
Alert Moderator
https://blogs.sap.com/2022/12/26/technical-details-on-s-4hana-zdozero-downtime-upgrades-updates/ 13/15
4/20/23, 11:36 PM Technical details on S/4HANA ZDO(Zero Downtime upgrades/updates) | SAP Blogs
Assigned Tags
SAP S/4HANA
Basis Technology
SAP HANA
ADM330
downtime optimization
hana
View more...
How to execute S/4HANA system upgrade using Zero Downtime Option of SUM - PoC customer case
By Parishudh Reddy Marupurolu Nov 06, 2020
Why should a basis admin pass ADM330(ZDO for S/4HANA updates and upgrades) assessment
By Rajarajeswari Kaliyaperumal Dec 26, 2022
Related Questions
Minimize downtime for s/4hana upgrade from 1511 to 1809
By jayaprakash rajaram May 02, 2019
https://blogs.sap.com/2022/12/26/technical-details-on-s-4hana-zdozero-downtime-upgrades-updates/ 14/15
4/20/23, 11:36 PM Technical details on S/4HANA ZDO(Zero Downtime upgrades/updates) | SAP Blogs
1 Comment
Sourabh Chordiya
December 30, 2022 at 9:02 am
Like 0 | Share
Find us on
Newsletter Support
https://blogs.sap.com/2022/12/26/technical-details-on-s-4hana-zdozero-downtime-upgrades-updates/ 15/15