# Activating Joule across SAP products: the setup sequence and a readiness checklist

> Know what must be true before Joule is switched on in each SAP product, in which order, and turn Calder's landscape into a readiness checklist.

- Course: Orchestrate, Unit 23 · Joule and the AI platform: the architect's view
- Page: https://erpfde.com/topics/activating-joule-across-products/
- Updated: 2026-11-28
- Reading time: Foundational 9 min, Deep 38 min

Independent learning resource. Not affiliated with, sponsored by or endorsed by SAP SE. SAP and other SAP products mentioned are trademarks of SAP SE in Germany and other countries.

## Foundational layer

### The 60-second version

Joule is SAP's assistant, and it runs as a service on SAP BTP, not inside each product. Turning it on is therefore not a switch in S/4HANA or SuccessFactors. It is a short project that wires several products to one Joule instance through shared identity, a Work Zone site and a guided setup on BTP.

SAP's preferred shape, as its learning content describes it in November 2026, is a **unified Joule instance**: one Joule in production that several products share, and one more for testing. That only works if every product's users sign in through the same identity tenant with the same global user ID. Most activation delays are identity work, not Joule work.

The order is fixed: check the prerequisites, sort out identity, run SAP's guided onboarding (the Joule booster), enable each product, then finish trust settings. This topic gives that order per product family and turns it into a readiness checklist for Calder Pumpworks, the course's fictional pump maker.

### Why it matters to the business

The visible cost of Joule's base features is low; SAP includes them with eligible cloud subscriptions (see [Set up for Unit 23](https://erpfde.com/topics/set-up-for-unit-23/)). The real costs are elsewhere:

- **Time.** Identity clean-up across S/4HANA, SuccessFactors and Concur can take weeks if users have different IDs in each product.
- **Rework.** SAP's onboarding creates a formation (the record of which products are connected). An SAP employee's setup post says the booster can't be re-run and formation changes go through a support ticket. A wrong first run is slow to undo.
- **Risk.** Joule acts with each user's own authorizations in each product. Wrong user mapping means a person sees another person's data or nothing at all.

At Calder, finance wants Joule in S/4HANA for `CP10`, HR wants it in SuccessFactors, and the travel team wants it in Concur Expense. One plan and one identity design serve all three. Three separate projects would each rediscover the same identity problems.

### How SAP does it

As of 28 November 2026, SAP's learning content describes the setup this way:

