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.
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:
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.
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?"
"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.
Pick one answer for each question. The explanation appears after you choose.
1What makes a forward deployed engineer different from a developer or a consultant?
Answer: B. 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.
2Why are companies hiring FDEs now?
Answer: A. 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.
3What does "define the right problem" look like in practice?
Answer: B. 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.
4In the blocked sales orders example, who makes the final decision, and why does that matter?
Answer: A. 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?"
5Do you need an FDE for every AI use case?
Answer: D. 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.
6You are interviewing an FDE candidate. What is the strongest evidence of fit?
Answer: A. 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.
7What is "clean core", and why should a leader care about it?
Answer: B. 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.
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.
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:
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)
#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:
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.
Finds the blocked ones. An order is "blocked" here if it has a delivery block or a billing block.
Optionally asks an AI model to draft a note for each blocked order, which a human analyst then reviews.
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. 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.
Copy the whole script below (the Copy button appears when you hover over it) and paste it in.
Save it as triage.py inside the unit02 folder, so its path is unit02/triage.py.
"""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()
Make sure your terminal is in the orchestrate-course folder (not unit02) with (.venv) showing, then run:
python unit02/triage.py
You should see something like this (numbers and orders will differ, because the sandbox is shared and its data changes):
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):
Source: made-up sample orders
2 of 3 orders have a delivery or billing block
#Step 4 (optional): Draft triage notes with an AI model
If .env doesn't have an ANTHROPIC_API_KEY line yet, follow "Model key" in Step 6 of Set up your computer and add it. (Using another provider? Replace only the call_llm function; nothing else changes.)
Run with the --llm option. Add --sample if SAP returned no blocked orders:
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.
Three choices in this small script are deliberate FDE habits:
It measures before it predicts. The first output is a count of blocked orders. That count is the start of your baseline.
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.
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.
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).
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).
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).
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).
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.
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
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.
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.
Walk the architecture decision above and write two sentences on why you chose where the AI lives.
Follow Steps 1–3 of the prototype and record how many orders are blocked in your sample.
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.
Pick one answer for each question. The explanation appears after you choose.
1Why does an FDE insist on a baseline before building?
Answer: A. 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.
2The 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?
Answer: A. "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.
3When would you extend Joule rather than build side by side on BTP?
Answer: D. 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.
4How does triage.py decide an order is blocked, and why must the model not guess what block codes mean?
Answer: B. 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.
5Why does every AI note start with the status awaiting_review?
Answer: A. 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.
6Why is a shared technical user a problem for an agent that acts on users' behalf?
Answer: A. 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).
7What is the first metric you would track after go-live for the blocked-orders assistant, and why?
Answer: D. 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.
8Your sandbox run prints 0 of 100 orders have a block. What do you do?
Answer: D. 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.