Lesson 11 — Regulatory Compliance

📍 Where we are: Module 11 of SAP_ISU_Course_Outline.pdf — Compliance with industry-specific regulations and standards · Audit trails and documentation.


🎬 The story: Frau Dr. Ostermann sits down

One year after go-live. Meeting room 2. Frau Dr. Ostermann from the regulator has a laptop, a list, and until Thursday.

She does not ask "is your system good?". She asks six questions:

  1. "Show me the meter reading that produced this invoice, and prove it wasn't estimated."
  2. "Show me every price change applied to household tariffs last year — who changed them, when, and when they took effect."
  3. "This customer was disconnected in February. Show me the statutory notice sequence."
  4. "What percentage of your bills last year were estimated? Show me the trend."
  5. "This customer asked for their data in March. Show me what you sent and when."
  6. "Show me who in your organisation can both create a credit memo and post a payment."

Sabine answers all six from the system in under two hours.

That's the whole point of this lesson. Compliance isn't a document you write at the end — it's a property of how the system was configured at the beginning.


🔧 What a utility is actually regulated on

Utilities are among the most heavily regulated businesses in existence, because they're a near-monopoly selling an essential service. Group the obligations into six families:

The six families of utility regulation① MARKET CONDUCTswitching, market communication,deadlines, unbundling② CONSUMER PROTECTIONbilling accuracy, complaints,disconnection rules, notice periods③ METROLOGYmeters as legal instruments:calibration and certification④ DATA PROTECTIONGDPR — consumption datais personal data⑤ FINANCIAL & TAXaccounting standards, tax,retention, auditability⑥ ENERGY POLICYefficiency obligations, levies,reporting, emissionsEvery one of these resolves into a dated master-data setting, a documented process step, or a report.
The six families of utility regulation

The German/EU specifics you should be able to name

This course is delivered in Germany, so the concrete anchors:

Area What it is
EnWG (Energiewirtschaftsgesetz) The German Energy Industry Act — the foundational law: unbundling, grid access, supply obligations, consumer rights
BNetzA (Bundesnetzagentur) The federal regulator; defines market processes
GPKE / GeLi Gas / WiM / MaBiS The regulated market processes for electricity supplier switching, gas, metering operations and balancing — these define the messages and deadlines from lesson 10
StromNZV / GasNZV / NAV Network access and connection ordinances
MsbG (Messstellenbetriebsgesetz) Metering Point Operation Act — the smart-meter roll-out law: who operates meters, what devices are permitted, roll-out obligations, data-handling rules
Eichrecht / MessEG & MessEV Metrology law: meters must be certified, with expiry (lesson 6)
GDPR / DSGVO + BDSG Data protection
GoBD German rules for the auditable keeping of books and digital records
EU Directives Electricity Market Directive (2019/944), Energy Efficiency Directive — customer rights, data access, billing information

You are not expected to be a lawyer. You are expected to know which of these produces a system requirement — because every one of them does.


Where compliance lands in the system

Here's the mapping that makes this lesson practical. Each regulation becomes a configuration, a process, or a report.

Obligation System consequence
Supplier switching within N days Market communication (IDE) with deadline monitoring; failed messages must create work
Bills must show consumption comparison with prior period Bill form + billing history (lesson 7, 9)
Price changes need advance notice to customers Rate/price validity dates + a customer notification process, both dated
Estimated bills must be limited and corrected Estimation logic + estimated-bill rate reporting (lesson 4, 9)
Disconnection requires statutory notice + threshold + offer of instalments Dunning procedure configuration + disconnection process + full documentation
Meters must be certified Device certification validity + replacement planning (lesson 6)
Customers may access their own consumption data Self-service portal + data export (lesson 8)
Personal data: access control, retention, deletion, portability Authorisations, logging, ILM retention rules
Books must be complete, unchangeable, traceable Document principle, reversal-not-deletion, change documents
Levies and taxes collected and reported correctly Rate configuration + tax determination (lesson 7, 10)
Separation of supply and network business (unbundling) Company codes, separate master data, restricted access between the two

