Insights · SAP Basis

Deleting an SAP client with SCC5 and SCC5N: step by step

A client that nobody uses any more still takes up space and still has to be secured. This article explains how to delete an SAP client with SCC5 or SCC5N: what to check beforehand, how the deletion runs step by step and what to do afterwards.

Last updated: 12 October 2026 · By Tobias Foltermann, Founder

SCC5 or SCC5N: which tool?

There are two transactions for deleting a client. SCC5 is the classic tool. With SAP_BASIS 7.54, i.e. SAP S/4HANA 1909, SAP rebuilt the client administration tools, and SCC5N replaces SCC5. Both remove the client-specific data from the database and, if required, the client's entry in table T000. Unlike a copy, a deletion according to SAP also covers tables of delivery classes L and W, i.e. temporary data and technical system tables.

FeatureSCC5SCC5N
LogonIn the client being deletedIn another client, for example 000
Choosing the clientAlways the logon clientSelection from a list
Entry in T000Optionally deleted as wellOptionally deleted as well
Test modeYesYes
Parallel processesYesYes, very large tables split into packages
ExecutionDialog or backgroundImmediately or as a task list in the background
LogSCC3SCC3, with a separate tab for deletions
AvailableAlso in older releases, for example SAP ECCFrom SAP_BASIS 7.54 SP00 (S/4HANA 1909)

Level for SCC5N according to an overview by an SAP product expert in the SAP Community. Which options your system offers depends on the support package level.

Unlike the copy with SCC9N, there is no remote variant for deleting a client. You call SCC5N in the system of the client concerned. If you do this regularly, schedule the run with the task list SAP_CLIENT_DELETION in STC01. All client administration transactions at a glance are listed in the basics article on SAP client copy.

Deleting only the T000 entry is not a deletion

If you remove a client only in SCC4, just its entry in T000 disappears. Nobody can log on any more, and transports no longer reach it. The data, however, remains in the database and keeps taking up space. SAP describes this as a way of locking a client temporarily: if you create the entry in SCC4 again, the client is back with all its data. If you want to regain space, you need SCC5 or SCC5N.

Before deleting: checklist

There is no recycle bin. A deleted client can only be restored from a backup or a copy that still contains it. So go through these points before every run:

  • The right client: Note down the number, name and role in SCC4. Clarify who owns the client and who approves the deletion.
  • Check usage: Report RSUSR200 in the User Information System (SUIM) and the workload statistics in ST03N show whether anyone has logged on recently.
  • Lock users: SAP recommends locking the client's users for some time before the deletion. This way you find out in good time who still needs it. Immediately before the start, check in SM04 that nobody is logged on.
  • Check jobs: Scheduled background jobs of the client are in table TBTCO, selected via the client field AUTHCKMAN, for example with SE16.
  • Check interfaces: If RFC connections or partner profiles in other systems point to the client's logical system, they will no longer work after the deletion. Agree on this with the people responsible.
  • Back up what should remain: Back up any Customizing, test data or users you still need beforehand, for example by client export with SCC8N.
  • Role and authorisation: The client must not be classified as productive in SCC4. For SCC5N, you need authorisation object S_CLNT_CPY with profile value DELETE. Details are in the section on protecting production.
  • Know the size: From SAP_BASIS 7.54, SCC_CLIENT_SIZE estimates how much space the client occupies. This helps you assess the runtime and the space you will gain.

Which clients belong in which system, and which ones you can do without, is described in the article Client strategy and system landscape.

Deleting an SAP client with SCC5N: step by step

From SAP_BASIS 7.54, SCC5N is the standard method. This is how you proceed:

  1. Log on to another client. For example 000. You do not have to be logged on to the client you are deleting. There is no need to log on there as SAP*.
  2. Call SCC5N. Alternatively, in the SAP menu choose Tools › Administration › Administration › Client Administration › Special Functions › Delete Client.
  3. Select the client. Choose the client from the list and compare the number and name with your notes from SCC4.
  4. Decide on the T000 entry. With this option, the client also disappears from client administration. Without it, an empty entry remains in SCC4, for example if you want to fill the same number again straight away.
  5. Test mode first. A test run checks the deletion without deleting any data. You find the log in SCC3.
  6. Set parallel processes. More processes shorten the runtime. The system's resource management may limit their number.
  7. Choose the execution. Start immediately or schedule it as a task list in the background. For large clients, the background is the better choice.
  8. Start and monitor. SCC3 shows the progress on the tab for running processes and the result on the tab for deletions.

How long the run takes depends on the volume of data in the client and the number of parallel processes. SCC5N deletes table entries in parallel and splits very large tables into packages. According to SAP, this avoids database log overflows and timeouts, and the runtime is significantly shorter than with SCC5. How to set up parallel processes and server groups is shown in the article Speeding up a client copy.