- **Four pillars.** SAP BTP hosts Joule, SAP Build Work Zone provides navigation and content, SAP Cloud Identity Services carries trust and users, and a supported SAP product supplies the data and the authorizations.
- **A unified instance.** The [unified instance lesson](https://learning.sap.com/courses/setting-up-joule-across-your-organizational-system-landscapes/setting-up-a-unified-joule-instance) asks for one Identity Authentication tenant per landscape tier, the same global user ID everywhere, and Joule and Work Zone entitlements in an enterprise global account. Products on different identity tenants need separate Joule instances.
- **Guided onboarding.** A Joule booster in the BTP cockpit provisions Joule and creates the formation with the selected products, according to [SAP's architecture lesson](https://learning.sap.com/courses/setting-up-joule-across-your-organizational-system-landscapes/exploring-joule-s-technical-architecture). Product-specific steps follow.
- **Per product family.** Each product adds its own prerequisites. S/4HANA Cloud Private Edition needs connectivity and backend services; SuccessFactors needs its system registered on BTP; Concur starts activation in its own App Center; Ariba needs logon through Cloud Identity Services. The table below summarizes them.
- **Help from SAP.** SAP's enterprise architect course names a Joule readiness service and the support component `CA-Joule` ([SAP Learning](https://learning.sap.com/courses/guiding-ai-driven-transformation-as-an-sap-enterprise-architect/assessing-the-preparation-elements-for-joule-architecture-integration-and-provisioning_c0be6f8d-c4de-4245-bf2f-31a379b4585e)).

Joule Base comes with eligible subscriptions; agents and premium features need AI Units. The commercial side is in [AI Units and SAP's commercial model for AI](https://erpfde.com/topics/ai-units-and-commercial-model/).

### The activation sequence by product family

The common order comes first; each product family then adds its own items. Every row comes from an SAP page read on 28 November 2026 and linked in the deep layer.

| Phase | What happens | Who does it |
| --- | --- | --- |
| 1 Prerequisites | Enterprise global account; Joule and Work Zone entitlements; product release and data center checks | BTP administrator, product owner |
| 2 Identity | Every product signs in through one identity tenant per tier; the global user ID is mapped; trust uses OpenID Connect | Identity team |
| 3 Onboard | The Joule booster creates the instance and the formation with the chosen products | BTP administrator |
| 4 Products | Product-specific switches: backend services, App Center activation, roles | Product administrators |
| 5 Finish | Trusted domains, then tests by role | Identity team, key users |

| Product family | What it adds |
| --- | --- |
| S/4HANA Cloud Public Edition | Joule is natively integrated; setup is per tenant and is not transported between tenants |
| S/4HANA Cloud Private Edition | RISE customers only; release 2021 or later with a minimum SAPUI5 level; Cloud Connector to the system; OData services for transactional features |
| SuccessFactors | Joule entitlement `das-application`; system registered in BTP's system landscape; a data center that Joule supports |
| Concur | Travel and Expense only at launch; whole instance, not per user; not for Concur Cloud for Public Sector; activation starts in the Concur App Center |
| Ariba | Joule Base or Premium entitlement; realm logon through Cloud Identity Services, or a third-party user in the realm |

An SAP employee's setup post adds one limit to plan around: one S/4HANA integration (Public or Private Edition) per subaccount at the time of writing.

> **Note** **For functional consultants.** Joule respects each product's own roles, so your role design is part of activation. Expect to check which business roles may use Joule, give key users test cases per role (what they ask, what they should and shouldn't see), and confirm the test system has realistic users. In S/4HANA Private Edition, transactional prompts such as creating a purchase order depend on OData services your basis team activates.

### Questions to ask

1. Do all products that should share Joule sign in through the same Identity Authentication tenant, per tier?
2. Does every user have the same global user ID in each product? Who fixes the ones that don't?
3. Which global account and subaccount will hold Joule, and is it the one SAP's contract named?
4. Which products have a non-production system we can activate first? What do we do for those that don't?
5. What exactly will the booster's formation contain, and who signs off before it runs?
6. Which features are Joule Base and which need AI Units or a premium entitlement?
7. Where is our data center, and is it one Joule supports for each product?
8. Who owns Joule after go-live: the BTP team, each product team, or a small Joule team?

### Common misconceptions

- **"Joule is a setting inside each product."** It runs on BTP and connects to products through identity, Work Zone and a formation.
- **"Each product team can activate Joule on its own."** It can, on separate instances, but SAP says that doesn't follow the unified model, and users then meet several Joules.
- **"Identity is already done because users can log on."** Joule needs the same identity tenant and global user ID across products. Single sign-on to one product doesn't prove that.
- **"We can fix the setup later by running the booster again."** SAP's setup post says it can't be re-run; changes go through support.
- **"The test instance proves production."** Only if production's products have test counterparts on it.

### Key terms

- **Joule instance:** one Joule subscription on SAP BTP, with its Work Zone site, identity tenant and connected products.
- **Unified Joule instance:** one instance shared by several SAP products in the same tier.
- **Identity Authentication:** the SAP Cloud Identity Services component that signs users in; Joule trusts it by OpenID Connect.
- **Global user ID:** the one user identifier shared by every product, mapped to the `user_uuid` attribute for Joule.
- **Joule booster:** SAP's guided setup in the BTP cockpit that provisions Joule and creates the formation.
- **Formation:** the BTP system landscape record of which products a Joule instance connects to.
- **Trusted domains:** the domains the identity tenant and BTP allow for sign-in redirects, set after onboarding.

### Check yourself

1. Why does SAP describe Joule activation as identity work more than Joule work?
   - A. Joule stores its own separate copy of every user and all their roles
   - B. Products must share one identity tenant and global user ID per tier
   - C. Joule replaces each product's sign-in with a new one
   - D. Each product needs a separate identity tenant for Joule

   Answer: B. The unified instance needs every connected product on the same Identity Authentication tenant, with the same global user ID. Joule doesn't keep its own roles; it acts with each user's authorizations in each product.

2. Calder's HR team wants to activate Joule in SuccessFactors on its own, ahead of S/4HANA. What is the main risk?
   - A. SuccessFactors can't run Joule without S/4HANA
   - B. Joule Base costs more when activated product by product
   - C. Users meet a separate Joule outside the unified model
   - D. HR data must first be copied into the S/4HANA system

   Answer: C. SAP's lesson says enabling one app without the shared identity setup doesn't follow the unified model. A combined plan with one identity design avoids running and fixing several instances.

3. Which order matches SAP's onboarding sequence?
   - A. Booster first, then identity, then prerequisites, then products
   - B. Prerequisites, identity, booster, products, trusted domains
   - C. Products, booster, identity, prerequisites, trusted domains
   - D. Identity, products, prerequisites, trusted domains, booster

   Answer: B. SAP's lessons start with prerequisites and identity, run the booster to create the instance and formation, enable each product, and finish with trusted domains. Running the booster early is costly because it can't simply be re-run.

4. What should a leader ask before the booster runs?
   - A. Exactly which products the formation will hold, and who signs off
   - B. Which large language model the booster will train on our data
   - C. How many Work Zone sites the booster should create per product
   - D. Whether the booster can run again each quarter for upgrades

   Answer: A. The booster creates the formation, and SAP's setup post says changes afterwards go through a support ticket. Agreeing the contents first avoids slow rework.

5. Calder's Concur team wants Joule for a pilot group of ten travelers. What does SAP's Concur FAQ say?
   - A. Joule can be switched on per user for a pilot group
   - B. Joule in Concur needs S/4HANA to be connected first
   - C. Joule is enabled for the whole instance, not per user
   - D. Joule in Concur is only available for the public sector

   Answer: C. SAP's launch FAQ says Joule in Concur is enabled for the whole instance, and that it can be made available in a production sandbox. A pilot is therefore a sandbox decision, not a user list.

6. Which feature of S/4HANA Cloud Private Edition adds work that Public Edition doesn't?
   - A. Joule must be set up again in every Public Edition tenant
   - B. Connectivity and backend services that the customer configures
   - C. A separate Joule license that Public Edition customers avoid
   - D. A Work Zone advanced edition for every Private Edition user

   Answer: B. Private Edition needs Cloud Connector, a minimum release and UI5 level, and OData services for transactional prompts. Public Edition is natively integrated, though its setup is per tenant.

## Deep layer

### Mental model

Treat Joule activation as **attaching products to one shared front door**. The door is the Joule instance on BTP. The lock is the identity tenant. The key is the global user ID. Each product brings its own rooms (data and authorizations) and its own fittings (connectivity, services, App Center switches). The booster hangs the door and writes down which rooms it opens (the formation).

Three consequences follow:

1. **One door per identity tenant.** Products on different tenants can't share an instance.
2. **The formation is a design artifact.** It is hard to change, so design it before the booster runs.
3. **Test doors need test rooms.** A non-production instance proves production only for products that have a test counterpart on it.

### How it works

#### The common path

SAP's [architecture lesson](https://learning.sap.com/courses/setting-up-joule-across-your-organizational-system-landscapes/exploring-joule-s-technical-architecture) and the [unified instance lesson](https://learning.sap.com/courses/setting-up-joule-across-your-organizational-system-landscapes/setting-up-a-unified-joule-instance) give the same sequence in slightly different words. Merged, as read on 28 November 2026:

```mermaid
flowchart LR
  P[1 Prerequisites<br/>account, entitlements,<br/>product checks] --> I[2 Identity<br/>OIDC trust,<br/>user_uuid, IPS]
  I --> B[3 Booster<br/>instance + formation]
  B --> L[4 Product steps<br/>per family]
  L --> T[5 Trusted domains<br/>and role tests]
```

| Phase | Items | Source |
| --- | --- | --- |
| 1 | Enterprise global account; Joule entitlement (foundation plan, technical name `das-application`) and Work Zone entitlement in the same global account; one Work Zone edition per instance (standard, advanced or SuccessFactors edition); Joule and Work Zone in the same subaccount | Unified instance lesson, [SuccessFactors lesson](https://learning.sap.com/learning-journeys/provisioning-and-implementing-joule/integrating-joule-with-sap-successfactors) |
| 2 | Each product already integrated with Identity Authentication; trust from the subaccount to that tenant by OpenID Connect ("SAML-based trust is not supported" for Joule's trust setup); `user_uuid` mapped to the Global User ID; Identity Provisioning (SCIM 2.0) where needed | Architecture lesson |
| 3 | The Joule booster provisions Joule and creates a formation with the selected products | Architecture lesson |
| 4 | Product-specific enablement on the same instance | Unified instance lesson |
| 5 | Trusted domains for the identity tenant and BTP | Architecture lesson |

SAP's enterprise architect course orders the same work as landscape and subaccounts, Cloud Identity Services, each target system, Work Zone integration with user and role sync jobs, then the booster. Its rollout phases add a test and pilot phase before production and an expansion phase for agents and more products ([SAP Learning](https://learning.sap.com/courses/guiding-ai-driven-transformation-as-an-sap-enterprise-architect/assessing-the-preparation-elements-for-joule-architecture-integration-and-provisioning_c0be6f8d-c4de-4245-bf2f-31a379b4585e)). The two orders differ only in whether product configuration comes before or after the booster; treat product *prerequisites* as phase 1 and product *enablement* as phase 4.

#### What each product family adds

| Family | Prerequisites (phase 1 and 2) | Enablement (phase 4) | Source |
| --- | --- | --- | --- |
| S/4HANA Cloud Public Edition | Joule and Work Zone entitlements, Identity Authentication | Natively integrated; set up in each tenant because "they cannot be transported"; enabled objects in SAP Note 3545050 | [Architecture Center](https://architecture.learning.sap.com/docs/ref-arch/ebe268) |
| S/4HANA Cloud Private Edition | RISE with SAP; release 2021 or later; SAPUI5 1.120.0 or higher on 2023, 1.108.33 or higher on 2022; Cloud Connector; Identity Authentication, Identity Provisioning typically used | OData services activated for transactional capabilities; Cloud Foundry, service instances and destinations set up by a booster; features in SAP Note 3523238 | Architecture Center, [Private Edition lesson](https://learning.sap.com/courses/setting-up-joule-across-your-organizational-system-landscapes/setting-up-joule-for-sap-s-4hana-cloud-private-edition) |
| SuccessFactors | Joule entitlement `das-application` (ask the account executive if it's missing); system registered in the BTP system landscape (formations); a data center Joule supports; `user_uuid` set to the Global User ID; global account, subaccount, SuccessFactors and Cloud Identity Services administrators | Discovery Center mission *Activate Joule for SAP SuccessFactors* | [SuccessFactors lesson](https://learning.sap.com/learning-journeys/provisioning-and-implementing-joule/integrating-joule-with-sap-successfactors) |
| Concur | SAP BTP license for Professional and Standard edition customers; not Concur Cloud for Public Sector; Work Zone foundation, Identity Authentication and Identity Provisioning included | Activation starts in the SAP Concur App Center; Travel and Expense only; the whole instance, not per user; possible in a production sandbox | [Concur FAQ](https://learning.sap.com/courses/discovering-joule-with-sap-concur-solutions/answering-common-questions) (written for the launch) |
| Ariba | Joule Base or Premium entitlement; administrators in BTP, Cloud Identity Services and the Ariba realm | Realm logon through Cloud Identity Services, else a third-party user in the realm; Ariba steps layered on the common onboarding | [Ariba lesson](https://learning.sap.com/courses/setting-up-joule-across-your-organizational-system-landscapes/setting-up-joule-for-sap-ariba) |

#### Constraints that shape the design

An SAP employee's [unified setup post](https://community.sap.com/t5/technology-blog-posts-by-sap/joule-unified-setup-bridging-simplicity-and-performance/ba-p/13924542) adds limits the lessons don't state. Treat them as dated: the post says "as of today" and SAP may have lifted them.

- **One S/4HANA integration per subaccount**, Public or Private Edition. A company with both needs two subaccounts.
- **The booster runs once.** Changing an existing formation takes a ticket on `CA-JOULE`.
- **No fixed data center mapping.** For EU access the post suggests the `eu11` region; check local legal requirements.
- **Joule for consultants** sits in its own subaccount and can't be combined with Joule for business users.

SAP's [landscape recommendation](https://architecture.learning.sap.com/docs/ref-arch/56ae6b) adds two more: a test identity tenant serves development and test while the productive tenant serves production, and several SuccessFactors instances on one identity tenant can clash on the Person UID.

### Build it yourself: Calder's Joule readiness checklist

You will turn Calder's AI landscape file from the Unit 23 setup into a readiness checklist: every item per Joule instance, in SAP's order, with a status. An item that depends on unfinished earlier work shows as `BLOCKED`, so the checklist also tells you what to do next.

```mermaid
flowchart LR
  L[calder_ai_landscape.json<br/>from the setup] --> R[joule_readiness.py]
  S[joule_activation_status.json<br/>what's done] --> R
  R --> O[checklist per instance]
  R --> M[joule_readiness.md]
```

**Before you start:** complete [Set up your computer for this course](https://erpfde.com/topics/set-up-your-computer/) and [Set up for Unit 23](https://erpfde.com/topics/set-up-for-unit-23/), including its exercise (Concur on `joule-prod`). If you skipped the setup, the script uses a built-in copy of the same landscape.

> **Note** New words. A **status file** records what is done, one value per item. A checklist item is `DONE`, `TODO` (do it now), `BLOCKED` (waits for an earlier phase), `ASK` (a question for SAP or your account team), `WARN` (a course rule says it is risky) or `FAIL` (a design error SAP's rules don't allow).

#### What you need

- Your course folder `orchestrate-course` with `.venv` and the `unit23/` folder from the setup.
- 30 to 45 minutes. Free; no account, no network.

#### Step 1: Open the course folder

1. Open VS Code, choose **File > Open Folder**, and open `orchestrate-course`.
2. Open **Terminal > New Terminal** and turn on the virtual environment if the prompt doesn't show `(.venv)`:

   - **Windows (PowerShell):**

     ```powershell
     .venv\Scripts\Activate.ps1
     ```

   - **macOS / Linux:**

     ```bash
     source .venv/bin/activate
     ```

3. Confirm the setup review still passes:

   ```bash
   python unit23/ai_landscape.py
   ```

   The last line should be `19 OK, 0 WARN, 0 FAIL` (or `18 OK` if you skipped the setup exercise).

#### Step 2: Create the readiness script

1. Create `unit23/joule_readiness.py`, paste the code below and save:

```python
"""Joule activation readiness for Calder's AI landscape (Unit 23).

Run from your course folder:
    python unit23/joule_readiness.py --init   # write unit23/joule_activation_status.json (the sample)
    python unit23/joule_readiness.py          # print the checklist per Joule instance, in setup order
    python unit23/joule_readiness.py --md     # also write unit23/joule_readiness.md

Reads unit23/calder_ai_landscape.json from the Unit 23 setup (or a built-in copy if it's missing)
and the status file. Built-in Python only, no randomness, no account.
Requirements marked SAP restate SAP Learning, the SAP Architecture Center and an SAP Community post by SAP
as read on 2026-11-28; requirements marked course are course rules. Calder Pumpworks is fictional.
Exit code 0 when nothing is FAIL, 2 when a design error is found.
"""
import argparse
import json
import pathlib
import sys

HERE = pathlib.Path(__file__).resolve().parent
LANDSCAPE = HERE / "calder_ai_landscape.json"
STATUS = HERE / "joule_activation_status.json"
REPORT = HERE / "joule_readiness.md"

PHASES = ["1 Prereqs", "2 Identity", "3 Onboard", "4 Products", "5 Finish"]

# Used only when the setup's landscape file is missing (same content as its --init, plus Concur).
FALLBACK_LANDSCAPE = {
    "as_of": "2026-11-28",
    "global_account": {"name": "Calder Pumpworks", "type": "enterprise", "default_region": "us10"},
    "identity_tenants": [{"id": "calder-ias", "tier": "production"},
                         {"id": "calder-ias-test", "tier": "non-production"}],
    "subaccounts": [{"id": "calder-ai-test", "stage": "Test", "region": "us10"},
                    {"id": "calder-ai-prod", "stage": "Prod", "region": "us10"}],
    "products": [
        {"id": "S4P", "product": "SAP S/4HANA Cloud Private Edition", "tier": "production",
         "identity_tenant": "calder-ias", "joule": "candidate"},
        {"id": "S4Q", "product": "SAP S/4HANA Cloud Private Edition", "tier": "non-production",
         "identity_tenant": "calder-ias-test", "joule": "candidate"},
        {"id": "SF-EC", "product": "SAP SuccessFactors Employee Central", "tier": "production",
         "identity_tenant": "calder-ias", "joule": "candidate"},
        {"id": "CONCUR", "product": "SAP Concur Expense", "tier": "production",
         "identity_tenant": "calder-ias", "joule": "candidate"},
        {"id": "ECP", "product": "SAP ECC 6.0 (on-premise)", "tier": "production",
         "identity_tenant": "", "joule": "none"},
    ],
    "joule_instances": [
        {"id": "joule-prod", "subaccount": "calder-ai-prod", "tier": "production",
         "identity_tenant": "calder-ias", "work_zone": {"subaccount": "calder-ai-prod", "edition": "standard"},
         "products": ["S4P", "SF-EC", "CONCUR"]},
        {"id": "joule-nonprod", "subaccount": "calder-ai-test", "tier": "non-production",
         "identity_tenant": "calder-ias-test", "work_zone": {"subaccount": "calder-ai-test", "edition": "standard"},
         "products": ["S4Q"]},
    ],
}

# Calder's status on 2026-11-28. Every value is a course value.
SAMPLE_STATUS = {
    "as_of": "2026-11-28",
    "note": "Calder Pumpworks is fictional. Every value is a course value.",
    "global": {"joule_entitlement": True, "work_zone_entitlement": True, "ai_units": False},
    "tenants": {
        "calder-ias": {"trust_protocol": "OIDC", "global_user_id_mapped": False,
                       "identity_provisioning": True, "trusted_domains": False},
        "calder-ias-test": {"trust_protocol": "OIDC", "global_user_id_mapped": True,
                            "identity_provisioning": True, "trusted_domains": False},
    },
    "instances": {"joule-prod": {"booster_run": False}, "joule-nonprod": {"booster_run": False}},
    "products": {
        "S4P": {"family": "s4-private", "release": 2023, "ui5": "1.120.14", "ias_integrated": True,
                "cloud_connector": "SCC-RK-P", "odata_for_actions": False},
        "S4Q": {"family": "s4-private", "release": 2023, "ui5": "1.120.14", "ias_integrated": True,
                "cloud_connector": "SCC-RK-NP", "odata_for_actions": True},
        "SF-EC": {"family": "successfactors", "ias_integrated": True, "formation_registered": False,
                  "data_center_checked": False},
        "CONCUR": {"family": "concur", "ias_integrated": True, "btp_license": True,
                   "app_center_started": False, "public_sector_instance": False},
        "ECP": {"family": "ecc"},
    },
}

UI5_MIN = {2022: (1, 108, 33), 2023: (1, 120, 0)}  # SAP Architecture Center, Joule in S/4HANA PCE


def version(text: str) -> tuple:
    try:
        return tuple(int(p) for p in str(text).split("."))
    except ValueError:
        return (0,)


def done(flag) -> str:
    return "DONE" if flag else "TODO"


def global_items(land: dict, st: dict) -> list:
    g = st.get("global", {})
    kind = land.get("global_account", {}).get("type", "")
    return [
        ("1 Prereqs", "G01", "SAP", "Enterprise global account (not a trial)",
         "DONE" if kind == "enterprise" else "FAIL"),
        ("1 Prereqs", "G02", "SAP", "Joule entitlement in the global account (das-application, foundation plan)",
         done(g.get("joule_entitlement"))),
        ("1 Prereqs", "G03", "SAP", "SAP Build Work Zone entitlement in the same global account",
         done(g.get("work_zone_entitlement"))),
        ("1 Prereqs", "G04", "SAP", "AI Units for capabilities beyond Joule Base (agents, premium features)",
         "DONE" if g.get("ai_units") else "ASK"),
    ]


def instance_items(inst: dict, land: dict, st: dict) -> list:
    items = []
    products = {p["id"]: p for p in land.get("products", [])}
    tenant = st.get("tenants", {}).get(inst.get("identity_tenant"), {})
    pstat = st.get("products", {})
    mine = inst.get("products", [])

    proto = tenant.get("trust_protocol", "")
    items.append(("2 Identity", "I01", "SAP", f"Subaccount trusts {inst.get('identity_tenant')} by OpenID Connect "
                  f"(SAML isn't supported for Joule trust): {proto or 'not recorded'}",
                  "DONE" if proto == "OIDC" else ("FAIL" if proto else "TODO")))
    items.append(("2 Identity", "I02", "SAP", "user_uuid mapped to the Global User ID, same ID in every product",
                  done(tenant.get("global_user_id_mapped"))))
    items.append(("2 Identity", "I03", "SAP", "Identity Provisioning available for user and role sync",
                  done(tenant.get("identity_provisioning"))))
    for pid in mine:
        same = products.get(pid, {}).get("identity_tenant") == inst.get("identity_tenant")
        integrated = pstat.get(pid, {}).get("ias_integrated")
        status = "FAIL" if not same else done(integrated)
        items.append(("2 Identity", "I04", "SAP", f"{pid} already logs on through {inst.get('identity_tenant')}", status))

    wz = inst.get("work_zone", {})
    items.append(("1 Prereqs", "J01", "SAP", f"Joule and Work Zone in one subaccount ({inst.get('subaccount')})",
                  "DONE" if wz.get("subaccount") == inst.get("subaccount") else "FAIL"))
    s4 = [p for p in mine if pstat.get(p, {}).get("family") in ("s4-private", "s4-public")]
    items.append(("1 Prereqs", "J02", "SAP", f"At most one S/4HANA integration per subaccount: {s4 or 'none'}",
                  "DONE" if len(s4) <= 1 else "FAIL"))
    items.append(("3 Onboard", "J03", "SAP", "Joule booster run: instance and formation with the products",
                  done(st.get("instances", {}).get(inst["id"], {}).get("booster_run"))))
    if inst.get("tier") == "production":
        nonprod = {p for i in land.get("joule_instances", []) if i.get("tier") != "production"
                   for p in i.get("products", [])}
        for pid in mine:
            name = products.get(pid, {}).get("product")
            twin = [q for q in nonprod if products.get(q, {}).get("product") == name]
            items.append(("3 Onboard", "J04", "course", f"{pid} tested first on a non-production instance"
                          f"{': ' + twin[0] if twin else ': no counterpart'}", "DONE" if twin else "WARN"))

    for pid in mine:
        items.extend(product_items(pid, pstat.get(pid, {})))
    items.append(("5 Finish", "I05", "SAP", f"Trusted domains for {inst.get('identity_tenant')} and BTP",
                  done(tenant.get("trusted_domains"))))
    return items


def product_items(pid: str, p: dict) -> list:
    fam = p.get("family", "")
    out = []
    if fam == "s4-private":
        rel = int(p.get("release", 0))
        out.append(("1 Prereqs", "S01", "SAP", f"{pid}: release {rel} (2021 or later)", "DONE" if rel >= 2021 else "FAIL"))
        need = UI5_MIN.get(rel)
        if need:
            ok = version(p.get("ui5", "0")) >= need
            out.append(("1 Prereqs", "S02", "SAP", f"{pid}: SAPUI5 {p.get('ui5')} (at least "
                        f"{'.'.join(map(str, need))} for {rel})", "DONE" if ok else "TODO"))
        else:
            out.append(("1 Prereqs", "S02", "SAP", f"{pid}: SAPUI5 minimum for release {rel} not in the course table", "ASK"))
        out.append(("1 Prereqs", "S03", "SAP", f"{pid}: Cloud Connector to the system ({p.get('cloud_connector') or 'none'})",
                    done(p.get("cloud_connector"))))
        out.append(("4 Products", "S04", "SAP", f"{pid}: OData services activated for transactional capabilities",
                    done(p.get("odata_for_actions"))))
    elif fam == "s4-public":
        out.append(("4 Products", "S05", "SAP", f"{pid}: Joule set up in this tenant (setup isn't transported)",
                    done(p.get("tenant_setup"))))
    elif fam == "successfactors":
        out.append(("1 Prereqs", "F01", "SAP", f"{pid}: system registered in the BTP system landscape (formation)",
                    done(p.get("formation_registered"))))
        out.append(("1 Prereqs", "F02", "SAP", f"{pid}: data center is one Joule supports (list on the SAP Help Portal)",
                    done(p.get("data_center_checked"))))
    elif fam == "concur":
        out.append(("1 Prereqs", "C01", "SAP", f"{pid}: SAP BTP license (Professional and Standard edition)",
                    done(p.get("btp_license"))))
        out.append(("1 Prereqs", "C02", "SAP", f"{pid}: not a Concur Cloud for Public Sector instance",
                    "FAIL" if p.get("public_sector_instance") else "DONE"))
        out.append(("4 Products", "C03", "SAP", f"{pid}: activation started in the SAP Concur App Center "
                    "(whole instance, not per user)", done(p.get("app_center_started"))))
    elif fam == "ariba":
        out.append(("1 Prereqs", "A01", "SAP", f"{pid}: Joule Base or Premium entitlement", done(p.get("entitlement"))))
        out.append(("2 Identity", "A02", "SAP", f"{pid}: realm logs on through Cloud Identity Services "
                    "(else a third-party user in the realm)", done(p.get("cis_logon"))))
    else:
        out.append(("4 Products", "X01", "course", f"{pid}: no activation path recorded for family '{fam or 'missing'}'", "ASK"))
    return out


def block(items: list) -> list:
    """An item waits (BLOCKED) while any item of an earlier phase is not DONE."""
    out = []
    for phase, rule, origin, text, status in items:
        earlier = [s for ph, _, _, _, s in items if PHASES.index(ph) < PHASES.index(phase)]
        if status == "TODO" and any(s in ("TODO", "FAIL") for s in earlier):
            status = "BLOCKED"
        out.append((phase, rule, origin, text, status))
    return sorted(out, key=lambda i: PHASES.index(i[0]))


def main() -> int:
    parser = argparse.ArgumentParser(description=__doc__.splitlines()[0])
    parser.add_argument("--init", action="store_true", help="write the sample status file")
    parser.add_argument("--md", action="store_true", help="also write unit23/joule_readiness.md")
    args = parser.parse_args()

    if args.init:
        if STATUS.exists():
            print(f"{STATUS.name} already exists; delete it first to start again.")
            return 0
        STATUS.write_text(json.dumps(SAMPLE_STATUS, indent=2) + "\n", encoding="utf-8")
        print(f"Wrote {STATUS.relative_to(HERE.parent)} (synthetic, Calder Pumpworks is fictional)")
        return 0

    if not STATUS.exists():
        print("No status file yet. Run: python unit23/joule_readiness.py --init")
        return 1
    try:
        land = json.loads(LANDSCAPE.read_text(encoding="utf-8")) if LANDSCAPE.exists() else FALLBACK_LANDSCAPE
        st = json.loads(STATUS.read_text(encoding="utf-8"))
    except json.JSONDecodeError as error:
        print(f"A JSON file is not valid: line {error.lineno}, column {error.colno}")
        return 1
    source = LANDSCAPE.name if LANDSCAPE.exists() else "built-in landscape (setup file not found)"

    lines = [f"Joule readiness for Calder as of {st.get('as_of', '?')} (synthetic), landscape: {source}"]
    md = ["# Joule activation readiness (synthetic, Calder Pumpworks is fictional)", ""]
    totals = {}
    gitems = global_items(land, st)
    sections = [("global account", gitems)]
    for inst in land.get("joule_instances", []):
        # Global items count for blocking but are printed once, above the instances.
        checked = block(gitems + instance_items(inst, land, st))
        sections.append((inst["id"], [i for i in checked if not i[1].startswith("G")]))
    for name, items in sections:
        lines.append(f"{name}")
        md += [f"## {name}", "", "| Phase | Rule | Status | Item |", "| --- | --- | --- | --- |"]
        for phase, rule, origin, text, status in items:
            lines.append(f"  {status:<8} {rule} {phase:<11} {text}")
            md.append(f"| {phase} | {rule} ({origin}) | {status} | {text} |")
            totals[status] = totals.get(status, 0) + 1
        md.append("")
    order = ["DONE", "TODO", "BLOCKED", "ASK", "WARN", "FAIL"]
    summary = ", ".join(f"{totals.get(k, 0)} {k}" for k in order)
    lines.append(summary)
    print("\n".join(lines))
    if args.md:
        REPORT.write_text("\n".join(md + [summary, ""]), encoding="utf-8")
        print(f"Wrote {REPORT.relative_to(HERE.parent)}")
    return 2 if totals.get("FAIL") else 0


if __name__ == "__main__":
    sys.exit(main())
```

2. Write Calder's status file:

   ```bash
   python unit23/joule_readiness.py --init
   ```

   You should see:

   ```text
   Wrote unit23/joule_activation_status.json (synthetic, Calder Pumpworks is fictional)
   ```

   On Windows the path prints with a backslash. Both are fine.

#### Step 3: Read Calder's checklist

1. Run the checklist:

   ```bash
   python unit23/joule_readiness.py
   ```

2. Compare with the expected output:

```text
Joule readiness for Calder as of 2026-11-28 (synthetic), landscape: calder_ai_landscape.json
global account
  DONE     G01 1 Prereqs   Enterprise global account (not a trial)
  DONE     G02 1 Prereqs   Joule entitlement in the global account (das-application, foundation plan)
  DONE     G03 1 Prereqs   SAP Build Work Zone entitlement in the same global account
  ASK      G04 1 Prereqs   AI Units for capabilities beyond Joule Base (agents, premium features)
joule-prod
  DONE     J01 1 Prereqs   Joule and Work Zone in one subaccount (calder-ai-prod)
  DONE     J02 1 Prereqs   At most one S/4HANA integration per subaccount: ['S4P']
  DONE     S01 1 Prereqs   S4P: release 2023 (2021 or later)
  DONE     S02 1 Prereqs   S4P: SAPUI5 1.120.14 (at least 1.120.0 for 2023)
  DONE     S03 1 Prereqs   S4P: Cloud Connector to the system (SCC-RK-P)
  TODO     F01 1 Prereqs   SF-EC: system registered in the BTP system landscape (formation)
  TODO     F02 1 Prereqs   SF-EC: data center is one Joule supports (list on the SAP Help Portal)
  DONE     C01 1 Prereqs   CONCUR: SAP BTP license (Professional and Standard edition)
  DONE     C02 1 Prereqs   CONCUR: not a Concur Cloud for Public Sector instance
  DONE     I01 2 Identity  Subaccount trusts calder-ias by OpenID Connect (SAML isn't supported for Joule trust): OIDC
  BLOCKED  I02 2 Identity  user_uuid mapped to the Global User ID, same ID in every product
  DONE     I03 2 Identity  Identity Provisioning available for user and role sync
  DONE     I04 2 Identity  S4P already logs on through calder-ias
  DONE     I04 2 Identity  SF-EC already logs on through calder-ias
  DONE     I04 2 Identity  CONCUR already logs on through calder-ias
  BLOCKED  J03 3 Onboard   Joule booster run: instance and formation with the products
  DONE     J04 3 Onboard   S4P tested first on a non-production instance: S4Q
  WARN     J04 3 Onboard   SF-EC tested first on a non-production instance: no counterpart
  WARN     J04 3 Onboard   CONCUR tested first on a non-production instance: no counterpart
  BLOCKED  S04 4 Products  S4P: OData services activated for transactional capabilities
  BLOCKED  C03 4 Products  CONCUR: activation started in the SAP Concur App Center (whole instance, not per user)
  BLOCKED  I05 5 Finish    Trusted domains for calder-ias and BTP
joule-nonprod
  DONE     J01 1 Prereqs   Joule and Work Zone in one subaccount (calder-ai-test)
  DONE     J02 1 Prereqs   At most one S/4HANA integration per subaccount: ['S4Q']
  DONE     S01 1 Prereqs   S4Q: release 2023 (2021 or later)
  DONE     S02 1 Prereqs   S4Q: SAPUI5 1.120.14 (at least 1.120.0 for 2023)
  DONE     S03 1 Prereqs   S4Q: Cloud Connector to the system (SCC-RK-NP)
  DONE     I01 2 Identity  Subaccount trusts calder-ias-test by OpenID Connect (SAML isn't supported for Joule trust): OIDC
  DONE     I02 2 Identity  user_uuid mapped to the Global User ID, same ID in every product
  DONE     I03 2 Identity  Identity Provisioning available for user and role sync
  DONE     I04 2 Identity  S4Q already logs on through calder-ias-test
  TODO     J03 3 Onboard   Joule booster run: instance and formation with the products
  DONE     S04 4 Products  S4Q: OData services activated for transactional capabilities
  BLOCKED  I05 5 Finish    Trusted domains for calder-ias-test and BTP
26 DONE, 3 TODO, 6 BLOCKED, 1 ASK, 2 WARN, 0 FAIL
```

3. Read it as an architect would:
   - **Production is blocked by SuccessFactors.** `F01` and `F02` (registration and data center) are open prerequisites, and `I02` (the global user ID in production) waits behind them. Until those are done, the booster `J03` can't run.
   - **The test instance is ready to onboard.** `joule-nonprod` has one `TODO`: its booster.
   - **Two products would go live untested.** `J04` warns that SuccessFactors and Concur have no counterpart on the test instance. For Concur, SAP's FAQ says Joule can be made available in a production sandbox; for SuccessFactors, Calder needs a test instance on the test identity tenant.
   - **One question for SAP.** `G04` asks which wanted features need AI Units, because Calder has bought none.

> **Note** This checklist is synthetic. Calder is fictional and the statuses are course values. A `DONE` line means the file says so, not that a real system is configured.

#### Step 4: Make one design error on purpose

1. Open `unit23/joule_activation_status.json`.
2. Under `"calder-ias"`, change `"trust_protocol": "OIDC"` to `"trust_protocol": "SAML"`. Save.
3. Run the checklist again:

   ```bash
   python unit23/joule_readiness.py
   ```

   Among the lines you now see:

   ```text
     FAIL     I01 2 Identity  Subaccount trusts calder-ias by OpenID Connect (SAML isn't supported for Joule trust): SAML
   25 DONE, 3 TODO, 6 BLOCKED, 1 ASK, 2 WARN, 1 FAIL
   ```

   The script now ends with exit code 2, so a pipeline would stop here. SAP's architecture lesson says SAML isn't supported for Joule's trust setup.

4. Change it back to `"OIDC"`, save, and rerun. You are back to `26 DONE, 3 TODO, 6 BLOCKED, 1 ASK, 2 WARN, 0 FAIL`.

#### Step 5: Clear the production blockers

The SuccessFactors team registers `SF-EC` in BTP's system landscape and confirms its data center; the identity team maps the global user ID in `calder-ias`.

1. In `unit23/joule_activation_status.json`, under `"calder-ias"`, set `"global_user_id_mapped": true`.
2. Under `"SF-EC"`, set `"formation_registered": true` and `"data_center_checked": true`. Save.
3. Run the checklist and look at `joule-prod`:

   ```bash
   python unit23/joule_readiness.py
   ```

   ```text
     TODO     J03 3 Onboard   Joule booster run: instance and formation with the products
   ...
   29 DONE, 2 TODO, 4 BLOCKED, 1 ASK, 2 WARN, 0 FAIL
   ```

   The booster is now the next action in production. The products phase and trusted domains still wait for it.

#### Step 6: Write the checklist as a document

1. Run:

   ```bash
   python unit23/joule_readiness.py --md
   ```

2. Open `unit23/joule_readiness.md` in VS Code and use **Open Preview** (the icon with a magnifier, top right). Each instance is a table of phase, rule, status and item. This is the page you'd bring to an activation planning meeting.

#### Step 7: Save your work in Git

```bash
git add unit23/joule_readiness.py unit23/joule_activation_status.json unit23/joule_readiness.md
git commit -m "Unit 23: Joule activation readiness checklist"
```

#### How the code works

| Part | What it does |
| --- | --- |
| `SAMPLE_STATUS` | Calder's status on the lab date; `--init` writes it once and never overwrites |
| `FALLBACK_LANDSCAPE` | The setup's landscape with Concur, used only when `calder_ai_landscape.json` is missing |
| `global_items()` | Phase 1 items for the global account (`G01` to `G04`) |
| `instance_items()` | Identity (`I01` to `I05`), subaccount (`J01`, `J02`), booster (`J03`) and the test-first rule (`J04`) per Joule instance |
| `product_items()` | Items per product family: `S` for S/4HANA, `F` for SuccessFactors, `C` for Concur, `A` for Ariba |
| `block()` | Turns a `TODO` into `BLOCKED` while an earlier phase still has `TODO` or `FAIL`, then sorts by phase |
| `--md` | Writes the same checklist as markdown tables |
| Exit code | 0 without `FAIL`, 2 with any, so a pipeline can stop on a design error |

#### If something goes wrong

| What you see | What it means | What to do |
| --- | --- | --- |
| `python: command not found` or `'python' is not recognized` | Python isn't on your PATH or `.venv` is off | Turn on `.venv` (Step 1); on macOS/Linux try `python3` |
| `No status file yet` | `--init` hasn't run | Run `python unit23/joule_readiness.py --init` |
| `A JSON file is not valid: line 12` | An edit left a missing comma, quote or `true` typed as `True` | JSON uses lowercase `true` and `false`; fix the line or delete the status file and run `--init` |
| `landscape: built-in landscape (setup file not found)` | The setup's file isn't in `unit23/` | Fine for this topic; run the setup's `--init` to share one file across Unit 23 |
| Counts differ from Step 3 | Your landscape differs (for example, the setup exercise not done) | Without Concur you get `23 DONE, 3 TODO, 5 BLOCKED, 1 ASK, 1 WARN, 0 FAIL` |
| `ModuleNotFoundError` | You ran another unit's script | This script uses built-in modules only; check the file name |

### The SAP way

What SAP gives you for activation, as of 28 November 2026:

- **The Joule booster** in the BTP cockpit: provisions Joule and creates the formation ([architecture lesson](https://learning.sap.com/courses/setting-up-joule-across-your-organizational-system-landscapes/exploring-joule-s-technical-architecture)). For Private Edition the [Architecture Center](https://architecture.learning.sap.com/docs/ref-arch/ebe268) names a booster that also enables Cloud Foundry and creates service instances and destinations.
- **Discovery Center missions** per product: the lessons point to missions for the unified instance, SuccessFactors, S/4HANA Public Edition, Ariba and Work Zone.
- **SAP Cloud Identity Services**: Identity Authentication, Identity Provisioning and the Identity Directory, included with Concur's offer and typically used with S/4HANA.
- **SAP Build Work Zone**: standard edition, or the foundation plan that customers without it receive for Joule, per the SuccessFactors lesson. The unified lesson also allows advanced and SuccessFactors editions, one per instance.
- **Joule preview** for development and test landscapes, which SAP's [landscape recommendation](https://architecture.learning.sap.com/docs/ref-arch/56ae6b) suggests for non-production.
- **Support:** component `CA-Joule` and a Joule readiness service, named in SAP's enterprise architect course.

**Licensing.** Joule Base comes with eligible SAP cloud subscriptions; SAP's preparation lesson lists getting "Joule and AI unit entitlement at the global account level" as a preparation step. The Concur FAQ, written for the launch, says Joule Base has no extra cost there and Joule Premium is charged. Confirm what your contract includes before planning features.

### Build vs. SAP

There is nothing to build instead of activation; the choices are about how far to follow SAP's shape.

| Choice | When it fits | What it costs |
| --- | --- | --- |
| Unified instance per tier (SAP's recommendation) | Products already share, or can move to, one identity tenant per tier | Identity clean-up up front |
| Separate instances per product | Products on different identity tenants that can't be merged soon | Users meet several Joules; more instances to run; SAP says it doesn't follow the unified model |
| Activate production directly | A product with no test system and a low-risk feature set | Untested formation and roles in production |
| Test instance first | Products with test counterparts on the test identity tenant | A second booster run and test users |
| Your own assistant on BTP instead of Joule | Non-SAP data or a channel Joule doesn't serve | You build identity, grounding and actions yourself; see [where should an agent live](https://erpfde.com/topics/where-should-an-agent-live/) |

### Architecture view

**Where it sits.** Joule and Work Zone live in Calder's AI subaccounts from the [account model](https://erpfde.com/topics/btp-account-model/); S/4HANA is reached through Cloud Connectors from the [connectivity topic](https://erpfde.com/topics/btp-connectivity/); SuccessFactors and Concur are SAP cloud services; ECC stays outside.

```mermaid
flowchart LR
  subgraph IAS[Cloud Identity Services]
    P1[calder-ias<br/>production]
    T1[calder-ias-test]
  end
  subgraph Prod[calder-ai-prod]
    JP[joule-prod] --- WP[Work Zone standard]
  end
  subgraph Test[calder-ai-test]
    JT[joule-nonprod] --- WT[Work Zone standard]
  end
  JP --> S4P[S4P via SCC-RK-P]
  JP --> SF[SF-EC]
  JP --> CC[Concur Expense]
  JT --> S4Q[S4Q via SCC-RK-NP]
  P1 -. OIDC trust .- Prod
  T1 -. OIDC trust .- Test
```

**Non-functional requirements.**

| Requirement | Typical target | What breaks if it's missed |
| --- | --- | --- |
| Identity consistency | One tenant per tier, one global user ID per person | Joule can't map users, or shows the wrong person's data |
| Authorization | Joule acts only with each user's product roles | A pilot exposes data to people who shouldn't see it |
| Data residency | Joule data center agreed per product and region | Legal review stops go-live |
| Change control | Formation contents signed off before the booster | A ticket and weeks of rework |
| Availability | Joule follows BTP and each product; plan for a product being down | Users see errors and lose trust in the assistant |

**Integration and identity.** The user signs in through `calder-ias` by OpenID Connect; Joule works with the signed-in user's identity, and each product applies its own authorizations, as the SuccessFactors and Concur lessons state. Users and roles are synced by Identity Provisioning; S/4HANA Private Edition traffic crosses the Cloud Connector to released OData services.

**The decision to record.**

- *Context:* Finance, HR and travel want Joule; S/4HANA, SuccessFactors and Concur sit on `calder-ias` in production, but only S/4HANA has a test system on `calder-ias-test`.
- *Options:* A, activate all three in production now; B, one unified production instance, but activate on the test instance first for every product, adding a SuccessFactors test instance and using a Concur production sandbox; C, separate instances per product.
- *Decision:* B. *Consequences:* about a month more before production (a course estimate), a SuccessFactors test instance to order (on the test tenant, avoiding the Person UID clash SAP warns about), one formation design reviewed before each booster run.

**What a design review will ask.**

1. Which identity tenant does each product use today, per tier, and what does it take to align them?
2. Who approved the formation's contents, and how are later additions handled given the booster runs once?
3. Which products go live without a test, and what is the mitigation?
4. Where is Joule's data processed for each product, and has legal agreed?
5. Which features need AI Units, and who owns that budget?

### Production concerns

- **Security and SAP authorizations.** Joule doesn't bypass product roles, so review roles before activation, not after. Remove leavers before the first user sync; [the BTP security model](https://erpfde.com/topics/btp-security-model/) covers platform access.
- **Evaluation.** Test by role in the test instance: a buyer, an HR partner, a traveler. Record what each asked, what Joule answered and what it must not show.
- **Cost.** Base features are included, but agents and premium features consume AI Units. Track the expansion phase separately.
- **Operations.** Name an owner for the instance and the formation; route issues to `CA-Joule`. Plan Joule onboarding again for each new S/4HANA Public Edition tenant, since setup isn't transported.
- **Clean core.** Activation adds no custom code in the core. Private Edition needs only standard OData services activated.

### Where AI fits

Activation is a prerequisite for AI, not an AI task. Two places where AI helps the architect: Joule in the BTP cockpit can answer questions about BTP services during setup (see [Set up for Unit 23](https://erpfde.com/topics/set-up-for-unit-23/)), and a script like this topic's turns SAP's prerequisites into a checklist that a reviewer can rerun. Neither replaces reading SAP's current lessons before the booster runs. How a request flows once Joule is active is covered in [How Joule works](https://erpfde.com/topics/how-joule-works/).

### Pitfalls

- Running the booster before the formation's contents are agreed.
- Assuming single sign-on to each product means a shared global user ID.
- Configuring SAML trust out of habit; Joule's trust setup needs OpenID Connect.
- Putting S/4HANA Public and Private Edition on one subaccount.
- Activating production for products with no test counterpart, and calling the test instance a proof.
- Connecting several SuccessFactors instances to one identity tenant without planning the Person UID.
- Treating a launch FAQ (Concur) as current scope without checking the product's latest page.

### Exercise

Calder orders a SuccessFactors test instance so HR can test before production.

1. Open `unit23/calder_ai_landscape.json`. In `products`, add this right after the closing `},` of the `CONCUR` entry:

   ```json
   {"id": "SF-EC-T", "product": "SAP SuccessFactors Employee Central", "company_code": "CP10",
    "tier": "non-production", "identity_tenant": "calder-ias-test", "joule": "candidate"},
   ```

2. Add `"SF-EC-T"` to the `products` list of `joule-nonprod`. Save and run `python unit23/ai_landscape.py`; it should print `20 OK, 0 WARN, 0 FAIL`.
3. In `unit23/joule_activation_status.json`, find the line `"products": {` and add this as the first entry right below it:

   ```json
   "SF-EC-T": {"family": "successfactors", "ias_integrated": true,
               "formation_registered": true, "data_center_checked": true},
   ```

4. Run `python unit23/joule_readiness.py`. The `J04` warning for `SF-EC` is gone; Concur's remains.
5. In `unit23/notes.md`, write the decision record above in your own words, with one sentence on how you'd test Concur.

**Done when** the checklist ends with `33 DONE, 2 TODO, 4 BLOCKED, 1 ASK, 1 WARN, 0 FAIL` (after Step 5) and `notes.md` holds your decision record. The Unit 23 security and Agent Hub topics read the same files.

### Check yourself

1. In the merged SAP sequence, why are product prerequisites placed in phase 1 and product enablement in phase 4?
   - A. SAP's lessons disagree, so the course picks an order at random
   - B. Prerequisites gate the booster; enablement needs its instance
   - C. Enablement needs AI Units, which are bought only after the booster
   - D. Prerequisites are checked by SAP, enablement by the customer

   Answer: B. Checks such as release level, registration or data center must pass before the booster creates the formation. Switches such as OData services or App Center activation build on the instance, so they come after it.

2. In `joule_readiness.py`, what turns a `TODO` into `BLOCKED`?
   - A. The item's rule comes from a course rule instead of SAP
   - B. Any `WARN` or `ASK` line anywhere in the same instance's checklist
   - C. A `TODO` or `FAIL` in an earlier phase of the same instance
   - D. A global item such as `G04` still marked as a question

   Answer: C. `block()` compares each item with every item of an earlier phase, global items included, and blocks only on `TODO` or `FAIL`. `WARN` and `ASK` don't block, which is why `G04` doesn't stop the test instance.

3. A colleague sets Calder's production trust to SAML because other BTP apps use it. What does the checklist do, and why?
   - A. It warns, because SAML works but is slower for Joule
   - B. `I01` fails and the script exits with code 2
   - C. It blocks only the trusted domains item in phase 5
   - D. It passes, because the products themselves use SAML

   Answer: B. SAP's architecture lesson says SAML-based trust isn't supported for Joule's trust setup, so the course treats it as a design error. Exit code 2 lets a pipeline stop before anyone runs the booster.

4. Calder runs S/4HANA Private Edition for CP10 and later adds a Public Edition tenant for a subsidiary. What does the design need?
   - A. One subaccount, because both are S/4HANA and share a formation
   - B. No change, because Public Edition is natively integrated
   - C. A second identity tenant for the Public Edition users
   - D. A second subaccount, since one holds a single S/4HANA integration

   Answer: D. SAP's setup post says Joule supports one S/4HANA integration, Public or Private Edition, per subaccount at the time of writing. `J02` in the script checks the same limit.

5. Why does `J04` warn for SuccessFactors on `joule-prod`?
   - A. SuccessFactors isn't allowed on a unified instance
   - B. No SuccessFactors system sits on the non-production instance
   - C. SuccessFactors uses a different identity tenant from the S/4HANA system
   - D. SuccessFactors needs Work Zone advanced edition instead

   Answer: B. The course rule asks for a non-production counterpart for every product on the production instance. S4P has S4Q; SF-EC has none until the exercise adds SF-EC-T.

6. Calder wants a SuccessFactors test instance for Joule. Which identity tenant should it use, and why?
   - A. `calder-ias`, so test users match production users exactly
   - B. A new third tenant, so HR test data stays isolated
   - C. `calder-ias-test`, so it can join the test instance cleanly
   - D. Either tenant, because Joule maps users by e-mail address

   Answer: C. A Joule instance uses one identity tenant per tier, and SAP's landscape recommendation warns of Person UID conflicts when several SuccessFactors instances share one tenant. The test instance on the test tenant avoids both problems.

7. What does S/4HANA Private Edition need before Joule's transactional prompts, such as creating a purchase order, work?
   - A. A Work Zone advanced edition site per business role
   - B. A re-run of the booster for each new Fiori app
   - C. An AI Core instance on the extended plan in the subaccount
   - D. The matching OData services activated in the backend

   Answer: D. SAP's Architecture Center says transactional capabilities need the corresponding OData services activated. The other options aren't stated requirements; the booster runs once and AI Core isn't a Joule prerequisite.

## Sources

- [Setting Up a Unified Joule Instance (SAP Learning, read 2026-11-28)](https://learning.sap.com/courses/setting-up-joule-across-your-organizational-system-landscapes/setting-up-a-unified-joule-instance): one Joule instance shared by several SAP cloud products; same Identity Authentication tenant and Global User ID for all; one production and one non-production tenant; one of three Work Zone editions per instance; order structure, identity, unified onboarding, then per line of business; per-app enablement without a shared tenant does not follow the unified model
- [Exploring Joule's Technical Architecture (SAP Learning, read 2026-11-28)](https://learning.sap.com/courses/setting-up-joule-across-your-organizational-system-landscapes/exploring-joule-s-technical-architecture): Identity Authentication, Identity Provisioning, Identity Directory; trust by OpenID Connect, SAML not supported for Joule trust; map user_uuid to the Global User ID; onboarding order prerequisites, trust and attributes, Joule booster with a formation, trusted domains; Work Zone navigation service
- [Setting Up Joule for SAP S/4HANA Cloud Private Edition (SAP Learning, read 2026-11-28)](https://learning.sap.com/courses/setting-up-joule-across-your-organizational-system-landscapes/setting-up-joule-for-sap-s-4hana-cloud-private-edition): prerequisites Joule and Work Zone entitlements, provisioned Private Edition system, Identity Authentication (Identity Provisioning typically used), Work Zone standard edition in the subaccount, secure connectivity such as Cloud Connector, administrators on both sides; more customer configuration than Public Edition
- [Joule in SAP S/4HANA Cloud Private & Public Edition (SAP Architecture Center, updated 2025-10-29, read 2026-11-28)](https://architecture.learning.sap.com/docs/ref-arch/ebe268): Private Edition for RISE customers, release 2021 or later, SAPUI5 minimums for 2022 and 2023, OData services for transactional capabilities, Joule and Work Zone foundation plans, Identity Provisioning, Cloud Foundry, Cloud Connector, a booster that automates instances and destinations; Public Edition natively integrated, setup per tenant and not transported
- [Integrating Joule with SAP SuccessFactors (SAP Learning, read 2026-11-28)](https://learning.sap.com/learning-journeys/provisioning-and-implementing-joule/integrating-joule-with-sap-successfactors): Joule entitlement das-application; register SuccessFactors in the BTP system landscape (formations); Work Zone standard edition or the foundation plan that comes with Joule; supported data centers; user_uuid set to the Global User ID; global account, subaccount, SuccessFactors and Cloud Identity Services administrators
- [Discovering Joule with SAP Concur Solutions: Answering Common Questions (SAP Learning, read 2026-11-28)](https://learning.sap.com/courses/discovering-joule-with-sap-concur-solutions/answering-common-questions): launch FAQ; Travel and Expense only; whole instance, not per user; possible in a production sandbox; not for Concur Cloud for Public Sector; Professional and Standard edition customers need an SAP BTP license; activation starts in the SAP Concur App Center; Work Zone foundation, Identity Authentication and Identity Provisioning included
- [Setting Up Joule for SAP Ariba (SAP Learning, read 2026-11-28)](https://learning.sap.com/courses/setting-up-joule-across-your-organizational-system-landscapes/setting-up-joule-for-sap-ariba): Joule Base or Premium entitlement; administrators in BTP, Cloud Identity Services and the Ariba realm; Cloud Identity Services for logon, else a third-party user in the realm; Ariba enablement layered on the common onboarding
- [SAP Joule Landscape Recommendation (SAP Architecture Center, read 2026-11-28)](https://architecture.learning.sap.com/docs/ref-arch/56ae6b): three stages, each with Joule, Joule Studio, AI Core and connectivity subaccounts; test identity tenant for development and test, productive tenant for production; Joule preview for development and test; Person UID conflict when several SuccessFactors instances share one identity tenant
- [Joule Unified Setup: Bridging Simplicity and Performance (SAP Community, Technology Blog by SAP, read 2026-11-28)](https://community.sap.com/t5/technology-blog-posts-by-sap/joule-unified-setup-bridging-simplicity-and-performance/ba-p/13924542): one identity tenant recommended; only one S/4HANA integration (public or private) per subaccount at the time of writing; Joule booster can't be re-run, formation changes by ticket on CA-JOULE; no predefined data center mapping, EU11 suggested for EU access; Joule for consultants in its own subaccount
- [Assessing the Preparation Elements for Joule Architecture Integration and Provisioning (SAP Learning, read 2026-11-28)](https://learning.sap.com/courses/guiding-ai-driven-transformation-as-an-sap-enterprise-architect/assessing-the-preparation-elements-for-joule-architecture-integration-and-provisioning_c0be6f8d-c4de-4245-bf2f-31a379b4585e): order landscape and subaccounts, Cloud Identity Services, each target system, Work Zone with user and role sync, Joule booster; rollout phases preparation (Joule and AI Unit entitlement), test and pilot, production, expansion; support component CA-Joule
