Sub topic 7
Defining the enterprise structure
This chapter assumes you know what a company code, plant and storage location are in an ERP system, and that you have already created an implementation project and selected scope items in Central Business Configuration (CBC). If not, review those chapters first.
What the enterprise structure is
The enterprise structure is the model of your organization inside the solution. It lists the organizational units that your business processes run on, such as legal entities, plants and sales organizations, and it states how they relate to each other.
In an on-premise SAP system you create each organizational unit in separate configuration transactions and then assign them one by one. In CBC you describe the structure once, in the implementation project, and CBC creates the matching configuration in every system of the landscape when you deploy. This keeps development, test and production systems consistent.
The structure you need depends on the scope items you selected. A scope item for sales needs a sales organization. A scope item for production needs a plant. CBC offers only the organizational unit types that your scope requires.
Where it sits in the project flow
The enterprise structure comes after scope selection and before scoping questions and configuration activities. Some scoping questions and configuration activities only appear once the structure exists, because they refer to specific organizational units.
Building the structure
You work in the Enterprise Structure step of your implementation project. The usual sequence is as follows.
- Open the implementation project and go to the enterprise structure step.
- Create the organizational units that the scope requires. Typical examples are company, company code, plant, sales organization, purchasing organization, and storage location.
- Give each unit an ID and a name. Check the ID rules shown on screen, such as length and allowed characters.
- Assign the units to each other. For example, assign a plant to a company code, and a sales organization to a company code.
- Check the structure for errors and save it.
Some details differ by unit type, so use the on-screen validation messages as your guide.
Organizational units and their relationships
The table lists common units and what they usually need.
| Unit | Purpose | Typical assignment |
|---|---|---|
| Company | Group of company codes for consolidation | Contains company codes |
| Company code | Legal entity with its own books | Belongs to a company |
| Plant | Production or distribution site | Assigned to a company code |
| Storage location | Place where stock is kept | Belongs to a plant |
| Sales organization | Responsible for selling and pricing | Assigned to a company code |
| Purchasing organization | Responsible for buying | Assigned to a company code or plant |
The exact set of available units and rules depends on your release and scope. Treat the table as a guide, not a reference.
Design decisions to make before you enter data
Changing the structure later is harder than getting it right now, so decide these points first.
- Legal entities. Each company code is a separate set of books. Create one per legal entity that must report separately.
- Plants. Create a plant for each location that holds stock, produces or ships. Do not model a department as a plant.
- Sales and purchasing. Decide whether one sales organization serves several company codes' customers or whether each entity sells independently. Keep the model as simple as the business allows.
- Naming. Use IDs that are stable and meaningful. IDs usually cannot be renamed after use, so avoid embedding values that may change, such as a manager's name.
- Countries. The country of a company code drives localization, tax and legal reporting. Pick it carefully.
Interaction with scope and scoping questions
The structure is linked to the scope. If you add a scope item later that needs a new organizational unit type, CBC asks you to extend the structure. If you remove a scope item, units that only it required may become unnecessary, but data already created in a deployed system does not disappear automatically.
Scoping questions often depend on the structure. For example, a question about the valuation level or the controlling area setup is answered once and applies to the units you defined. Answer the structure first so that these questions show up in the right context.
Deployment behaviour
Defining the structure in the project does not change any system by itself. The units reach a system only when you deploy the project to it. In a typical landscape:
- You deploy to the test system first and check that the units exist and the assignments work.
- After testing, you deploy the same project content to production.
Because the same definition is used for each system, you avoid the mismatches that occur when people maintain organizational units by hand in each tenant.
Common errors
- Missing assignment. A plant without a company code assignment cannot be used in processes. The validation step reports this. Fix the assignment before deploying.
- Duplicate or invalid IDs. IDs must be unique within their type and follow the length rules. Correct them before saving.
- Structure too detailed. Creating a plant per warehouse shelf or a company code per cost center leads to heavy master data and reporting work. Model only what the business needs.
- Structure too thin. If you merge legal entities into one company code to save effort, you cannot later report them separately without a migration.
- Late scope changes. Adding a scope item at the end of the project may need new units. Review the structure whenever the scope changes.
Checking your result
Before moving on, confirm the following.
- Every legal entity that needs separate books has its own company code.
- Each plant, sales organization and purchasing organization is assigned to the right parent.
- IDs follow your naming convention.
- The project shows no validation errors for the enterprise structure step.
- The structure covers all selected scope items and no more.
Exercise
A client sells goods through two legal entities in different countries. Both ship from one shared warehouse. List the organizational units you would define and how you would assign them. Name one decision that is hard to reverse after deployment.
Show answer
Create two company codes, one per legal entity, each with its country set correctly. Create one plant for the shared warehouse and assign it to one company code, because a plant belongs to a single company code. If the second entity must also use that stock, consider a separate plant for it or a stock transfer process, depending on the legal setup. Create a sales organization for each company code, and storage locations under the plant as needed. The hard-to-reverse decisions are the organizational unit IDs and the company code country, since both are used in business data once the units are deployed and used.
Exercise
You add a scope item for production planning after deploying the enterprise structure to test. What should you check in the structure, and what do you do before deploying to production?
Show answer
Check whether the new scope item requires organizational unit types or assignments that do not exist yet, such as a plant assigned to the correct company code. Extend the structure in the project, resolve any validation errors, answer any new scoping questions that depend on it, deploy to the test system, verify the new units there, and only then deploy to production.