The first thing that happens is that the need for an upgrade is recognized. This recognition of the need to upgrade could be at a number of different levels of upgrade recognition triggers; some are very operational in nature, while others are much more strategic. On the operational side, you may realize that you have a serious technical SAP system limitation within your current environment.
At some time, an SAP release reaches its end of maintenance. This means that SAP no longer delivers SAP Support Packages that adapt your processes for legal requirements and correct errors. See Quick Link /pam (Product Availability Matrix) in the SAP Support Portal.
The new release can contain many new functions that your company requires. New features can be added on the basis side (new administration tools) or on the application side (new and enhanced business functionality).
The following factors are also important when deciding whether to upgrade:
- Costs: what will the upgrade cost me in total?
- Payback/ROI: will the upgrade have financial advantages for me?
- Benefits: what advantages will the upgrade have?
- Risks: are there risks involved in the upgrade?
Change and improvements are integral parts of today’s business environment. SAP supports and embraces the process of continuous change as:
- New SAP functions becomes available.
- Market technology changes.
- New business requirements are defined.
Note
Focus on the typical problem areas, such as solution gaps. Assuming that you have documented your initial implementation, one of the easiest things to evaluate during an upgrade planning is whether or not any of the original gaps can be replaced by standard functions in the target release.
Review each component of new release functions. Determine how these enhancements can add value to your company’s operations.
When planning an SAP system upgrade or an SAP S/4HANA Conversion, consider the following topics:
- Release customizing
- Modification adjustment and migration of modifications into SAP standard
- Adaptation and testing of customer development and enhancements
- Adaptation and testing of interfaces
- End-user training
- Validation and testing of the new release
The biggest part of the upgrade project represents the adaptation of the current business processes to the new features of the new SAP system. There are not only changes to the Customizing and the repository. There are also changes for the end users how to work with the new applications. When the development system has been upgraded to the new release, it can still be necessary to develop bug fixes for the productive system which is still working with the start release.
Some additional technical upgrade process related issues are:
- Hardware requirement on new release: server, front-end, network
- Sizing forecast and SAP system configuration for new release
- Planning of OS, DB, and SAP system upgrade
- Testing and validating a backup strategy for the upgrade and on the new release
- Performing technical update/upgrade on the whole SAP system landscape (transport landscape)
- Post-upgrade activities including performance monitoring
Since the requirements of the new release are changing, this requires changes to the configuration which in turn may need a sizing forecast to run. Finally, the whole environment is concerned, for example, the server hardware, the client hardware, the network, the operating system, and the database. Especially when upgrading the operating system, other software on this computer has to be tested. For example, the backup software has to be tested.
Because of the new requirements, performance monitoring is more important after the upgrade.
When deciding which SAP release you want to upgrade to, consider:
- The SAP release strategy
- IT costs for upgrade and maintenance
- Costs for adapting business processes
- Business requirements versus SAP functions
- Costs versus Payback/ROI
Note
When considering an upgrade of an AS ABAP based SAP systems or an SAP S/4HANA Conversion, many aspects stated here depend on the activation of business functions. There is a separate section on this later in this lesson.
An SAP system upgrade is more than just a technical upgrade. The upgrade of an SAP system landscape should be executed as a project. As it is a procedure for exchanging the older repository of an SAP system with a newer repository; this includes changing table structures at SAP system and database level, converting application data, exchanging the kernel executables. A significant amount of planning and lots of steps are required in order to perform a release change for the SAP system landscape. Customer upgrade projects last several months. Update projects last about half as long. Don't forget to consider:
- Budgeting and resource planning
- Upgrade project in relation to other implementation/roll out activities
- Availability of resources
- End of maintenance of the current release
A technical upgrade of one SAP system involves the following steps (see the following figure):
- When planning the upgrade, you should make decisions about the upgrade strategy. An exact upgrade schedule should be drawn up.
Caution
It is important to read the SAP Notes about the upgrade. If you don't, your SAP system upgrade likely will fail.
- Certain requirements (software, hardware, operating system, database) must be met before you can upgrade the SAP system. Careful preparation of the upgrade is the best guarantee that it will run without errors.
- After you have performed the preparations, you can start.
- The prepare part of the upgrade automatically checks if your SAP system is properly configured for performing the upgrade. However, you must perform many tests and actions manually before starting the upgrade.
- Perform the upgrade.
- Follow-up activities include all actions necessary for completing the upgrade. SAP recommends completing the actions in the order given in the upgrade guides.
Note
Software Update Manager (SUM) is the "complete package"; SAPup is the main tool inside.
Several tools help to perform the upgrade or conversion. They are part of the technical upgrade process.
- The prepare part of SUM has to run before the SAP system upgrade. You have to repeat it until it is error-free. The error messages are written to the log file CHECKS.LOG.
Checks are performed on the source release. For example, it checks whether the source release of the SAP system, the database, and the operating system is sufficient for this upgrade, whether there is enough space in the database available, and whether modified SAP objects are still in unreleased transport requests.
SAP Support Packages and add-ons are collected for binding them to the upgrade or conversion process. This is very important. If, for example, you don't bind enough SAP Support Packages to the upgrade or conversion, this will result in a loss of data during the procedure. If you don't maintain your add-ons, the whole SAP system can become unstable and inconsistent.
Note
This is done with the help of the Maintenance Planner and by adding extra Support Packages.
Tools are imported in the source SAP system that are needed for the procedure.
- With the SUM UI, the procedure runs independently from a dedicated front end server, so you can control and monitor the progress of the procedure from a number of different places (see the figure above).
This provides optimal support for a remote procedure. The SUM provides an alert mechanism that lets you start an external program (for example: sending an SMS to your mobile) if it breaks down.
- With the new release, ABAP programs of the new software components are exchanged. They are delivered in their source code, but not with their load. This is not possible, because the load depends on the local environment (kernel, operating system, and hardware). When you call a program the first time, its load will automatically be generated if it does not already exist. This may, however, reduce production system performance for some time after the update/upgrade. To avoid this, you can use transaction SGEN to generate the loads at the end of the technical downtime, during the downtime – or let SUM do the generation before the begin of the downtime, during productive operation.
The latest SUM archive can be downloaded from SAP Support Portal, Quick Link /sltoolset (https://support.sap.com/sltoolset) in the System Maintenance area.
Perform the following steps to start SUM (actually, start SAPup):
- Copy the SUM archive to the host, the PAS of the SAP system runs on, for example, to directory usr/sap/<SID>, or any other directory. This directory should have about 50 to 200 GB of free space.
- Unpack the SUM archive. This results in around 15.000 files and several directories.
- Update the SAP Host Agent, if necessary. It is used to connect the SUM UI to SAPup. SAP Host Agent should be up to date.
- Configure the SAP Host Agent from within the SUM/abap directory: execute the command SUMSTART confighostagent <SID>. On a Windows operating system, you have to perform this step as user <sid>adm, on a Linux/Unix operating system as user root.
- Connect a UI5 enabled Web browser via https://<hostname>:1129/lmsl/sumabap/<SID>/slui. This connects the SUM UI (the Web browser) to the SUM tool SAPup.
- Log on to SUM with user <sid>adm.
When using SUM. just as SPAM or SAINT, these steps are performed first on the development system, then on the quality assurance system, then on the productive system.
The figure above shows the main phases of the SUM procedure.
- Manual preparation activities have to be performed.
- RUN_RSDBSCPY clones tables from the original to the shadow repository (update only).
- EU_IMPORT_ALL creates the shadow repository from so called upgrade DVDs (upgrade and conversion only).
- EU_CLONE_MIG_SOT_* creates the shadow data for the shadow system (DMO only).
- DIFF... copies customer-specific objects from the original to the shadow repository (upgrade and conversion only).
- DDIC_UPG imports dictionary objects from the download directory to the shadow repository.
- SPDD modification adjustment takes place (in development system, only)
- ACT_UPG activates all ABAP dictionary objects that are not delivered activated.
- PARDIST_ORIG starts the distribution.
- TABIM_SHADOW_... imports non-dictionary objects from the download directory to the shadow repository, also copies upgrade and language data from the download directory, only if it is inserted into new tables.
- RUN_SGEN_GENER8 runs SGEN, if selected.
- EU_CLONE_MIG_* preparations for downtime migration (DMO only).
- DOWNCONF_DTTRANS begin of downtime, ramp down is performed.
- EU_CLONE_MIG_DT_RUN performs the downtime migration (DMO only).
- KX_SWITCH switches to new kernel.
- EU_SWITCH switches to new repository.
- PARCONV_UPG converts application tables.
- PARMVNT_APPL_VIEWS moves the nametab of application tables.
- TABIM_UPG imports upgrade and language data from the download directory.
- XPRAS_AIMMRG executes XPRAs and After Import Methods (AIMs) (both are ABAP programs executed to adopt data to the new release).
- SPAU modification adjustment takes place (in development system, only)
- In case of an upgrade of an SAP S/4HANA server system or an SAP S/4HANA conversion: silent data migration was initialized by SUM and is started now.
- In case of an SAP S/4HANA conversion: the FIN data conversion has to be performed.
- Manual follow-on activities have to be performed.
Note
The terms SAP system active and SAP system down in this figure refers to the SUM configuration Standard. When choosing SUM configuration Single System, almost the entire procedure runs in downtime.
The start of the update process involves the transfer of new data to the SAP system. SAP repository objects are imported into the SAP system. All repository objects that have been modified by customers must be compared to the new SAP standard during the update process.
In order to avoid loss of data and table fields that customers may have created, conflicting table structures must be merged before the activation of dictionary objects in the update process.
If objects need to be adjusted, use the transactions SPDD and SPAU. All modifications made by customers are then merged with the new SAP object versions to retain data; otherwise, the new SAP version will be activated and data may be lost.
When choosing the Standard mode, the SAP system is available during the activation phase. The activation takes place via the shadow instance via the shadow system in the shadow repository.
When the update is completed, the SAP system is successfully running at the new release level. Customer-developed objects and modifications have been preserved.
Hint
The two transport requests from SPDD
and SPAU
(one from SPDD
and one from SPAU
) can be included (not imported) into the update of the subsequent SAP systems in the same SAP system landscape. By doing this, the modification adjustment is performed automatically in this subsequent SAP systems. Here you only have to adjust those objects manually that were modified in the subsequent SAP systems, but not in the SAP system in which you have performed SPDD
and SPAU
.
The ABAP Dictionary objects (tables, data elements, domains, and so on) are adjusted during productive operation, before the activation of the ABAP Dictionary. The adjusted objects are collected in a transport request. You don't release this transport request; instead it must be flagged for export in transaction SPDD. Towards the end of the upgrade, SUM exports this transport request into the transport directory, and then registers it for transport in the file <transport directory>/bin/umodauto.lst.
Non-dictionary repository objects (reports, screens, and so on) are adjusted towards the end of the upgrade during downtime. At this stage, the import of SAP objects has already been completed. However, the old, modified version is still available in the version database. As with ABAP Dictionary objects, all adjustments are released to a transport request that is flagged and then exported and registered by SUM.
Caution
Do not attempt to import adjustment transport requests into the SAP system manually during SPDD
. This can lead to a loss of data.
Do not activate any objects during SPDD
. Activation is carried out automatically after the modification adjustment.
For further information, see the upgrade manual and online application help for SPDD/SPAU.