Sub topic 13
Quality, maintenance, projects, and HR
This chapter covers four areas that sit beside the core flows of Finance, Procurement, Sales, Inventory, and Manufacturing: Quality Management (QM), Plant Maintenance (PM), Project System (PS), and Human Resources (HR). It assumes you know the organizational structure (client, company code, plant), shared master data, and the idea that operational documents create accounting postings in the Universal Journal.
Why these areas are "other"
These areas rarely start a business process on their own. They attach to documents and objects that already exist: a material, a plant, a purchase order, a cost object. Each one is a consumer of shared master data and a producer of financial postings.
| Area | Typical module code | Main question it answers | Main organizational anchor |
|---|---|---|---|
| Quality Management | QM | Is this material or product good enough? | Plant |
| Plant Maintenance | PM (Enterprise Asset Management) | Are our technical assets working and who repaired them? | Plant, maintenance planning plant |
| Project System | PS | What does this project cost and when is it done? | Controlling area, company code |
| Human Resources | HR / HCM, SuccessFactors | Who works here and how are they paid? | Company code, personnel area |
Quality Management
QM checks the quality of materials and products at defined points in a process. It does not own the material. It extends the material master with a quality management view, which is activated per plant.
Core objects
- Inspection lot: a request to inspect a defined quantity of a material. The system creates it automatically from an event such as a goods receipt, a production order release, or a delivery.
- Inspection plan: the instructions for the inspection, listing the characteristics to check (for example length, pH, or color) and the sampling method.
- Usage decision: the final accept or reject decision on the lot. It can trigger a stock posting from quality inspection stock to unrestricted stock, or to blocked stock.
- Quality notification: a record of a defect or complaint, from a customer or a supplier, that can start follow-up tasks.
How QM connects to other modules
- In procurement, a goods receipt can post stock into quality inspection stock. The goods stay unavailable until the usage decision releases them.
- In manufacturing, inspections can occur during production and at the final goods receipt of a production order.
- In sales, a delivery can trigger an inspection lot, and customer complaints can open quality notifications.
- In finance, the usage decision causes stock transfers that change inventory valuation categories only if the stock type changes valuation. In most setups, the move between stock types changes quantity status, not value. Scrap and returns to the supplier do create financial effects.
Plant Maintenance
PM, now commonly called Enterprise Asset Management, manages the upkeep of technical objects such as machines, vehicles, buildings, and production lines.
Core objects
- Functional location: a place in a structure where maintenance happens, for example "Packaging line 2".
- Equipment: an individual object that can be installed at a functional location, for example one specific filling machine.
- Maintenance notification: a report that something is wrong or that work is requested.
- Maintenance order: the planned and costed work, including operations, required spare parts, and labor.
- Maintenance plan: a schedule that creates orders at time or usage intervals, such as every 500 operating hours.
The maintenance cycle
- Someone creates a notification, or a maintenance plan generates a scheduled call.
- A planner turns it into a maintenance order and assigns operations and components.
- The system reserves or requisitions spare parts, which links PM to Inventory and Procurement.
- Technicians perform the work and confirm time and parts used.
- The order is technically completed and then settled, so the costs move to a cost center or an asset.
Step 5 is the financial link. Costs collect on the order and settle to the receiver set in the settlement rule. This is the same principle that the Universal Journal uses for all cost objects: one posting, with the order as an account assignment.
Project System
PS manages projects that last weeks or years and consume money across many departments, such as building a plant or delivering a customer implementation. It does not replace project management software for tasks. It provides the structure that ties costs, revenues, and dates to Finance and Logistics.
Core objects
- Project definition: the top-level container with basic data such as the controlling area and profile.
- Work breakdown structure (WBS) element: a node that divides the project into deliverables or phases. Costs and revenues are assigned to WBS elements.
- Network and activities: the scheduled work that can order materials, book internal labor, or procure external services.
- Milestone: a key date that can trigger events such as billing.
Typical connections
- A purchase order or requisition can carry a WBS element as account assignment. Costs then appear on the project when the goods receipt or invoice is posted.
- A sales order item can be assigned to a WBS element, so customer projects show revenue next to cost.
- Material components can be reserved against project stock, which keeps that stock reserved for the project and out of general availability.
- At period end, project costs are settled to an asset under construction, a cost center, or profitability analysis.
Because the Universal Journal stores the WBS element as a field in ACDOCA line items, project reports read the same table as the general ledger. There is no separate reconciliation between PS and FI.
Human Resources
HR covers employee data, time, and payroll. This is the area where the landscape differs most between deployments, so check what your system actually uses.
- Employee master data: in S/4HANA the employee is represented through the business partner model. Integration with the business partner is what lets an employee also be a supplier or a customer record, and it lets the employee be a user, buyer, or approver in other modules.
- SAP SuccessFactors: the cloud suite for core HR, talent, and recruiting. Many S/4HANA customers run SuccessFactors as the system of record for employees and replicate the data to S/4HANA.
- SAP HCM for S/4HANA (on-premise): the classic HR and payroll functions, available in private edition and on-premise systems under SAP's compatibility scope. SAP has announced an end of mainstream maintenance for it, so new projects plan for SuccessFactors.
- Time and payroll: working time can feed Plant Maintenance (confirmations), Project System (time sheets), and Controlling (internal activity allocation). Payroll results post to Finance as expense and liability documents.
Where HR touches the other areas
| Link | What flows |
|---|---|
| HR to Controlling | Cost center assignment, activity allocation based on hours |
| HR to Finance | Payroll postings, travel expenses |
| HR to Project System | Time sheets booked on WBS elements |
| HR to Procurement | Employee as requester, approver, or buyer |
Common errors and gotchas
- Missing view: a QM or PM function fails because the material master view or plant-level setting was never maintained. Check the plant data on the master record first.
- No settlement rule: a maintenance order or WBS element accumulates costs that never reach the receiver. Always set the settlement rule before period close.
- Wrong controlling area: a WBS element and the cost center it settles to must belong to the same controlling area.
- Assuming HR is in S/4HANA: in a cloud public edition, employee data lives in SuccessFactors, not in classic HCM tables.
Reading the data
Because these areas use shared tables, you can combine them with queries you already know. The query below lists the postings in the Universal Journal that carry a WBS element for one company code.
SELECT rbukrs, ps_posid, racct, SUM( hsl ) AS amount
FROM acdoca
WHERE rldnr = '0L'
AND rbukrs = '1010'
AND gjahr = '2024'
AND ps_posid <> ''
GROUP BY rbukrs, ps_posid, racct
INTO TABLE @DATA(project_costs).The field ps_posid in ACDOCA holds the WBS element. A maintenance order appears the same way in the order field aufnr, so the same pattern lets you report on maintenance costs.
Exercise
A maintenance order for a pump consumed spare parts and 6 hours of technician time. Name the two other areas that supply those costs, and say what step moves the costs to a cost center.
Show answer
Inventory supplies the spare parts through a goods issue, and Controlling (fed by HR time confirmations) supplies the labor through activity allocation. Settlement of the order, using its settlement rule, moves the collected costs to the cost center.
Exercise
Goods arrive for a purchase order and the material is relevant for QM. Why can the warehouse not ship the goods to a customer yet, and what releases them?
Show answer
The goods receipt posts the stock into quality inspection stock, which is not available for delivery. An inspection lot is created, and the usage decision on that lot releases the stock to unrestricted use, or blocks or scraps it.