# What an SAP forward deployed engineer does

> The role that turns AI pilots into working SAP solutions, what it does day to day, and how it differs from the SAP roles you already know.

- Course: Orchestrate, Unit 2 · Foundations
- Page: https://erpfde.com/topics/what-is-an-sap-fde/
- Updated: 2026-10-28
- Reading time: Foundational 7 min, Deep 35 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

A **forward deployed engineer (FDE)** is an engineer who works inside the customer's business and owns an outcome, not a deliverable. They do two jobs at once: the consultant's job of finding and framing the real problem, and the engineer's job of building and running the system that solves it.

An **SAP FDE** does this where the business actually runs: in order-to-cash, procure-to-pay, finance and supply chain processes on SAP. They know enough about AI to build real solutions, and enough about SAP to make those solutions work with the company's data, security and processes.

> **Note** The title comes from Palantir, which used "forward deployed" engineers embedded with clients. In 2025–2026 it spread fast across AI companies and consultancies because so many AI pilots were stalling between the demo and production.

### Why companies are hiring FDEs now

Most enterprises have run AI pilots. Far fewer have AI running in a core process with measurable results. The gap is rarely the model. It is everything around it: messy data, authorizations, integration, change management and nobody owning the result.

The FDE role exists to close that gap. Two signals from the SAP world make the point:

