Sei sulla pagina 1di 19

SAP Compare Configuration Between Systems

By byron on April 4, 2011 in SAP

With SAP, you can easily compare configuration between different


systems. Most configurators probably know that, but put this one in
the you learn something every day column, at least for me. I was
recently trying to determine if there were any differences between
our QA and Development systems in some configuration for
Electronic Banking, when a colleague showed me something that
should have guessed existed. Heres how:

1. Start in your baseline system and go to the configuration


screen for which you want to compare to another box
2. Go to Utilities / Compare (In some cases it may be: Utilities /
Adjustment)
3. Next, youll enter the box you want to compare toNOTER:
this is CASE SENSITIVE, so if your box is QA210, you need
to make that all uppercase. Also, note that you can compare
between 2 clients on the same SAP System, e.g. compare
DEV110 to DEV120
4. You can just click on through the field verification
5.

Now you should have a Comparison


Overview. Look for consecutive rows that start with ML (logon

clients entries), MR (comparison clients), L (exists only in


logon client), R (exists only in comparison client), or M
(differences only in hidden fields)
6. On a field by field basis, the differences will be color coded to
show whats different. The legend is below:
7. You can also display only rows that have differences by
clicking the Filter icon and unchecking Identical. Now, you
will only see rows that are different between the two systems.

Hope that comes in


handy!
Byron

Comparing Clients in SAP


Posted on June 17, 2011 by sitaazaspire

In any SAP HCM implementation, as a Consultant or as a Customer,


you may have run into one or more of the following situations:

A recent transport has overwritten the changes that were


transported a few months ago. (I am working on this issue
with my customer as I am blogging.)

Table entries are missing from Production even though the


transports seem to have moved through different
environments without any hiccups.
You want to do a Wage Type table comparison between two
environments.
You are going live and would like to find out the best way to
validate the configuration tables in Production client against
the pristine QA (or Golden Client).

To meet any of the above needs, SAP has provided a very useful tool
called Customizing Cross-Client Viewer.
In simple language, it can be called a Client Comparison Tool. The
transaction code to access this tool is SCU0*. As most of us know,
everything we see in SAP is stored in tables (both Master Data &
Customizing). This utility will help a user in comparing the contents
of a table in Client A against the contents of the same table in Client

B**. Here is the initial screen of this utility:

The options in Section 1 allow the user to Delete previously saved


comparison runs, obtain an Overview of all the comparison runs,
Run a New Comparison, or do it in Background. In Section 2, you
can choose what you would like to compare. Ability to choose the
nodes in IMG to run the comparison makes it easy for those
functional consultants who do not feel comfortable with memorizing
the table names. You can also run the comparison for Application
Components, specific Transports or if you have enough technical

knowledge, just choose the Manual Selection option. The third


section shown above will enable you to recall a saved comparison
run and then rerun it or edit it.
Below is a quick illustration on how to use this utility to compare a
Wage Type table in two clients and list the differences.
1. Go to transaction code SCU0 S
2. Select SAP Reference IMG option and click on Create button.
3. Choose Select Activities in the pop up screen. You will be directed
to the IMG screen where you can select the nodes for which you
would like to run the comparison. Hit the OK button on top left
corner.

4. An important task in the next screen is to identify the client


against which you are comparing the client you are running
comparison from. The comparison is possible ONLY if there is an

RFC Connection setup between the two clients. Visit transaction


code SM59* to configure RFC Connections. Is this sounding too
complex? Then, ask your BASIS.

5. Hit the Total Comparison button to run the comparison for the
selected IMG node(s). The next screen you see is a comparison
results screen.

6. The first column shown above is an indicator that gives you an


instant overview of the comparison. The adjacent 4 fields provide
the metrics around how many differences are present between the
clients.
7. The Legend button provided in the application menu helps you
understand the various comparison status indicators and their color
codes.

8. Select a table by placing the cursor on it to drill down into the


details. The details screen too is color coded with its own legend that

explains what type of difference each color indicates.

9. It doesnt surprise that SAP provided the ability to export the


results into any viable external file format.

10. There are other functionalities available within this utility such
as filters, display statistics, customizing the List Settings etc.
If you are a functional expert with a knack in technical skills too,
then jump right away into transaction code SCMP** which is a
shorter and much quicker version of the above utility. It bypasses
many details that may seem unnecessary sometimes.
* User needs specific authorizations to access these transactions or tools.

** An RFC Connection is mandatory for both the Comparison Tools indicated in this
article.

Like this:

Compare the customizing settings between the


2 systems/clients with SCU0
There might be times you want to compare the customizing
settings between 2 systems/clients. Example when some
transactions are behaving differently between systems/clients
and you are suspecting that some of the customizing is missing
from one of them.
TCODE: SCU0 offers a flexible way to perform comparison
include by selecting exactly which parts of the IMG
(Implementation Guide) that require to be compared and also
allows comparison results to be stored for later use and
reference.

Steps:
1) Execute TCODE: SCU0, in this example we'll try compare
with the option "All Components", Click "Create" button

2) Select the relevant RFC connection to the target


system/client (Reference: What is RFC)

3) Click "Total Comparison in Background" button. Enter the


description and once the comparison is ready, user would be
able to display the result at any time with the Comparison run ID
assigned.

4) Select the relevant background server

5) Click "Immediate" button and the "Check" button

6) Click the "Save" button to begin the comparison process.

7) Execute TCODE: SM37 to verify the background job is


running

8) Click the "Display" button to view the comparison result even


it still in the mid of processing. Ensure the correct Comparison
run ID.

9) Example the logon client:001 contains 254 entries in the


table whereas the comparison client"000 there are no entries in
the table at all

10) Click the "Statistics" button to shown the relevant status and
the details of the object type

11) Click the "Legend" button to shown more information

12) This is a useful tool that helps to solve problems quicker by


making quick comparisons of customizing across various clients
and/or systems to identify possible missing or erroneous of
customizing.

Potrebbero piacerti anche