Sub topic 8
Client settings that control recording (SCC4)
This chapter assumes you can navigate SAP GUI and call transactions, know that a client is a self-contained business unit inside a system, and can read a database table with its key fields. You should also know the difference between Customizing and Workbench changes from earlier chapters.
Why client settings matter
Every IMG activity writes to a table. Whether that write is recorded in a transport request, allowed at all, or blocked depends on settings stored per client. Transaction SCC4 maintains these settings. If you work in the wrong client, or in a client with the wrong settings, you get one of three results: changes you cannot make, changes that are not recorded, or changes that cannot be transported.
The settings live in table T000, which is itself cross-client. Each row describes one client. SCC4 is the maintenance transaction for that table.
What SCC4 shows
In SCC4, select a client and choose the Display or Change button. The detail screen has these groups of settings.
| Setting | T000 field | What it controls |
|---|---|---|
| Client role | CCCATEGORY | The purpose of the client: Production, Test, Customizing, Demo, Training/Education, or SAP reference |
| Changes and transports for client-specific objects | CCCORACTIV | Whether Customizing changes are allowed, recorded and transportable |
| Cross-client object changes | CCNOCLIIND | Whether cross-client Customizing and Repository objects may be changed from this client |
| Client copy protection | CCCOPYLOCK | Whether the client can be overwritten by a client copy or comparison |
| Comparison tool restrictions | CCIMAILDIS | Whether CATT or eCATT may be started in this client |
The client role is informational and drives defaults. It does not enforce anything by itself. The two change settings do the enforcing.
Changes and transports for client-specific objects
This setting decides what happens when you save a change to a client-dependent Customizing table. These are the usual options.
- Changes without automatic recording. You can change Customizing, but nothing is written to a request. Use this in a sandbox where changes are throwaway.
- Automatic recording of changes. Each change prompts for a Customizing request, or adds to the one you already hold. This is the standard setting for the development client.
- No changes allowed. Customizing tables are locked. This is typical for production and for quality assurance clients that only receive imports.
- Changes w/o automatic recording, no transport allowed. You can change settings and they stay local to the client. Nothing from this client can be released.
Note the difference between the first and last options. In both, nothing is recorded automatically. The last one also blocks manual collection of changes into a transport, so the changes cannot leave the client.
You can read these flags in an ABAP report. The following reads the row for the current client.
REPORT zdemo_client_settings.
SELECT SINGLE mandt, mtext, cccategory, cccoractiv, ccnocliind
FROM t000
WHERE mandt = @sy-mandt
INTO @DATA(client_settings).
IF sy-subrc = 0.
WRITE: / client_settings-mandt, client_settings-mtext,
/ 'Role:', client_settings-cccategory,
/ 'Change recording:', client_settings-cccoractiv,
/ 'Cross-client changes:', client_settings-ccnocliind.
ENDIF.T000 is cross-client, so a SELECT on it needs an explicit WHERE mandt = ... to pick one row. Without the condition, you get one row per client.
Cross-client object changes
Cross-client objects are shared by all clients in the system. This covers cross-client tables, and also Workbench objects such as programs and dictionary objects. The setting has these values:
- Changes to Repository and cross-client Customizing allowed. Developers can change both from this client.
- No changes to cross-client Customizing objects. Cross-client tables are locked, but repository changes are still possible.
- No changes to Repository objects. The reverse.
- No changes to Repository and cross-client Customizing objects. Both are locked.
Because a cross-client change affects every client, the setting is usually restrictive in every client except one deliberately chosen development client. Locking it in a Customizing client prevents a consultant from accidentally changing a setting that a colleague in another client depends on.
How the settings combine
The two settings are independent, so you can reason about a client by checking each in turn when you save an IMG change.
For cross-client changes, the request is a Workbench request when the object is a repository object, and a Customizing request when it is cross-client Customizing data. The exact request type depends on the object type, not on the client.
Typical configurations by system role
The following table shows common patterns. Your organization may differ, but you should know why each choice is made.
| Client | Role | Client-specific changes | Cross-client changes |
|---|---|---|---|
| Development, Customizing client | Customizing | Automatic recording | Allowed |
| Development, unit-test client | Test | No automatic recording | Locked |
| Quality assurance | Test | No changes | Locked |
| Production | Production | No changes | Locked |
| Sandbox | Demo | No automatic recording | Allowed or locked |
The unit-test client in development is useful. Developers can test with data and tweak settings locally without those tweaks entering the transport stream. The price is that a successful local test does not prove the setting is recorded. Always re-create the final setting in the Customizing client.
Making a change in SCC4
SCC4 is itself a cross-client table maintenance, and it is restricted by authorization. To change a client:
- Run SCC4 and switch to change mode. A warning tells you that the table is cross-client.
- Select the client and open the detail view.
- Set the fields and save. If prompted, enter a Customizing request. T000 changes are recorded, so they can be transported, but you should not transport them to a production system as a routine step.
Common errors
- "Client 100 is not modifiable" or "Changes to Repository objects are not permitted" when saving. The client is locked for the kind of change you are making. Check SCC4 in the client where you are logged on, and ask whether you are in the correct client.
- Change saved but not in any request. The client-specific setting is on "No automatic recording". Switch to a client with recording, then repeat the change.
- A colleague's setting disappeared in another client. A cross-client table was changed from a client that allowed it. Use the cross-client lock to prevent this.
- Release of a request fails with a message that the client settings do not allow it. The client is set to forbid transports. Change the setting only if the client is meant to transport.
- Settings in SCC4 differ between systems after a system copy. A system copy or client copy can overwrite T000 rows. Check them after any refresh.
Checking whether a client records changes
The quickest check is practical. Run SCC4 in display mode and read the two change settings. If you cannot call SCC4, ask for the T000 row through SE16 or the report above. Then try a harmless Customizing change and see whether it prompts for a request.
Exercise
A consultant saves a change in an IMG activity that maintains a client-dependent table. No request prompt appears. SCC4 shows the client role as Customizing and the cross-client setting as locked. What is the most likely cause, and why does the cross-client setting not explain the result?
Show answer
The client-specific change setting is most likely set to "Changes without automatic recording" (or the no-transport variant). It controls recording for client-dependent tables. The cross-client setting only affects cross-client tables and repository objects, so it has no effect on a client-dependent table. The role "Customizing" is informational and does not force recording.
Exercise
Why is it risky to transport the T000 entry of a development client into production?
Show answer
T000 stores the client settings, and each system needs settings that match its role. A transported entry could overwrite production settings and enable Customizing changes or disable protection against client copy. Client settings should be maintained directly in each system under authorization control.