You try to change the chart of accounts and SAP stops you because groups still exist in the controlling area. The fix is to delete those groups first. This guide explains the message, the group types, the exact KSH2 steps with the original screenshots, how to verify the result and how to avoid the error in future. If you run into any errors while following along, feel free to send a screenshot to pramod@learntosap.com for help.


| Item | Value in This Example |
|---|---|
| Message text | Groups still exist in controlling area 2005 |
| Controlling area | 2005 |
| Module | SAP CO (Controlling) |
| Group deleted in example | Cost center group LEARN1_COS |
| Where to fix it | KSH2, delete the group |
| Goal | Reset or delete groups so the chart of accounts can be changed |
The group name and controlling area in your own message may differ from this example. The same steps apply with your own values.
A controlling area is the highest organizational unit in SAP Controlling. Inside it live cost centers, cost elements, profit centers, orders and the groups that organize them into reporting structures. A group is simply a named collection, for example a set of cost centers that belong to one department.
The message says that groups still exist in controlling area 2005. When you try to make a fundamental change, most commonly changing the chart of accounts assigned to the controlling area, SAP refuses, because existing groups were built on the old structure and could become inconsistent. In SAP ECC 6.0 and in HANA-based systems, those groups must be reset or deleted first, after any data tied to them has been cleared.
The error is therefore not a bug and not a posting problem. It is a protection, and it is solved by cleaning up master data in the right order.
| Cause | What Is Wrong |
|---|---|
| Chart of accounts change | You are trying to change the chart of accounts of the controlling area while groups built on it still exist. |
| Cost center groups | One or more cost center groups, such as LEARN1_COS, are still present. |
| Other group types | Cost element, profit center, order or activity type groups also exist in the same controlling area. |
| Leftover test data | Groups were created during training or testing and never removed. |
| Incomplete clean-up | Some groups were deleted but others were missed, so the message returns. |
| Wrong controlling area | The clean-up was done in a different controlling area than 2005. |
In daily work the first and second causes are the most common. A consultant sets up a sandbox, creates demo groups, and later needs to change the structure for a new project.
Different objects have their own group transactions. The table lists the usual ones. Confirm the exact transactions in your own release before you use them.
| Group Type | Create / Change / Display | Used For |
|---|---|---|
| Cost center group | KSH1 / KSH2 / KSH3 | Organizing cost centers into departments or hierarchies |
| Cost element group | KAH1 / KAH2 / KAH3 | Grouping cost elements for reports and allocations |
| Profit center group | KCH1 / KCH2 / KCH3 | Grouping profit centers for profit center reporting |
| Activity type group | KLH1 / KLH2 / KLH3 | Grouping activity types |
| Order group | KOH1 / KOH2 / KOH3 | Grouping internal orders |
This guide focuses on the cost center group, the case shown in the screenshots. If the message still appears afterwards, check the other group types in the same way.
The message is not tied to one posting. You usually see it during configuration or master data work:
Because this is configuration work, the message mostly concerns consultants and key users, not everyday data entry users.
Read the message. Note the controlling area, here 2005.
List the existing groups. Use KSH3 to display cost center groups and note the names, for example LEARN1_COS.
Check the other group types. Look for cost element, profit center, order and activity type groups in the same controlling area.
Confirm nothing in use depends on them. Ask the reporting owners whether any report or allocation still uses the groups.
Plan the clean-up. Write down every group you will delete and take a screenshot of each before you start.
In SAP 6.0 and HANA, groups that still exist in the controlling area are required to be reset or deleted before changing the chart of accounts. The process typically involves clearing any data associated with those groups and then deleting the groups.
Go to Tcode KSH2. Use KSH2 to delete cost center groups. You can also use KSH3 to check and verify the existing cost center groups before deletion.
Menu path: SPRO → Controlling → Cost Center Accounting → Master Data → Cost Elements → Cost Center Groups.
Select the group. 1) Select cost center group LEARN1_COS. 2) Select Yes.

Choose the delete function. 1) Select Group. 2) Select Delete.

Confirm. Click the Delete button.

