SAP Business One Service Module: Calls, Contracts, and Equipment Cards - featured image

Publications

Service Module in SAP Business One: Calls, Contracts, and Equipment Cards

Hector Pincheira

Hector Pincheira

CIO | CTO
Digital Strategy & Technology Innovation

items

How many support calls did your company get last month? How many are still open? If you can't answer in under a minute, you have a management problem, not a technology problem. The SAP Business One service module exists for exactly that: turning the chaos of emails, phone calls and loose spreadsheets into a measurable after-sales process. Yet it is one of the most underused modules in the ERP. In this tutorial you will learn to configure it step by step: equipment cards, service contracts and service calls, plus three SQL queries ready to run.

Why you need the SAP Business One service module

The sale doesn't end with the invoice. In companies that sell equipment, machinery or technical services, after-sales is what decides whether the customer buys again. Most of them, though, handle warranties and complaints outside the ERP: the technician's Excel file, the salesperson's email, the service manager's memory.

The consequences are predictable. First, repairs get done for free on equipment whose warranty already expired, because nobody checked the contract. Second, complaints get lost or answered late, with no clear owner. As a result, the cost of service grows invisibly and the customer experience degrades without a single report showing it.

The service module solves this with three connected objects. The equipment card records every item sold with its serial number and full history. The service contract defines what coverage the customer has and until when. Finally, the service call documents each incident, with owner, timings and resolution. All inside the same ERP where your sales and inventory already live.

Prerequisites

Before you start, check the following:

  • SAP Business One 9.3 or higher (SQL Server or HANA). The service module is included in the Professional license; CRM Service users can also reach it.
  • Items managed by serial number, at least for the products that require after-sales support.
  • Superuser rights or authorizations on the Service module in order to make the settings.
  • Access to the Query Manager to run the SQL reports.

Step-by-step tutorial: configuring the service module

SAP Business One service module - technician performing equipment maintenance
The service module connects every unit sold with its service history.

Step 1: Enable automatic creation of equipment cards

The Customer Equipment Card is the life record of each unit sold. For it to be generated on its own at invoicing, configure the item first.

Go Inventory → Item Master Data, select the item and open the Generaltab. Then, in the Manage Item byfield, select Serial numbers. Next, go to Administration → System Initialization → General Settings → Inventory → Items and check the box for automatic creation of equipment cards at delivery or invoicing.

From then on, every time you invoice a serialized item, SAP Business One will create the equipment card with the customer, the serial number and the date. So when that customer calls about a fault, you will find the unit in two clicks at Service → Customer Equipment Card.

Step 2: Create service contract templates

The service contract defines the coverage: warranty, response times and validity. To avoid creating them one by one, SAP Business One works with templates.

Go Administration → Setup → Service → Contract Templates. Define, for example, a template called WARRANTY-12M with a 12-month duration, parts and labor coverage, and a guaranteed response time of 48 hours. You can also define whether the contract covers public holidays and during which hours.

Then go back to the item master data, the Generaltab, and assign the template in the Warranty Templatefield. That way, when you invoice the equipment, the system will automatically create the equipment card and its associated warranty contract. Zero manual typing.

Step 3: Log and manage service calls

The service call is the operational heart of the module. Go to Service → Service Call and log: customer, equipment serial number (the system validates the warranty automatically), subject, problem type, priority and assigned owner.

Here is the detail almost nobody configures: problem types. Go to Administration → Setup → Service and define call types, problem types and service queues. Without that classification, you won't be able to analyze anything later. If 40% of your calls come from failures of the same component, that is information to negotiate with your supplier, not just a support statistic.

Each call also records the activities performed, the solutions applied and the associated expenses (spare parts consumed against inventory). As a result, you get the real cost of service per customer and per unit.

SQL queries for the service module

The configuration above generates data. But data is only worth something if you turn it into decisions. Below are three queries I use in real implementations, in both versions: SQL Server and SAP HANA. Run them from Tools → Queries → Query Generator.

Query 1: Open service calls with an ageing traffic light

This query shows every call that isn't closed, how many days it has been open and a criticality traffic light. It is the service manager's daily dashboard.

SQL Server

