Skip to Content
Technical Articles
Author's profile photo Emanuel Klenner

SAP S/4HANA 2021 Release: System Comparison Tool

Would you like to know what has changed in SAP S/4HANA on premise release 2021 vs. release 2020 as far as development objects are concerned? Or would you like to compare the source code in your development box with the code that is running on your production system?

If yes, you might be familiar with the existing repository comparison tool that can be started via transaction SREPO.

Initial%20Screen%20of%20Transaction%20SREPO

Initial Screen of Transaction SREPO

However, I don’t want to talk about this transaction here. Instead I would like to introduce you to the new transaction PMMO_RELCMP (release/system comparison tool). This transaction takes a slightly different approach to the comparison functionality but also integrates the features of the SREPO tool.

Initial%20Screen%20of%20Transaction%20PMMO_RELCMP

Initial Screen of Transaction PMMO_RELCMP

The object selection is based upon the object types that can be found in the global object directory (table TADIR), e.g.

CLAS ABAP Object Class
FUGR Function Group
TABL DB table or dictionary structure
PROG ABAP Report

Classes, Function Groups and Tables are considered most important, hence they get some additional selection criteria.

The default is set to CLAS and package PMMO*, since the tool was developed with a focus on the subclass enhancement features of the Project Manufacturing Management and Optimization (PMMO) application. However, the tool works for all applications, regardless of that focus.

You need to specify an RFC destination of type ABAP, as defined in transaction SM59.
The system that you are comparing against must have the function group PMMO_REL_CMP installed. This is only available starting with SAP S/4HANA on premise release 2020. See SAP note 3062899 for more info.

The user in the current and the remote system must have display authorization (ACTVT = ’03’) for the objects that are being selected by the tool. The authorization object that is checked is: S_DEVELOP.

Report%20Output

Report Output

Legend%20for%20used%20Icons

Legend for Used Icons

The result list shows if an object exists only in the current system (new object) in both systems or only in the comparison system (object deleted in current system).

Further comparisons (code, table, structure) are possible via the compare icons for a class, method, function group, report or table.

The system supports navigation to the object in the current system, the comparison system or the package of the object in the current system.

Hint: In order to see the possible navigation targets underlined in the list, you have to activate the following SAP GUI setting:

SAP GUI Options Setting

 

Let’s explore some features related to one particular class:

Class%20CL_PMMO_APPLICATION_LOG_BASE

Class CL_PMMO_APPLICATION_LOG_BASE

Result%20with%20extended%20selection%20for%20attributes%20and%20parameters

Result with extended selection for attributes and parameters

We can see from the list that the attribute GV_LOG_IN_MEMORY was added in the current release. It did not exist in the comparison release.

Likewise, the method GET_LOG_MESSAGES with the parameter RT_MESSAGES was added in the current release.

Now we select the comparison icon for the method AUTHORITY_CHECK:

Trigger%20comparison

Trigger Comparison

SE39%20class%20method%20comparison

SE39 Class Method Comparison

A class method comparison via transaction SE39 was carried out and the results are displayed.

If we select the comparison icon on the class level, the beforementioned integration with the SREPO tool is triggered.

SREPO%20integration

SREPO integration

SREPO%20comparison%20result

SREPO comparison result

From here additional comparison/display functions are available via double click on a line
or selecting a function from the GUI status bar.

Here is an example for a display of database tables:

Database%20table%20selection

Database table selection

List%20Output

List Output

Selecting the comparison function on the table level leads us to the SREPO tool again:

SREPO%20Output

SREPO Output

A double click on the highlighted line gives us this result:
Version%20Comparison%20Result

Version Comparison Result

One field was deleted from the table and one new field was added.

Last but not least, let’s have a look at the function groups:

Function%20Group%20Selections

Function Group Selections

List%20Output

List Output

In SAP S/4HANA on premise release 2021 only a comparison at function group level is possible. With release 2022, a comparison on function module level has been added but this can also be achieved in the 2021 release by starting the function group comparison first:

SREPO%20Comparison%20Results

SREPO Comparison Results

Double click on the highlighted line:

Function%20Module%20Comparison

Function Module Comparison

The tool can also be used simply as an object navigator without the comparison functionality. In this case, the RFC destination field will be removed from the selection screen:

Object%20Navigator%20without%20Comparison%20Feature

Object Navigator without Comparison Feature

Result%20List

Result List

I hope you find this tool useful to find out what has changed in different systems or different releases.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.