🔑 The pattern: almost every regulatory requirement resolves into one of three things — a dated master-data setting, a documented process step, or a report. When someone hands you a new regulation, ask which of the three it is. That's the whole design conversation.


Audit trails: what IS-U records, and how to find it

Frau Dr. Ostermann's questions are all answerable because SAP is built on the document principle: business events create documents, documents aren't deleted, and corrections happen by reversal, not by editing.

The four layers of evidence

1. Change documents (the master-data audit trail) Most IS-U and FI-CA objects log every field change: old value, new value, who, when, and (for time-dependent data) valid-from date. Business partner, contract account, contract, installation, device data, bank details, tariff assignment.

Where to look: the "changes" / environment function inside each object's transaction, plus CDHDR / CDPOS tables underneath.

Answering Ostermann's question 2 (price changes) is a change-document query, plus the validity dates on the price records.

2. Business documents (the transactional trail) Billing documents, invoices, print documents, FI-CA documents, payments, dunning history, service notifications and orders. All immutable, all linked, all reversible rather than editable.

Question 1 (which reading produced this invoice) walks that chain backwards: invoice → billing document → billing period → meter reading result → reading reason and type. The reading type field tells you actual vs. estimated — that's the proof.

3. Process history (the "what happened when" trail) Dunning history per contract account (which level, which date, which activity), disconnection documents, move-in/out history, mass-run logs, market-message logs (sent, received, acknowledged, with timestamps).

Question 3 (disconnection) is entirely this layer: dunning history + notice documents + disconnection order + reconnection, in dated sequence.

4. Technical/security logs Authorisation objects and roles (who could do it), the security audit log (SM20) for critical actions, table change logging where switched on, IDoc processing history.

Question 6 (segregation of duties) lives here: SUIM/GRC analysis of who holds which combination of authorisations.

The reversal principle, restated one last time

It has come up in lessons 4, 6, 7 and now here, because it's the backbone of auditability:

IS-U does not overwrite history. It reverses and redoes. The wrong invoice, the reversal, the corrected invoice and the reason all remain visible and linked, forever.

A system that lets you quietly fix a number is a system that cannot be audited. When a project asks you to build an "update in place" correction to save clicks — this is the paragraph you quote.


Data protection in a utility (the part people underestimate)

Consumption data is unusually revealing personal data. A 15-minute load profile shows: when you wake, when you leave, when you return, when you're on holiday, whether you own an EV, roughly how many people live there, and — with pattern analysis — what appliances you run.

So GDPR isn't a formality here. Concretely:

GDPR requirement IS-U implementation
Lawful basis Contract performance for billing data; consent for marketing and for granular profile analytics beyond what billing needs
Data minimisation Don't store 15-minute data if the tariff only needs monthly totals — a real design decision when smart meters arrive
Access control Role design (lesson 2); agents see far less than they'd like
Right of access / portability Export of the customer's own data — usually a portal function, with a statutory deadline (one month)
Rectification Correct wrong data and tell downstream recipients (market partners!)
Erasure & retention Retention rules per data type (billing data must be kept for tax law — often 6–10 years in Germany — which overrides an erasure request); implemented with SAP ILM in larger landscapes
Records of processing Documentation of what's stored where and why
Breach notification 72-hour clock; you need to know quickly what was exposed

⚠️ The tension worth understanding: "delete my data" and "keep records for tax and regulatory audit" are contradictory obligations, and the tax/regulatory retention usually wins for billing-relevant data while marketing data goes. Retention rules must be per data category, not per customer. Anyone who promises a customer full deletion of their billing history is promising something illegal.


Building compliance in: the practical checklist

If you're on an IS-U project, these are the things that make Ostermann's visit easy:

Configuration - [ ] Dunning procedures encode the statutory sequence, not just a business preference — including minimum thresholds and mandatory instalment offers - [ ] Disconnection is a documented process with its own objects, not an ad-hoc note - [ ] Price and rate changes are always date-effective, never overwritten - [ ] Tax and levy determination is configured and tested per legal change - [ ] Certification validity is maintained on every device category