-- Open service calls with ageing (SQL Server)
SELECT
    T0.callID AS 'Call No.',
    T0.custmname AS 'Customer',
    T0.subject AS 'Subject',
    T1.Name AS 'Problem Type',
    T0.createDate AS 'Creation Date',
    DATEDIFF(DAY, T0.createDate, GETDATE()) AS 'Days Open',
    CASE
        WHEN DATEDIFF(DAY, T0.createDate, GETDATE()) > 7 THEN 'CRITICAL'
        WHEN DATEDIFF(DAY, T0.createDate, GETDATE()) > 3 THEN 'WARNING'
        ELSE 'NORMAL'
    END AS 'Traffic Light'
FROM OSCL T0
LEFT JOIN OSCP T1 ON T0.problemTyp = T1.prblmTypID
WHERE T0.status <> -3
ORDER BY DATEDIFF(DAY, T0.createDate, GETDATE()) DESC

SAP HANA

-- Open service calls with ageing (SAP HANA)
SELECT
    T0."callID" AS "Call No.",
    T0."custmname" AS "Customer",
    T0."subject" AS "Subject",
    T1."Name" AS "Problem Type",
    T0."createDate" AS "Creation Date",
    DAYS_BETWEEN(T0."createDate", CURRENT_DATE) AS "Days Open",
    CASE
        WHEN DAYS_BETWEEN(T0."createDate", CURRENT_DATE) > 7 THEN 'CRITICAL'
        WHEN DAYS_BETWEEN(T0."createDate", CURRENT_DATE) > 3 THEN 'WARNING'
        ELSE 'NORMAL'
    END AS "Traffic Light"
FROM OSCL T0
LEFT JOIN OSCP T1 ON T0."problemTyp" = T1."prblmTypID"
WHERE T0."status" <> -3
ORDER BY DAYS_BETWEEN(T0."createDate", CURRENT_DATE) DESC

Status -3 corresponds to closed calls in the OSCL table. The query therefore brings back everything open and pending. The 3 and 7 day thresholds are adjustable to your service commitment.

Query 2: Average resolution time by owner

Who resolves fast and who piles up cases? This query measures the real performance of the service team over the last six months.

SQL Server

-- Average resolution time by owner (SQL Server)
SELECT
    T1.U_NAME AS 'Owner',
    COUNT(T0.callID) AS 'Closed Calls',
    AVG(DATEDIFF(DAY, T0.createDate, T0.closeDate)) AS 'Avg Days'
FROM OSCL T0
INNER JOIN OUSR T1 ON T0.assignee = T1.USERID
WHERE T0.status = -3
  AND T0.closeDate >= DATEADD(MONTH, -6, GETDATE())
GROUP BY T1.U_NAME
ORDER BY AVG(DATEDIFF(DAY, T0.createDate, T0.closeDate)) ASC

SAP HANA

-- Average resolution time by owner (SAP HANA)
SELECT
    T1."U_NAME" AS "Owner",
    COUNT(T0."callID") AS "Closed Calls",
    AVG(DAYS_BETWEEN(T0."createDate", T0."closeDate")) AS "Avg Days"
FROM OSCL T0
INNER JOIN OUSR T1 ON T0."assignee" = T1."USERID"
WHERE T0."status" = -3
  AND T0."closeDate" >= ADD_MONTHS(CURRENT_DATE, -6)
GROUP BY T1."U_NAME"
ORDER BY AVG(DAYS_BETWEEN(T0."createDate", T0."closeDate")) ASC

With this report, the performance conversation stops being subjective. It also lets you balance the load: if one technician accounts for 60% of the closures, you have a bottleneck and a knowledge-loss risk.

Query 3: Service contracts expiring within 60 days

Every contract that expires without being renewed is recurring revenue lost in silence. This query is, therefore, a commercial tool more than a technical one.

SQL Server

-- Contracts expiring within 60 days (SQL Server)
SELECT
    T0.ContractID AS 'Contract No.',
    T0.CstmrName AS 'Customer',
    T0.StartDate AS 'Start',
    T0.EndDate AS 'End Date',
    DATEDIFF(DAY, GETDATE(), T0.EndDate) AS 'Days Remaining'
