Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
varunvenkat
Product and Topic Expert
Product and Topic Expert
In this blog post, I would like to demonstrate how the assignment of costs and revenues works in service transactions in S/4HANA Cloud. I’ll be using the service orders and service contracts as examples of service transaction to illustrate how the costs and revenues from these transactions are carried over into Finance and assigned to the relevant controlling objects.

Let’s first start with a detailed introduction of all the different combinations that are possible for the assignment of costs and revenues when considering service orders and service contracts. This is crucial to consider, as there are multiple accounting assignment objects available to book the costs and revenues against – for example Cost Centers, Sales Orders, Service Orders, Service Contracts or project WBS (Work breakdown structure) elements. For the service transactions, we consider only the objects Service Order, Service Contract and WBS elements.
Please note: in LoB service management in S/4HANA public Cloud, only the Service orders and service contracts can be used as “real” account assignment objects, the WBS element is purely a statistical account assignment object.

To understand the impact of the various combinations involved, I’ve setup the following transactional data:

  • Two service contracts: 1 with a WBS element, 1 without a WBS element

  • 4 service orders, with the combinations listed below:






















































Service Order (SO) WBS element in SO Service Contract WBS Element in Service Contract WBS element that is booked statistically
X - - - -
X R.000004 - - R.000004
X - X - -
X R.000004 X - -
X - X R.000004 R.000004
X R.000007 X R.000004 R.000004

The table above details the different possibilities of account assignment objects in service orders. Let’s break down the meaning of these results:

  1. Order without a contract => specification of the WBS element in the order has relevance (statistical booking of costs and revenues). The real account assignment is still against the service order.

  2. Order with a contract (but the contract has no WBS element) => The WBS element (or in this case lack of a WBS element) in the contract has precedence over any WBS element entered in the service order. Due to this, even if a WBS element is specified in the order at (only possible on header level), it is of no relevance (not even statistically). Here too, the real account assignment is against the service order.

  3. Order with contract (contract has a WBS element) => WBS element from the contract is statistically booked, regardless of whether a different WBS element or no WBS element at all is specified in the order. The real account assignment is still against the service order.

  4. From the points 2 and 3, one can conclude that the topic of WBS elements in the service order no longer has any relevance as soon as a service contract is determined. Regardless of what is shown on the Service Order UI, a statistical booking is done against the WBS element from the contract. If the contract doesn’t specify a WBS element but, this still has precedence and there will be no statistical booking, even if a WBS element is specified on the service order.


Finally, a special case to consider, which is not listed in the table above. This is a sort of “mixed” service order, in which only item 10 is linked to a contract (with or without a WBS element) and item 20 is not linked to a contract. In this special case, the account assignment takes place as follows:

  • Item 10: if the determined contract has a WBS element, the statistical booking is done against this. If not, there is no statistical booking.

  • Item 20: if a WBS element is additionally assigned to the service order item, the statistical booking is done against this if there is no WBS element additionally specified in the service order, there is no statistical booking.


 

*Note: in order to get an insight into how the costs and revenues are assigned to account assignment objects, use the app “Display Line Items in General Ledger”. There add the search filter “Service Document” where you can enter a service order ID to display the results for. Change the "Status" field to show All Items. After clicking "Go", click “Expand All” to show the individual journal entries.


Finally add the table filter columns “Account Assignment”, “Service Contract” and “WBS Element is Stat.” to view the desired results.


 

Key takeaways:

  • The service order is always the real account assignment object for the costs and revenues.

  • The WBS element in a service order or contract is purely used statistically as an account assignment object. This means that the account assignment object can only be used for reporting purposes but the incurred costs and revenues cannot be passed on from the WBS element to other costs collecting objects.

1 Comment