Process - [ ] Estimation is rule-based and reported on, not discretionary - [ ] Meter reading overrides require a reason and are logged - [ ] Reversal-and-rebill is the only correction path - [ ] Market messages have deadline monitoring and an owner for failures - [ ] Complaints have SLA timers matching the regulatory response times

Access - [ ] Segregation of duties reviewed on money-touching authorisations - [ ] Consumption/profile data access restricted and logged - [ ] Regular access recertification (who still needs what) - [ ] Emergency/firefighter access is time-boxed and logged

Evidence - [ ] Change documents switched on for all compliance-relevant fields - [ ] Mass-run logs retained for the statutory period - [ ] Reports exist (and have been run) for: estimated-bill rate, disconnection sequence compliance, switching deadline adherence, certification expiry, data subject requests - [ ] Retention/deletion rules defined per data category

The meta-point: every item above is something you can only do cheaply at design time. Retrofitting an audit trail after go-live costs ten times as much and is never as good.


What "good" looks like

Sabine's team answered six regulatory questions in two hours. Here's what made that possible, in order of importance:

  1. Nothing was ever overwritten. Reversal-and-redo throughout.
  2. Everything was dated. Every price, every reading, every contract, every device event.
  3. Every process step produced an object, not a note in a free-text field.
  4. Reports existed before they were requested. The estimated-bill rate wasn't built for the auditor; it was on Priya's dashboard already (lesson 9).
  5. Roles were designed, not accumulated. Nobody had "SAP_ALL because it was easier".

None of these are compliance features. They're just IS-U used properly. That's the final insight of the course: a well-run IS-U is compliant almost as a side effect, and a badly-run one cannot be made compliant by adding documents.


🧪 Lab 11 — Be the auditor

Pick a test customer with history and answer Ostermann's questions yourself:

  1. Take an invoice. Walk backwards: invoice → billing document → billing period → meter reading result. Is the reading actual or estimated? Where does the system tell you?
  2. Change a field on a test business partner (say, bank details). Now find the change document: old value, new value, user, timestamp.
  3. Find the dunning history on a test contract account. Can you reconstruct the escalation sequence with dates?
  4. Find where device certification validity is stored and build (or sketch) the report "devices expiring in the next 12 months".
  5. Look at your own user's roles (SU01 → roles, or SUIM). Could you both create a credit and post a payment? Should you be able to?
  6. Ask yourself the hardest one: if a customer demanded deletion of all their data tomorrow, what would you actually be able to delete, and what would you have to refuse — and on what legal grounds?

🎯 Self-check

  1. Name the six families of utility regulation and one system consequence of each.
  2. What are the four layers of audit evidence in IS-U?
  3. How do you prove an invoice was based on an actual, not estimated, reading?
  4. Why is reversal-instead-of-editing a compliance requirement, not a design preference?
  5. Why does a 15-minute load profile need stronger protection than a monthly total?
  6. A customer requests erasure. Which data goes, which stays, and why?
  7. What does "unbundling" require of the system?

Answers: ../exercises/answers_11.md


🧠 One thing to remember

Compliance in IS-U is not a module — it's the consequence of three habits: everything dated, nothing overwritten, every process step a documented object. Do those three and you can answer a regulator in an afternoon. Skip them and no amount of documentation will save you.


🎓 That's the course

You've walked from a rainy car park to a regulatory audit. You met Frau Meyer and created six kinds of master data for her. You watched Klaus misread a 7. You followed Tomas's meter swap into a €4,812 bill and back out again. You learned why Herr Grunewald's bakery pays for peaks, why FI and FI-CA disagree at month end, and why the estimated-bill rate predicts next month's phone calls.

What to do next: 1. Read Lesson 12 — The Whole Thread. Four diagrams that link all eleven modules into one sequence. It's the page that makes the separate pieces click together. 2. Take the capstone in ../exercises/capstone.md — one customer, one full lifecycle, end to end. 3. Re-read ../reference/data_model_map.md until you can draw it blind. It really is 80 % of the job. 4. Get sandbox time. The story gives you the model; only the system gives you the reflexes.

⬅️ Lesson 10 · ➡️ Next: Lesson 12 — The Whole Thread