Save. Review the entered details for accuracy. You should then see a confirmation message that the cost center group has been deleted successfully.
After deleting the group, open KSH3 and try to display LEARN1_COS. The system should report that the group does not exist. Repeat for any other group you removed. Then return to the screen where the original message appeared and repeat the change, such as the chart of accounts change. The message should no longer block you. If it still appears, a group of another type is likely still present, so check the table in the group types section.
At Learn Pharma in Pune, functional consultant Neha Deshmukh was preparing a sandbox for a new finance design. The design needed a different chart of accounts for controlling area 2005, but SAP stopped her with the message that groups still exist in the controlling area.
She displayed the cost center groups with KSH3 and found a leftover training group named LEARN1_COS. Controller Sameer Joshi confirmed that no live report used it. Neha opened KSH2, selected the group, chose Group and then Delete, confirmed the deletion and saw the success message. She then checked the other group types and found no more.
The chart of accounts change went through without the error. Neha documented the deleted groups in the project workbook and added a line to the checklist asking the team to clear demo groups before every restructuring.
| Symptom | Likely Cause | What to Check |
|---|---|---|
| Message returns after deleting LEARN1_COS. | Other groups still exist. | List cost element, profit center, order and activity type groups. |
| Group cannot be deleted. | It is used as a standard hierarchy or inside another group. | Remove it from the parent group first and review the standard hierarchy setting. |
| Group not found in KSH2. | Wrong controlling area is active. | Set the controlling area to 2005 and try again. |
| Authorization error. | The user lacks authorization to change groups. | Ask the security team for the right role. |
| Group disappears but the change is still blocked. | Other master data depends on the old chart of accounts. | Review the controlling area change rules with the finance team. |
The chart of accounts assigned to a controlling area decides which G/L accounts, and therefore which cost elements, can be used in that area. Groups such as cost element groups hold references to those accounts. If SAP allowed the chart of accounts to be swapped while those groups still existed, the groups would point to accounts that no longer belong to the area, and reports built on them would show wrong or missing data.
For that reason SAP forces a clean start. The groups, and any data tied to them, have to be reset or deleted first. Only then is the structure free to change. It can feel like an obstacle, but it is really a safeguard that keeps finance reporting consistent, which is especially valuable in a system that holds years of controlling data.
A second point is worth remembering. This message normally appears early in a project, during design or sandbox preparation, not during daily operations. If you see it in a productive system with live postings, stop and involve the finance owner before deleting anything, because a change of chart of accounts in a live controlling area is a major decision and not a routine clean-up.
A clean-up goes faster and safer when it is planned like a small project. Use the table as a starting checklist and adjust it for your own landscape.
| Phase | Action | Owner |
|---|---|---|
| Prepare | List all groups in controlling area 2005 and take screenshots. | Functional consultant |
| Approve | Confirm with the controller that no live report or cycle uses the groups. | Finance lead |
| Test | Delete one group in a sandbox and confirm the result with KSH3. | Functional consultant |
| Execute | Delete the remaining groups in the agreed order, then save. | Functional consultant |
| Verify | Repeat the original change and confirm the message is gone. | Functional consultant |
| Document | Record every deleted group, the date and the reason. | Project team |
Following the same phases each time makes the work repeatable, and it gives auditors a clear trail of who changed what and why.
Groups, controlling areas and the rules around changing the chart of accounts still matter in SAP S/4HANA, although several master data objects were merged or redesigned compared with classic ERP. For example, cost elements became part of the G/L account master. Screens, transaction codes and Fiori apps may therefore differ from the classic examples shown here. Confirm the group transactions and the exact message behaviour in your own release before you plan the work. The principle is the same: groups built on the old structure must be removed or reset before the structure can change.
Q: Why does SAP say groups still exist in the controlling area?
Because groups built on the current structure exist, and SAP will not allow a fundamental change such as a new chart of accounts until they are reset or deleted.
Q: Which transaction deletes a cost center group?
KSH2. KSH3 is used to display and verify groups and KSH1 creates them.
Q: Is a transport request needed?
Normally not, because groups are master data rather than customizing. Test first and document the change.
Q: What should you do if the message returns after deleting one group?
Check the other group types, such as cost element, profit center, order and activity type groups, and confirm the controlling area.
Q: What should you check before deleting a group?
Whether any live report, allocation or authorization still uses it, and whether you have a screenshot for recovery.
Once the message is gone and the chart of accounts change is complete, the work is not quite finished. Groups that were deleted may have been used for reporting, so the finance team will probably want to rebuild a clean set based on the new structure. Create the new cost center and cost element groups only after the chart of accounts is stable, and give them clear names and owners from the start.
Next, review any report, allocation cycle or authorization that referred to the old groups, and update it to use the new ones. Run a short test with a real cost center, post a sample document, and confirm the amounts appear where the controller expects. Finally, update the project documentation with the final structure, the date of the change, and the people who approved it, so the next consultant can understand the history without guessing.
Taking these extra steps turns a one-time fix into a stable setup, and it prevents the same message from returning the next time someone touches the controlling area.
The error "Groups still exist in controlling area 2005" looks serious but has a simple cause: groups built on the old structure still exist. Use KSH3 to check the groups, open KSH2, select the group such as LEARN1_COS, choose Group and Delete, confirm and save. Repeat for any other group type, then repeat the original change. Keep a record of every deletion and test in a sandbox first. If you run into any errors while following along, feel free to send a screenshot to pramod@learntosap.com for help.