FROM OCTR T0
WHERE T0.Status = 'A'
  AND T0.EndDate BETWEEN GETDATE() AND DATEADD(DAY, 60, GETDATE())
ORDER BY T0.EndDate ASC

SAP HANA

-- Contracts expiring within 60 days (SAP HANA)
SELECT
    T0."ContractID" AS "Contract No.",
    T0."CstmrName" AS "Customer",
    T0."StartDate" AS "Start",
    T0."EndDate" AS "End Date",
    DAYS_BETWEEN(CURRENT_DATE, T0."EndDate") AS "Days Remaining"
FROM OCTR T0
WHERE T0."Status" = 'A'
  AND T0."EndDate" BETWEEN CURRENT_DATE AND ADD_DAYS(CURRENT_DATE, 60)
ORDER BY T0."EndDate" ASC

Hand this list to the sales team every Monday. Contract renewal then goes from reactive to a process with an owner and a date.

SAP Business One service module - service management indicators dashboard
The queries turn service calls into management indicators.

Variations and use cases

The three queries above are the baseline. You can adapt them to your own operation, though:

Recurring failure analysis: group the calls by item (the itemCode field in OSCL) and problem type. If one model concentrates the failures, you have hard evidence to claim against the manufacturer or discontinue the product.

Service cost per customer: cross OSCL with service expenses to identify customers whose support costs more than their margin. You will be able to reprice contracts with data instead of intuition.

Automatic alerts: any of these queries can be hooked into the SAP Business One alert system so the service manager gets the critical calls every morning without opening a single report.

Industrial maintenance companies: use the equipment cards as a register of customer assets and schedule preventive visits from the contracts. The module is not only for product warranties; it also works for recurring services.

Best practices and common mistakes

Mistake 1: logging calls without classifying them. If every case ends up as a generic type, later analysis is impossible. Define problem types from day one and make the selection mandatory.

Mistake 2: not serializing items. No serial number means no equipment card, and no card means no history and no warranty validation. Serialize at least your higher-value products.

Mistake 3: closing calls with no documented solution. The SAP Business One solutions knowledge base lets you reuse answers. But it only works if the technicians document at closing. Make that a process rule, not a suggestion.

Mistake 4: measuring volume only. Counting calls handled tells you nothing. Measure resolution time, recurrence and cost per case. Do that and the service area stops being a black box of costs.

Official SAP resources

To go deeper, check the official documentation: the service call guide in the SAP Help Portal and the service process courses on SAP Learning. The SAP Community also has active threads on the OSCL, OCTR and OINS tables for advanced queries.

Conclusion

The SAP Business One service module needs no extra licenses and no custom development. You already have it; it just needs configuring. In less than a week you can have automatic equipment cards, contracts with controlled validity and a daily dashboard of critical calls.

The difference between an after-sales operation that destroys margin and one that builds loyalty is not in the software: it is in the decision to manage it with data. Configure the module this week, run the three queries and review the results with your team. What you find —expired warranties serviced for free, forgotten cases, contracts never renewed— will more than pay for the hour invested in this tutorial.

Does your company already use the service module? If you need to adapt these queries to your operation, leave me a comment or write to me directly.

Most Read

Ballena jorobada bajo el agua con su aleta pectoral extendida: la esperanza en la tecnología y la biomimética
La ballena que volvió: la esperanza en la tecnología y la que no cabe en un tablero
SAP data in ChatGPT: an open door at the far end of a dark room
The Tab Next Door: The SAP Data in ChatGPT That Nobody Authorized
SAP Business One Purchase Price Variance - featured image of the tutorial
SAP Business One Purchase Price Variance: Detect the Inflation in Your Buying Costs
QlikSense format changeovers: actual minutes against the standard
QlikSense Format Changeovers: the Minutes Nobody Bills
QlikSense buttons and actions: executive dashboard with indicators
QlikSense Buttons and Actions: the Dashboard that Runs the Meeting
SAP Business One Internal Reconciliation - featured image of the tutorial
SAP Business One Internal Reconciliation: Clear False Open Items

RELATED ARTICLES