- **Accenture and SAP** [launched a forward deployed engineering program](https://newsroom.accenture.com/blogs/2026/accenture-launches-forward-deployed-engineering-program-with-sap) in June 2026 to identify, build and implement AI use cases on SAP's AI platform faster.
- **SAP itself** posted forward deployed AI engineer roles in 2026, from associate to principal level, to deliver AI solutions for strategic customers across the Americas, Europe and Asia.

### What an SAP FDE actually does

The work follows a loop. Each step has a concrete SAP flavor.

| Step | What it means | What it looks like in SAP |
| --- | --- | --- |
| Understand the business | Learn how the process really runs, not how the requirement describes it | Sit with the credit team working blocked sales orders |
| Define the right problem | Turn pain into a problem worth solving with AI, with a number attached | "Cut the time an order spends on credit hold from 2 days to 4 hours" |
| Design the approach | Decide what AI does, what data it uses, and how success is measured | Standard SAP feature, a Joule agent, a BTP app, or something outside SAP |
| Build within constraints | Build a solution that respects the landscape | Clean core, SAP authorizations, existing integration patterns |
| Deploy to production | Ship something real users depend on | Live in the credit team's daily worklist, not a demo |
| Own the outcome | Measure, fix and improve after go-live | Weekly check of hold time, accuracy and user overrides |

### How this differs from roles you already know

| Role | Main question they answer | Where an FDE differs |
| --- | --- | --- |
| Functional consultant | How should the process be configured? | An FDE also builds the AI and code, and owns the metric after go-live |
| Developer | How do I build this spec? | An FDE writes the spec, often after discovering the real problem |
| Solution architect | How do the systems fit together? | An FDE designs and builds, then stays for adoption |
| Data scientist | Which model predicts this best? | An FDE cares less about model choice and more about the whole system working in the process |
| FDE | Did the business number move? | This is the job |

### A day in the life: blocked sales orders

A distributor has hundreds of sales orders a day stuck on credit or delivery blocks. Credit analysts check each one by hand across several screens.

An SAP FDE would spend the first days watching analysts work, then find that most blocks fall into a handful of patterns. They build a prototype that reads blocked orders through SAP's standard APIs, groups them, and drafts a recommended action with the evidence, for example "release, customer paid overdue invoice yesterday". The analyst still decides. Within weeks the question is not "does the AI work?" but "how much faster are orders released, and how often did analysts overrule it?"

### Questions to ask when you hire or staff an FDE

- What business metric will this person own, and how is it measured today?
- Can they show an AI system they built that is running in production, not just a demo?
- How would they decide between a standard SAP AI feature and a custom build?
- How do they handle SAP authorizations when an AI agent acts on a user's behalf?
- How will they know, three months after go-live, that the solution still works?

### Common misconceptions

- **"An FDE is a senior developer with a new title."** The defining trait is owning a business outcome and doing discovery, not seniority in code.
- **"We need an FDE for every AI use case."** Many use cases are covered by SAP's embedded AI features. An FDE earns their cost where standard features don't fit or several systems must work together.
- **"FDEs replace consultants."** They absorb part of the consultant's role, but large programs still need functional, change and project roles.

### Key terms

- **Forward deployed engineer (FDE):** an engineer embedded with a customer who owns an outcome end to end.
- **Clean core:** keeping SAP's standard code unmodified and building extensions outside or through released interfaces.
- **Agent:** an AI system that can take actions through tools, not just answer questions.
- **Human in the loop:** a design where a person approves or corrects the AI's action before it takes effect.

### Check yourself

1. What makes a forward deployed engineer different from a developer or a consultant?
   - A. They are senior developers who specialize in training and tuning AI models
   - B. They configure SAP processes and leave the building work to developers
   - C. They own a business outcome end to end, from framing the problem to running it
   - D. They hand over a finished deliverable and then move on to the next client

   Answer: C. An FDE owns a business outcome end to end, not a deliverable. They find and frame the real problem like a consultant, then build, ship and run the solution like an engineer, and stay until the business number moves.

2. Why are companies hiring FDEs now?
   - A. AI models are still too weak for enterprise processes, so every pilot needs custom training
   - B. Few AI pilots reach a core process with results; the gap is data, integration and ownership
   - C. Enterprises have stopped running AI pilots and need someone to restart the programs
   - D. Consultants can no longer configure S/4HANA without AI, so engineers must take over

   Answer: B. Most enterprises have run AI pilots, but few have AI running in a core process with measurable results. The gap is rarely the model; it is messy data, authorizations, integration, change management and nobody owning the result. The FDE role exists to close that gap.

3. What does "define the right problem" look like in practice?
   - A. Attaching a number, such as cutting credit-hold time from 2 days to 4 hours
   - B. Choosing the most capable AI model first, before talking to any users
   - C. Listing every AI feature the team could build and ranking them by effort
   - D. Asking IT which SAP systems have APIs available and starting from those

   Answer: A. Turning a pain point into a problem with a number attached, such as "cut the time an order spends on credit hold from 2 days to 4 hours". Without a number, nobody can tell afterwards whether the AI helped.

4. In the blocked sales orders example, who makes the final decision, and why does that matter?
   - A. The AI releases blocked orders on its own once its confidence is high
   - B. The FDE reviews each order and decides before the analyst sees it
   - C. The customer's sales rep approves each AI recommendation by email
   - D. The credit analyst; the AI drafts a recommendation with the evidence

   Answer: D. The credit analyst. The AI groups blocked orders and drafts a recommended action with the evidence, but a person decides. That keeps risk low while trust builds, and turns the success question into "how much faster are orders released, and how often did analysts overrule it?"

5. Do you need an FDE for every AI use case?
   - A. Yes; standard SAP AI features can't work at all without custom engineering around them
   - B. Yes; every AI use case needs its own dedicated engineer working on it full-time
   - C. No; SAP's embedded AI covers many, and an FDE earns their cost where it doesn't fit
   - D. No; FDEs are only needed for AI projects where no SAP system is involved at all

   Answer: C. No. Many use cases are covered by SAP's embedded AI features. An FDE earns their cost where standard features don't fit or where several systems must work together.

6. You are interviewing an FDE candidate. What is the strongest evidence of fit?
   - A. A certificate in the latest AI framework, plus a list of the tools they know
   - B. An AI system they built that runs in production, and a metric they owned
   - C. A polished demo built on sandbox data and shown live during the interview
   - D. Many years configuring a single SAP module, plus deep knowledge of its tables

   Answer: B. An AI system they built that is running in production, not a demo, and a business metric they owned. Then ask how they choose between a standard SAP feature and a custom build, and how they handle SAP authorizations when an agent acts for a user.

7. What is "clean core", and why should a leader care about it?
   - A. Leaving SAP standard code unmodified so upgrades don't break what's built on it
   - B. Deleting unused custom code before every go-live so the system stays fast
   - C. Running all AI outside SAP so that SAP systems never see or store any data
   - D. Using only SAP-built AI features and never building any custom solutions on top

   Answer: A. Keeping SAP's standard code unmodified and building extensions outside SAP or through released interfaces. It protects the company's ability to upgrade SAP without breaking the AI solutions built around it.

## Deep layer

### Mental model: an FDE owns a number

Every serious FDE engagement can be written as one sentence: *"Move metric M in process P from X to Y by date D, without breaking constraints C."* Everything else, including the model, the framework and the SAP product, is a means to that end.

That sentence forces three things most AI pilots skip. There is a **baseline** (X), so improvement can be proven. There is a **process owner** who cares about M, so someone will use the result. And there are **constraints** named up front, so the architecture respects security, clean core and cost from day one.

```mermaid
flowchart LR
  A[Understand the business] --> B[Define the problem and metric]
  B --> C[Design the AI approach]
  C --> D[Build within constraints]
  D --> E[Deploy to production]
  E --> F[Own and improve the outcome]
  F -. new evidence .-> B
```

The loop matters because the first problem statement is usually wrong. Real usage data after deployment routinely changes what "the problem" is, so an FDE keeps the loop turning instead of handing over a deliverable.

### The first architecture decision: where should the AI live?

For any SAP use case, the most consequential early choice is *where* the intelligence runs. Roughly from least to most custom:

```mermaid
flowchart TD
  Q{Does a standard SAP AI feature<br/>already cover the need?} -->|Yes| S[Use embedded AI in the SAP application]
  Q -->|No| J{Is it a conversational or agentic task<br/>inside SAP's user experience?}
  J -->|Yes| K[Extend Joule: skills or a Joule agent]
  J -->|No| B{Does it need SAP data and processes<br/>with custom logic or models?}
  B -->|Yes| T[Side-by-side on SAP BTP<br/>with SAP's AI foundation services]
  B -->|No, SAP is one of many systems| O[Build outside SAP,<br/>calling SAP through released APIs]
```

| Option | Choose it when | Watch out for |
| --- | --- | --- |
| Embedded AI in SAP applications | The feature exists and fits the process | Licensing and whether it matches how *this* customer works |
| Extend Joule | Users should ask or act from inside SAP's experience | Product scope moves fast; check current capabilities before committing |
| Side-by-side on SAP BTP | You need custom logic, grounding on SAP data, and SAP-native security | BTP skills and run costs; design for principal propagation early |
| Outside SAP, via APIs | SAP is one system among many, or you need a stack SAP doesn't offer | You own security, auditing and upgrades; use released APIs only (clean core) |

> **Tip** Write this decision down with the reasons. Six months later, when someone asks "why didn't we just use the standard feature?", the decision record answers it.

Later units cover each option in depth: [Joule and Joule Studio](https://erpfde.com/topics/joule-and-joule-studio/) and [Joule agents](https://erpfde.com/topics/joule-agents-and-agent-orchestration/) in Unit 8, SAP's AI foundation services in [the generative AI hub](https://erpfde.com/topics/sap-generative-ai-hub-and-orchestration/) (Unit 3) and [the HANA Cloud vector engine](https://erpfde.com/topics/hana-cloud-vector-engine/) (Unit 6), and [buy versus build](https://erpfde.com/topics/buy-vs-build-for-sap-ai/) in Unit 13.

### A first prototype in an afternoon: triaging blocked sales orders

FDEs build early, on real or realistic data, to test whether the problem is what everyone thinks it is. In this section you build a small program that does three things:

1. **Reads sales orders from SAP.** SAP runs a free public test system, the **sandbox** of the SAP Business Accelerator Hub (api.sap.com). It holds demo sales orders you can read without owning an SAP system.
2. **Finds the blocked ones.** An order is "blocked" here if it has a delivery block or a billing block.
3. **Optionally asks an AI model to draft a note** for each blocked order, which a human analyst then reviews.

```mermaid
flowchart LR
  A[Your computer<br/>triage.py] -->|read orders| B[SAP sandbox<br/>Sales Order API]
  B -->|order data| A
  A -->|optional: one order| C[AI model]
  C -->|draft note| A
  A --> D[Analyst reviews]
```

No prior coding experience is assumed. Follow the steps in order. Plan on about 30 minutes once your computer is set up.

**Before you start:** complete [Set up your computer for this course](https://erpfde.com/topics/set-up-your-computer/). It installs Python, VS Code and Git, creates your `orchestrate-course` folder with its `.venv`, installs `requests`, `anthropic` and `python-dotenv`, and puts your free SAP sandbox key in `.env`. This walkthrough doesn't repeat those steps.

> **Note** Words you will meet. An **API** is a door that lets one program ask another for data. An **API key** is a password for that door. **OData** is the standard format SAP uses for these doors. The **terminal** is the text window where you type commands. Everything here only *reads* data; you cannot break anything.

#### What you need

- Your course folder from the setup topic, with `SAP_API_KEY` in `.env`. Free.
- For the optional AI step only: a model key (`ANTHROPIC_API_KEY` in `.env`). Small per-request charge. Without one, everything else still works.
- About 30 minutes.

#### Step 1: Open your course folder

1. Open VS Code and choose **File > Open Folder**, then pick `orchestrate-course`.
2. Open a terminal inside VS Code: **Terminal > New Terminal**.
3. If the prompt doesn't start with `(.venv)`, turn the environment on:
   - **Windows (PowerShell):** `.venv\Scripts\Activate.ps1`
   - **macOS / Linux:** `source .venv/bin/activate`
4. Make sure the `unit02` folder exists. Running this when it already exists is harmless:
   - **Windows (PowerShell):** `New-Item -ItemType Directory -Force -Path unit02`
   - **macOS / Linux:** `mkdir -p unit02`

#### Step 2: Save the script

1. In VS Code, choose **File > New File**.
2. Copy the whole script below (the **Copy** button appears when you hover over it) and paste it in.
3. Save it as `triage.py` inside the `unit02` folder, so its path is `unit02/triage.py`.

```python
"""Triage blocked sales orders: read from SAP, draft notes with an LLM, keep a human in the loop.

How to run (from your course folder):
  python unit02/triage.py            read orders from the SAP sandbox and count blocked ones
  python unit02/triage.py --sample   use three made-up orders instead (no SAP key needed)
  python unit02/triage.py --llm      also ask a language model to draft a note per blocked order
"""
import json
import os
import sys

import requests

try:  # read keys from your .env file (see "Set up your computer")
    from dotenv import load_dotenv
    load_dotenv()
except ImportError:
    pass  # no python-dotenv: keys must already be environment variables

# Where the SAP sandbox lives, and which API and entity we read.
BASE = "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV"
HOW_MANY = 100  # how many orders to read; raise it if you find no blocked orders

# The sales order header fields we ask SAP for.
FIELDS = [
    "SalesOrder", "SoldToParty", "TotalNetAmount", "TransactionCurrency",
    "RequestedDeliveryDate", "OverallSDProcessStatus", "TotalCreditCheckStatus",
    "OverallTotalDeliveryStatus", "DeliveryBlockReason", "HeaderBillingBlockReason",
]

# Made-up orders for practice. The codes are placeholders, not real SAP meanings.
SAMPLE_ORDERS = [
    {"SalesOrder": "9000001", "SoldToParty": "CUST-A", "TotalNetAmount": "18250.00",
     "TransactionCurrency": "USD", "RequestedDeliveryDate": "2026-10-05",
     "OverallSDProcessStatus": "A", "TotalCreditCheckStatus": "B",
     "OverallTotalDeliveryStatus": "A", "DeliveryBlockReason": "01",
     "HeaderBillingBlockReason": ""},
    {"SalesOrder": "9000002", "SoldToParty": "CUST-B", "TotalNetAmount": "940.00",
     "TransactionCurrency": "USD", "RequestedDeliveryDate": "2026-10-02",
     "OverallSDProcessStatus": "B", "TotalCreditCheckStatus": "",
     "OverallTotalDeliveryStatus": "B", "DeliveryBlockReason": "",
     "HeaderBillingBlockReason": "02"},
    {"SalesOrder": "9000003", "SoldToParty": "CUST-C", "TotalNetAmount": "5100.00",
     "TransactionCurrency": "USD", "RequestedDeliveryDate": "2026-10-09",
     "OverallSDProcessStatus": "C", "TotalCreditCheckStatus": "",
     "OverallTotalDeliveryStatus": "C", "DeliveryBlockReason": "",
     "HeaderBillingBlockReason": ""},
]


def fetch_orders(top: int = HOW_MANY) -> list:
    """Read sales order headers from the SAP sandbox (read-only)."""
    key = os.environ.get("SAP_API_KEY")
    if not key:
        sys.exit("SAP_API_KEY is not set. Add it to .env (Set up your computer, Step 6), or run with --sample.")
    headers = {"APIKey": key, "Accept": "application/json"}
    params = {"$top": str(top), "$select": ",".join(FIELDS), "$format": "json"}
    resp = requests.get(f"{BASE}/A_SalesOrder", headers=headers, params=params, timeout=30)
    if resp.status_code in (401, 403):
        sys.exit(f"SAP refused the request (HTTP {resp.status_code}). Copy the key again into .env (Set up your computer, Step 6).")
    resp.raise_for_status()  # stop with a clear error on any other failure
    return resp.json()["d"]["results"]  # where OData v2 puts the list of records


def is_blocked(order: dict) -> bool:
    """An order counts as blocked if either block field has a value."""
    return bool(order.get("DeliveryBlockReason") or order.get("HeaderBillingBlockReason"))


SYSTEM = (
    "You help credit and order-management analysts. For the sales order provided, "
    "explain in one or two sentences why it is likely blocked and suggest the next check. "
    "Use only the fields given. Block and status values are codes; do not guess their meaning. "
    "If the data is insufficient, say so. "
    'Reply with JSON only: {"order": str, "likely_cause": str, "next_check": str, '
    '"confidence": "low"|"medium"|"high"}'
)


def call_llm(system: str, user: str) -> str:
    """Send one request to a language model and return its text reply.

    Uses Anthropic's Python SDK. To use another provider, replace only this function.
    """
    import anthropic  # imported here so the SAP-only part runs without it

    client = anthropic.Anthropic()  # reads ANTHROPIC_API_KEY from the environment
    message = client.messages.create(
        model=os.environ.get("LLM_MODEL", "claude-haiku-5-5"),
        max_tokens=400,
        system=system,
        messages=[{"role": "user", "content": user}],
    )
    return "".join(block.text for block in message.content if block.type == "text")


def parse_json(text: str) -> dict:
    """Pull the JSON object out of the model's reply, even if it adds extra words."""
    start, end = text.find("{"), text.rfind("}")
    if start == -1 or end == -1:
        return {"error": "model did not return JSON", "raw": text}
    try:
        return json.loads(text[start:end + 1])
    except json.JSONDecodeError:
        return {"error": "model returned invalid JSON", "raw": text}


def triage(order: dict) -> dict:
    note = parse_json(call_llm(SYSTEM, json.dumps(order)))
    note["status"] = "awaiting_review"  # the analyst decides; the AI only drafts
    return note


def main() -> None:
    args = sys.argv[1:]
    if "--sample" in args:
        orders, source = SAMPLE_ORDERS, "made-up sample orders"
    else:
        orders, source = fetch_orders(), "SAP Business Accelerator Hub sandbox"

    blocked = [o for o in orders if is_blocked(o)]
    print(f"Source: {source}")
    print(f"{len(blocked)} of {len(orders)} orders have a delivery or billing block\n")
    if not blocked:
        print("No blocked orders in this batch. Raise HOW_MANY, or try --sample.")

    for order in blocked[:5]:
        print(json.dumps({k: order.get(k) for k in FIELDS}, indent=2))
        if "--llm" in args:
            print("Draft note for the analyst:")
            print(json.dumps(triage(order), indent=2))
        print("-" * 40)


if __name__ == "__main__":
    main()
```

#### Step 3: Run it against SAP

Make sure your terminal is in the `orchestrate-course` folder (not `unit02`) with `(.venv)` showing, then run:

```bash
python unit02/triage.py
```

You should see something like this (numbers and orders will differ, because the sandbox is shared and its data changes):

```text
Source: SAP Business Accelerator Hub sandbox
3 of 100 orders have a delivery or billing block

{
  "SalesOrder": "...",
  "SoldToParty": "...",
  ...
  "DeliveryBlockReason": "...",
  "HeaderBillingBlockReason": ""
}
----------------------------------------
```

That first line is the most important output: a count, from real API data, of how many orders are blocked. It is the start of a **baseline**.

If you see `0 of 100`, that's a valid result, not an error. Change `HOW_MANY = 100` near the top of the script to `500`, save and run again. To see what the rest of the program does in the meantime, run `python unit02/triage.py --sample`, which uses three made-up orders instead of SAP.

The sample run prints the same result every time. It starts like this, then shows orders `9000001` (delivery block) and `9000002` (billing block):

```text
Source: made-up sample orders
2 of 3 orders have a delivery or billing block
```

> **Note** The sample orders are made up, so this count shows how the script works, not a result from a real SAP system.

#### Step 4 (optional): Draft triage notes with an AI model

1. If `.env` doesn't have an `ANTHROPIC_API_KEY` line yet, follow "Model key" in Step 6 of [Set up your computer](https://erpfde.com/topics/set-up-your-computer/) and add it. (Using another provider? Replace only the `call_llm` function; nothing else changes.)
2. Run with the `--llm` option. Add `--sample` if SAP returned no blocked orders:

   ```bash
   python unit02/triage.py --llm
   ```

Under each blocked order you now get a draft note with a likely cause, a next check, a confidence level and `"status": "awaiting_review"`. The script sends at most five orders to the model, so a run costs very little. The script uses `claude-haiku-5-5`, a small, fast model, by default; to try another, add a line such as `LLM_MODEL="model-name"` to `.env`.

#### What each part of the script does

| Part | What it does |
| --- | --- |
| `BASE`, `FIELDS` | The address of SAP's sales order API and the ten header fields we ask for |
| `fetch_orders` | Sends one read request to SAP with your key and returns the list of orders |
| `is_blocked` | Marks an order as blocked if either block field has any value |
| `SYSTEM` | The instructions for the model: use only these fields, don't guess code meanings, reply as JSON |
| `call_llm` | Sends one order to the model and returns its reply |
| `parse_json` | Pulls the JSON out of the reply, even if the model adds extra words |
| `triage` | Combines the two and stamps every note `awaiting_review` |
| `main` | Reads the options you typed, counts blocked orders and prints them |

#### If something goes wrong

| What you see | What it means | What to do |
| --- | --- | --- |
| `python` is not recognized / command not found | Python isn't installed or isn't on the PATH | Repeat Step 1 of [Set up your computer](https://erpfde.com/topics/set-up-your-computer/), then open a new terminal |
| `ModuleNotFoundError: No module named 'requests'` | `.venv` isn't active, or the libraries aren't installed in it | Activate `.venv` (Step 1.3), then run `pip install -r requirements.txt` |
| `SAP_API_KEY is not set` | `.env` is missing, misnamed or has no `SAP_API_KEY` line | Run `python check_setup.py` from the course folder and fix what it reports |
| `SAP refused the request (HTTP 401 ...)` or `(HTTP 403 ...)` | The key is wrong, incomplete or expired | Copy it again with **Show API Key**, then **Copy Key and Close**, and replace it in `.env` |
| `ConnectionError` or a timeout | Your network blocks the call, often a company proxy or VPN | Try a home network, or ask IT to allow `sandbox.api.sap.com` |
| `can't open file 'unit02/triage.py'` | The terminal is in the wrong folder | Move to the course folder (`cd ~/orchestrate-course`) and run again |
| An error mentioning `ANTHROPIC_API_KEY` or authentication | The model key is missing or wrong in `.env` | Repeat Step 4.1 |

#### Why the script is built this way

Three choices in this small script are deliberate FDE habits:

1. **It measures before it predicts.** The first output is a count of blocked orders. That count is the start of your baseline.
2. **It constrains the model.** The prompt limits the model to the fields supplied, tells it not to guess code meanings, asks it to admit when data is insufficient, and fixes an output format you can check.
3. **It keeps a human in the loop.** Every note starts as `awaiting_review`. Automation comes later, once evaluation shows where the AI is reliably right.

> **Warning** Block reasons and status values are codes whose meaning is configured per system. Don't hard-code interpretations of them from a sandbox. In a real engagement, confirm the code lists with the customer's SD team before the model is allowed to explain them.

### From prototype to production

A prototype that impresses in a demo is roughly a fifth of the work. The rest is what makes an SAP FDE different from a hackathon team:

- **Authorizations.** An agent acting for a credit analyst must see only what that analyst may see. That rules out a shared technical user with broad rights and points toward propagating the end user's identity to SAP ([Agent permissions and SAP authorizations](https://erpfde.com/topics/agent-permissions-and-sap-authorizations/)).
- **Grounding.** Real triage needs more than header fields: open items, payment history, customer notes. Getting that data safely is a retrieval and integration problem ([Grounding on SAP data without breaking authorizations](https://erpfde.com/topics/grounding-on-sap-data-with-authorizations/)).
- **Evaluation.** Build a set of past orders with known correct outcomes and score every change against it, so you can prove improvement and catch regressions ([Building an evaluation harness](https://erpfde.com/topics/building-an-evaluation-harness/)).
- **Operations.** Log every AI decision with its inputs, track cost per order and latency, and have a runbook for when quality drops ([Observability for AI systems](https://erpfde.com/topics/observability-for-ai-systems/)).
- **Clean core.** Use released APIs and extension points only, so the customer's next SAP upgrade doesn't break your solution.
- **Adoption.** Put the output where analysts already work, measure how often they accept or override it, and treat overrides as your most valuable training signal.

### The SAP FDE skills stack

SAP's own FDE job postings describe the target well. The associate role asks for strong Python, a basic understanding of LLMs, prompt engineering, embeddings and RAG, exposure to agent frameworks, and APIs, Git and containers, with SAP BTP, SAP AI Core or Joule listed as a plus. The senior role adds enterprise architecture, knowledge graphs, MCP, tool calling, evaluation and AI observability.

| Layer | Skills | Where this course covers it |
| --- | --- | --- |
| AI engineering | Python, LLMs, RAG, agents, MCP, evaluation | Units 2, 3, 6–8, 17–19 |
| AI foundations | ML, neural networks, embeddings, transformers | Units 17–19 |
| SAP platform | BTP, SAP AI foundation services, Joule, HANA Cloud, integration | Units 3, 5, 6, 8, 18 |
| SAP processes | Order-to-cash, procure-to-pay, finance, supply chain | Every unit's examples |
| Production | Security, authorizations, observability, cost | Units 10–11 |
| FDE craft | Discovery, framing, design docs, business cases, adoption | Unit 12, and a deliverable in every unit |

The rare combination, and the reason this curriculum pairs every AI topic with its SAP counterpart, is the middle: people who understand the AI deeply *and* know how SAP data, security and processes actually behave.

### Pitfalls

- **Starting from the technology.** "Let's use agents" is not a problem statement. Start from the metric.
- **Demo data that hides the hard part.** Sandbox data is clean; production has duplicates, missing fields and odd configurations. Get a realistic sample early.
- **No baseline.** If you didn't measure hold time before go-live, you can't prove the AI helped.
- **Automating the decision too early.** Draft, then recommend, then automate, each step earned by evaluation results.
- **Ignoring the standard feature.** Check what SAP already ships before building. A custom build the customer must maintain is a cost.

### Exercise: frame and prototype one use case

Pick one SAP process you know (or use blocked sales orders).

1. Write the one-sentence FDE statement: metric, process, baseline, target, date, constraints.
2. Walk the architecture decision above and write two sentences on why you chose where the AI lives.
3. Follow Steps 1–3 of the prototype and record how many orders are blocked in your sample.
4. Follow Step 4 to draft notes for up to five blocked orders. Judge each note as right, partly right or wrong, and write one sentence on why.

**Done when:** you have the statement, the decision record, a count from real API data, and five judged triage notes. That small judged set is the seed of your evaluation set in [Set up for Unit 7](https://erpfde.com/topics/set-up-for-unit-07/).

### Check yourself

1. Why does an FDE insist on a baseline before building?
   - A. The model needs the baseline as training data before it can learn
   - B. It sets the budget and token limits agreed with the model provider
   - C. It decides which AI framework and which model the team should choose
   - D. Without the "before" number you can't prove the AI improved anything

   Answer: D. The baseline is the X in "move metric M from X to Y". Without it you can't prove the AI helped. In the prototype, the first output, a count of blocked orders from real API data, is the start of that baseline.

2. The FDE pattern is "move metric M in process P from X to Y by date D, without breaking constraints C". What does it force you to name up front?
   - A. The model, the framework and the cloud provider the solution runs on
   - B. The team size, the budget, the project method and the delivery plan
   - C. A baseline, a process owner who cares about M, and the constraints
   - D. The SAP modules, transaction codes and custom fields the process uses

   Answer: C. "Move metric M in process P from X to Y by date D, without breaking constraints C." It forces a baseline to prove improvement, a process owner who cares about M, and constraints such as security, clean core and cost named from day one.

3. When would you extend Joule rather than build side by side on BTP?
   - A. When you need custom logic and grounding on SAP data with SAP-native security
   - B. When users should ask or act from inside SAP's own experience
   - C. When SAP is only one of many systems involved in the process
   - D. When the use case touches no SAP data or SAP users at all

   Answer: B. Extend Joule when users should ask or act from inside SAP's own experience and the task is conversational or agentic. Build side by side on BTP when you need custom logic and grounding on SAP data with SAP-native security. Check Joule's current capabilities first, because its scope moves fast.

4. How does `triage.py` decide an order is blocked, and why must the model not guess what block codes mean?
   - A. A block reason field has a value; code meanings are set per system
   - B. The credit status field is set; SAP fixes code meanings worldwide
   - C. The model reads every field and decides; the sandbox defines the codes
   - D. The order is more than 30 days old; codes change every single day

   Answer: A. `is_blocked` treats an order as blocked if `DeliveryBlockReason` or `HeaderBillingBlockReason` has any value. Block reasons and status values are configured per system, so their meaning must come from the customer's SD team, not from the model or the sandbox.

5. Why does every AI note start with the status `awaiting_review`?
   - A. Because the SAP API rejects any note that is created without a status
   - B. So the model can rewrite the note again on its next scheduled run
   - C. Because the sandbox only allows read access, so notes can't be saved
   - D. To keep a human in the loop until evaluation shows the AI is reliable

   Answer: D. It keeps a human in the loop. Automation is earned in steps, draft, then recommend, then automate, and each step is justified by evaluation results, not by a good demo.

6. Why is a shared technical user a problem for an agent that acts on users' behalf?
   - A. Technical users can't call SAP's OData APIs, so the agent gets no data
   - B. A technical user makes the model respond more slowly to each request
   - C. The agent acts with the technical user's broad rights, not the analyst's
   - D. Each technical user adds a fixed monthly model cost to the project

   Answer: C. The agent would see and act with the technical user's broad rights, not the analyst's. An agent working for a credit analyst must see only what that analyst may see, which points to propagating the end user's identity to SAP ([Agent permissions and SAP authorizations](https://erpfde.com/topics/agent-permissions-and-sap-authorizations/)).

7. What is the first metric you would track after go-live for the blocked-orders assistant, and why?
   - A. The number of tokens the model uses per day across all users
   - B. The time orders spend blocked, compared with the baseline
   - C. How many analysts log in to the tool each day after go-live
   - D. The model's score on a public benchmark after each update

   Answer: B. The time orders spend blocked, compared with the baseline, because that is the business number the engagement promised to move. Next to it, track how often analysts accept or override the notes; overrides are the most valuable signal for improving it.

8. Your sandbox run prints `0 of 100 orders have a block`. What do you do?
   - A. Treat it as valid: raise `HOW_MANY` or run with `--sample`
   - B. Treat it as a key error and create a new SAP API key
   - C. Treat it as a sandbox bug and report it to SAP support
   - D. Switch the script to a different SAP API and rerun it

   Answer: A. Treat it as a valid result, not an error. Raise `HOW_MANY` to 500 and run again, or use `--sample` to see the rest of the program. Remember that sandbox data is clean demo data, so get a realistic sample from the customer early.

## Sources

- [Accenture launches forward deployed engineering program with SAP (June 2026)](https://newsroom.accenture.com/blogs/2026/accenture-launches-forward-deployed-engineering-program-with-sap)
- [SAP job posting: Forward Deployed AI Engineer (Associate), New York](https://jobs.sap.com/job/New-York-Forward-Deployed-AI-Engineer-(Associate)-NY-10001/1421515833/)
- [SAP job posting: Forward Deployed AI Engineer Expert, Garching](https://jobs.sap.com/job/Garching-bei-M%C3%BCnchen-(Munich)-Forward-Deployed-AI-Engineer-Expert-(fmd)-85748/1421702733/)
- [SAP Forward Deployed AI Engineer Expert/Senior listing with salary range](https://www.dreamworkhq.com/job/47ae97e8-a379-4b77-835e-e2c5e51bca76)
- [Forward Deployed Engineer (Wikipedia)](https://en.wikipedia.org/wiki/Forward_Deployed_Engineer)
- [FDE Academy: the FDE work cycle](https://fde.academy/)
- [SAP Business Accelerator Hub: Sales Order (A2X) API](https://api.sap.com/api/API_SALES_ORDER_SRV/path/get_A_SalesOrder): sandbox endpoint and entity used in the deep-layer prototype
- [Illustrating SAP Business Accelerator Hub (SAP Learning)](https://learning.sap.com/learning-journeys/discover-sap-business-technology-platform/illustrating-the-sap-business-accelerator-hub_c913055d-dbfb-4b85-84c9-508eb7468236): sandbox APIs and getting an API key with Show API Key
- [Get service end point and API key (SAP Developers tutorial)](https://developers.sap.com/tutorials/abap-extensibility-cbo-execute-outbound-service/): Show API Key and Copy Key and Close steps
- [Get started with Claude (Claude API docs)](https://platform.claude.com/docs/en/get-started): SDK install, ANTHROPIC_API_KEY, messages.create example