The classic way with SCC5

In systems below SAP_BASIS 7.54, for example SAP ECC, SCC5 remains the tool. The key difference: you log on to the client you want to delete. SCC5 always deletes the logon client. The procedure is short: start SCC5, set the option to delete the T000 entry, define parallel processes, run it in test mode first and then for real, in the background for large clients. You monitor the progress in SCC3 as well.

If the client no longer has any users, the only way in is logging on as SAP*. For this, the profile parameter login/no_automatic_user_sapstar has to be set to 0 temporarily, with the risks described in the article Create an SAP client. On S/4HANA, that is one more reason to use SCC5N.

After the deletion: log, follow-up tasks, space

  • Check the log: Look at the status and table statistics of the run in SCC3. If the run terminates, the cause is recorded there.
  • Check T000: In SCC4, check that the entry has gone, provided you chose to delete it as well.
  • Check SAP*: Use report RSUSR003 to make sure that nobody can log on to this client as SAP* any more. If the profile parameter was set to 0 for SCC5, set it back to 1.
  • Clean up TemSe: If the client was used productively in the past, SAP refers to Note 934593. According to SAP, SCC5 does not cover the client's TemSe objects.

How to read a log in SCC3 and classify terminations is shown in the article SCC3 and common client copy errors.

What happens to the space

The deletion removes the client's records from the tables. Whether the space is available again immediately depends on the database: according to SAP, depending on the database, freed space only becomes available after a reorganisation. After deleting a large client, SAP advises checking the notes on reorganisation in your database's component; for SAP HANA, this is BC-DB-HDB. Measure the database size and memory usage before and after the run, for example with DB02, instead of estimating the gain.

Protecting production, special cases

A deletion run in the wrong client cannot be undone. Two settings protect against it, and you maintain them independently of each other:

  • Client role in SCC4: The real production client has the role Production. SAP names as a prerequisite for deletion that the client is not classified as productive. Only change the role for this deliberately and with documentation.
  • Keep authorisations tight: S_CLNT_CPY contains the field CCCATEGORY for the client role. This lets you restrict roles with profile value DELETE to test, training or demo clients. In a production system, nobody needs this authorisation in day-to-day work.

Clients 001 and 066

Client 001 is a copy of 000 created during installation. If you do not use it, SAP recommends deleting it. Be careful with SAP Solution Manager and SAP BW: there, 001 is usually the production client. Client 066 used to serve SAP support services and is no longer used. SAP NetWeaver 7.40 was the last release to deliver it. Do not recreate number 066 as a client of your own after deleting it. The instructions for both clients are in SAP Note 1749142.

R3trans is no way out

Older guides describe deleting a client at operating system level with R3trans. The title of SAP KBA 2239028 states that deleting clients 001 and 066 via R3trans is not supported. Stick to SCC5 or SCC5N, even for large clients.

If the wrong client is gone

A deleted client can only be restored from a backup or a copy that still contains it. For this case, there is the copy profile SAP_RECO for remote copies and client transports. SAP Note 31496 describes the options.

Fewer clients, smaller copies

A client that nobody needs any more takes up space for as long as its data is in the database. In SAP HANA, this usually means main memory too, because its records are in the same tables as those of the clients in use. Cleaning up helps, but it does not solve the underlying problem: every standard client copy with application data brings the complete history.

Instead, the Data Refresh Operator copies a time slice, for example the last 90 days, plus all dependent objects from earlier years. DRO copies business objects rather than date ranges. Dependencies are resolved iteratively across the object graph until the fixpoint – the verifiable point at which no new objects are added. This lets you fill a test client with the period its purpose requires and rebuild it when needed, instead of keeping several full copies in reserve. DRO measures the database sizes of all connected systems in the control system itself.

–75%
HANA RAM in non-production
–60%
Storage & backup

Guideline values from reference scenarios. The actual effects depend on system size, history and refresh cycles.

DRO runs on SAP S/4HANA from release 2023 and replaces the client copy, not the system copy. Further levers are compared in the article Reduce SAP non-production system size. How the memory in QA, test and sandbox is made up is shown on the page Reduce SAP HANA memory in non-production.

Sources

How much RAM do your clients use?

In a free demo, we show you DRO live using your own use cases – remotely and with no obligation. We discuss where the benefits lie for memory, refresh time and operating costs, and how you can try DRO in your own landscape.

  • Benefits specific to your use cases
  • A live look at time slice, dependency resolution, export and import
  • Answers directly from the team behind DRO

We use your details solely to arrange the appointment. Details in our privacy policy.