Business Example

- Let us look at a business example:
- Assuming you are implementing SAP Business One at a company with three departments: sales, support, and development.
- Naturally, the sales department generates more revenue than the other departments. On the other hand, they also have a lot of expenses: travel, hotel, dinner, conferences, advertising, bonuses, and so on.
- The accountant of the company asks you how they can find out the bottom line for each department. How can they issue a profit and loss report for a department?
What is Cost Accounting in SAP Business One?
Before diving into the cost accounting process, let us review the relevant terminology as it is defined in SAP Business One.
- In addition to their regular bookkeeping, many businesses perform expense and revenue analyses that measure the profitability of each of their business activities or departments.
- For this purpose, you define company units for each business activity or department. These are the cost centers which are used to consolidate the expenses and revenues resulting from the ongoing activity of the specific organizational unit.
- A distribution rule is a cost accounting method used to allocate direct and indirect expenses and revenues to one or more cost centers. It contains information regarding the portion or the fixed amounts of the expenses or revenues to be allocated to each cost center.
- When working with the cost accounting process, costs submitted to the general ledger are automatically distributed to the cost centers using the defined distribution rules.
- The cost accounting function in SAP Business One enables you to define sets of cost centers and distribution rules. Generating respective reports provides important cost-related information. The system collects the data posted to accounts and presents it in different ways in reports.
Cost Centers

- To use the cost accounting functions in SAP Business One, you must define the profit centers or departments in the company as cost centers. You can then compile a profit and loss statement for each cost center in every period.
- In our example, OEC Computers defined their three departments: sales, support, and development as cost centers.
- You can combine your cost centers into groups by using a sort code.
- Choose Financials Cost Accounting Cost Centers to define and maintain cost centers.
- The system automatically creates a center zero cost center (Center z) that collects the costs and revenues that cannot be clearly distributed to other cost centers because not enough information is available. The Center_z cost center can also record costs that are not to be reported in internal cost accounting. For example, if you want to show only 80% of your rental expenses as costs, you can assign the remaining 20% to Center_z.
Distribution Rules - Link Between General Ledger and Cost Accounting

- If you want to include costs submitted to the general ledger in cost accounting automatically, you should link an account to a distribution rule in the Chart of Accounts.
- You can only link accounts with the account type Sales or Expenditure in the chart of accounts.
- Distribution rules define how the costs or revenues posted for an account are distributed to the cost centers.
- In everyday work, you post journal entries or marketing documents to a G/L account that is linked to a distribution rule.
- When you create a cost center, the system automatically creates a distribution rule with the same name. This rule (which cannot be changed) is configured so that the system posts all the costs or revenues to the relevant cost center. In other words, the system does not split the amounts. You can use these distribution rules for direct costs and revenues, which you can assign uniquely and in full to a specific cost center.
- For example, in OEC Computers, company car expenses are assigned directly to the Sales cost center, since only sales employees have company cars.
- After linking the car expenses account to the Sales distribution rule, each time you issue an expense to the company car expense account, the full amount will be allocated directly to the sales cost center.
Indirect Cost and Revenue Allocation

- Indirect costs and revenues are not allocated directly to a cost center. Instead, you allocate them to one or more cost centers using a distribution rule. In the distribution rule, you specify how the amount is to be allocated amongst the cost centers. You can allocate by percentage or ratio. For example, you can distribute costs to the cost centers in accordance with the size of the department areas. Similarly, you can distribute voluntary employee benefits among the number of employees.
- If you cannot define the total allocation (because you do not have enough information at the time), the system allocates any unassigned costs or revenues to the Center_z cost center. When you have the information you need, you can change the distribution rule so that the system corrects the distribution accordingly.
- Choose Financials Cost Accounting Distribution Rules to define and maintain distribution rules.

- As you do with direct costs and revenues allocation, link the relevant accounts to an indirect distribution rule in the Chart of Accounts.
- Post a journal entry or marketing document to a G/L account that is linked to a distribution rule.
- In our example, each time you issue an expense to the electricity expense account, the amount will be automatically allocated to the different departments according to the distribution rule definition.
Cost and Revenue Allocation

- You can change the distribution rule set in the G/L account when you issue a marketing document or a manual journal entry.
- For journal entries created from marketing documents and for manual journal entries, you can change the allocated distribution rule at any time.
- This distribution rule takes priority over the rule defined in the G/L account and in the marketing document.
- In the journal entry, choose the G/L account row and use the distribution rule field in the table or in the Expand Editing Mode.
Manual Distribution Rule

- When posting a manual journal entry, you have the option to define a manual distribution rule.
- The amount you enter in the journal entry row is the total amount to be distributed.
- In the Define Manual Distribution Rule window, choose the cost centers and allocate the amount between them.
- You will NOT be able to use this manual distribution rule in future journal entries.
- You can see the amounts of this distribution rule in the Distribution Report and the Cost Accounting Summary Report.
Allocation by Fixed Amount

Sometimes fixed amounts are required to be allocated to specific cost centers. For example, the sales employees are in the field a lot; however, the support and development employees are not. So, the company wants to allocate a fixed amount of the monthly rent expense to the support department and the development department. To achieve this, in the distribution rule setup you can define a fix amount of 3000 for support and development cost Centers.
You can include the sales cost center too with no cost value to absorb any differences.
Note!
- When issuing costs, the fixed allocated amounts will remain the same. In case there is a difference between the defined total amount (6000 in our example) and the cost amount submitted every month, the rest of the cost will be submitted to the cost center with no defined value (the sales cost center in our example).
- In case you keep only the support and development cost centers defined. Any difference will be allocated to the zero cost center (Center_z).
- This refers to both cases - when the cost amount is higher or lower than the total defined amount.
Table of Cost Centers and Distribution Rules

- Once OEC Computers has set up their cost centers and distribution rules, they can view the allocations in a table format.
- Choose Financials Cost Accounting Table of Cost Centers and Distribution Rules to display the allocations for distribution rules.
- Here we see an example of how OEC Computers could set up their distribution rules to distribute costs to the appropriate department cost centers.
Summary
Here are some key points:
- To use the cost accounting functions, you must define the profit centers or departments in the company as cost centers.
- When you create a cost center, the system automatically creates a distribution rule with the same name. This rule is configured so that the system posts all the costs or revenues to the relevant cost center.
- Indirect costs and revenues are not allocated directly to a cost center. Instead, you allocate them to one or more cost centers using an indirect distribution rule. In the distribution rule, you specify how the amount is to be allocated among the cost centers.
- To automatically include costs from the general ledger in cost accounting, link a distribution rule to accounts in the Chart of Accounts.
- Each time you issue an amount to these accounts, the amount will be automatically allocated to the different departments according to the distribution rule definition.
- You can change the distribution rule set in the G/L account when you issue a marketing document or a manual journal entry.
- For journal entries created from marketing documents and for manual journal entries, you can change the allocated distribution rule at any time.
- This distribution rule takes priority over the rule defined in the G/L account and in the marketing document.





