SAP Knowledge Base Article - Public

3138435 - Deactivate or Closure of a Productive Company Code


  • You want to deactivate or close a productive Company Code.
  • Delete a Company Code that is no longer in use.
  • Closing down of a Company Code.


  • S/4HANA Cloud


In the S/4HANA Cloud Edition it is not possible to Delete an active Company Code. 

An approach to preform a closure of a productive company code is to Block Postings to G/L Accounts that belong to the Company Code.

  1. Manage G/L Account Master Data app
  2. Insert the effect Company Code
  3. Select the account
  4. Edit
  5. Company Code Data
  6. Check the "Blocked for Posting Flag" for the effected Company Code

Following this there is a recommendation in KBA 2857282 to maintain the description of the company code as "Do Not Use". 

See Also

Manage G/L Account Master Data App

2857282 - Organizational Structure Entity deletion


KBA , FI-FIO-GL , Fiori UI for General Ledger Accounting , FI-FIO-GL-MD , Master Data Apps , Problem


SAP S/4HANA Cloud all versions


Pasted image.png