ERPClimb logoERPClimb
Orchestration privacy, filtering and masking
SAP Business AI & Jouleadvanced 6 min read

Orchestration privacy, filtering and masking

Free sample lesson · open to everyone

Key takeaway

Orchestration modules address different concerns: templating structures inputs, grounding adds context, filtering constrains content, and masking changes sensitive representations. None automatically grants permission to process a field. Test privacy behavior with synthetic markers before submitting real sensitive information.

In this lessonShow sections

Visual overview

Orchestration privacy, filtering and maskingWorked investigation: follow the evidence through each step. Classify: The task needs an order status, not a person's identifier.; Configure: Synthetic marker PERSON-DEMO-42 is subject to the intended policy.; Inspect: The model-facing test representation is appropriately protected.; Validate: The marker does not leak through a failure message.ERPClimb.com · ADVANCED · ORIGINAL TEACHING DIAGRAMOrchestration privacy, filtering and masking11. ClassifyThe task needs an order status, not a person's identifier.22. ConfigureSynthetic marker PERSON-DEMO-42 is subject to the intended policy.33. InspectThe model-facing test representation is appropriately protected.44. ValidateThe marker does not leak through a failure message.Worked investigation: follow the evidence through each stepSynthetic evidence. Verify SAP product, edition, runtime and enabled capabilities.

The situation: a real project scenario

A fictional prompt contains a synthetic personal identifier that must not reach the model in clear text. In practice, this mirrors a common early-adoption mistake: a team wires up an orchestration pipeline for a support or procurement use case, enables a masking module because it looks like the "privacy" checkbox, and assumes that is sufficient.

The gap surfaces only when someone runs a diagnostic trace and finds the raw identifier still present in an intermediate log, after the masking module had already been bypassed by a retry path.

The fix is to treat data minimization — removing fields the task doesn't need — as the first control, with masking and filtering as additional layers tested end to end.

Explanation

Tutorial outcome

Orchestration modules address different concerns: templating structures inputs, grounding adds context, filtering constrains content, and masking changes sensitive representations. None automatically grants permission to process a field. Test privacy behavior with synthetic markers before submitting real sensitive information.

Prerequisites

Complete chapters 1–12 in this module. Use synthetic fixtures or an authorized sandbox.

Worked case — fictional

A fictional prompt contains a synthetic personal identifier that must not reach the model in clear text.

Step-by-step investigation

1. Classify

List the fields actually needed for the task and remove unnecessary personal identifiers first.

Expected evidence: The task needs an order status, not a person's identifier.

2. Configure

Use the documented masking/filtering modules supported by the deployment.

Expected evidence: Synthetic marker PERSON-DEMO-42 is subject to the intended policy.

3. Inspect

Verify module behavior using authorized diagnostics that do not store real private data.

Expected evidence: The model-facing test representation is appropriately protected.

4. Validate

Check the final answer, errors and logs for unintended disclosure or unsafe restoration.

Expected evidence: The marker does not leak through a failure message.

Try it yourself

Reproduce the synthetic input from the example below in a local fixture or authorized sandbox. Follow each step, record the observed result, and explain any mismatch before continuing. Do not treat the expected evidence as a result observed in your SAP tenant.

Acceptance check

The privacy test covers model input, response and diagnostic paths.

Common failure to avoid

Do not assume masking is authorization or that content filtering replaces data minimization.

Self-check

What should happen to a personal field that is unnecessary for the task?

Expected reasoning: Omit it before inference rather than relying only on masking.

Edition and release scope

Check the linked SAP documentation for your product, runtime, region and enabled service plan. The worked case is a simulation; these steps were not executed in a customer SAP tenant.

SAP references

References checked 2026-10-30. SAP material supports the named concepts; the case, fixture and acceptance checks are original ERPClimb teaching material. No SAP tenant execution or certification is claimed.

[SAP Help — AI Core orchestration](https://help.sap.com/docs/sap-ai-core/generative-ai/orchestration?version=CLOUD) — Templating, filtering, masking, grounding and translation

Code example

Illustrative example
{"syntheticIdentifier":"PERSON-DEMO-42","neededForTask":false,"preferredHandling":"omit-before-inference"}
Guided workshop · advancedERPClimb.com

Orchestration privacy, filtering and masking: evidence walkthrough

Simulated training case. These observations are authored fixtures, not screenshots or results from a customer SAP system.

A fictional prompt contains a synthetic personal identifier that must not reach the model in clear text.

Before you start

  • Complete chapters 1–12 in this module. Use synthetic fixtures or an authorized sandbox.

Check the linked SAP documentation for your product, runtime, region and enabled service plan. The worked case is a simulation; these steps were not executed in a customer SAP tenant.

Step 1 of 4Paused · choose any step

Classify

List the fields actually needed for the task and remove unnecessary personal identifiers first.

Expected evidence · simulated

The task needs an order status, not a person's identifier.

Automatic playback is disabled by your reduced-motion preference. All steps remain available.

Try it, then verify

The privacy test covers model input, response and diagnostic paths.

Watch for: Do not assume masking is authorization or that content filtering replaces data minimization.

Open the ERPClimb lesson diagram at full size
Check your understanding

What should happen to a personal field that is unnecessary for the task?

SAP references and release scope

References checked 2026-10-30. The linked SAP material supports the named concepts; the scenario, fixtures and acceptance checks are original ERPClimb teaching material. This is not an SAP certification or a tenant-execution claim.

Watch out

Common mistakes

Do not assume masking is authorization or that content filtering replaces data minimization — a masked field can still be processed by the model, and a filter that blocks disallowed content does not establish that the model was permitted to see the field in the first place.

A related mistake is skipping the classification step: teams jump straight to configuring a masking or filtering module without first listing which fields the task actually needs, so unnecessary personal identifiers reach the model even though the business task never required them.

A third common gap is testing only the final answer: unprotected values can still leak through error messages, retries, or diagnostic logs, so validation must cover the model-facing input, the response, and the diagnostic path, not just the visible chat output.

Do this

Best practices

The privacy test covers model input, response and diagnostic paths. Classify which fields a task genuinely needs before configuring any masking or filtering module, and remove unneeded personal identifiers rather than relying on a protective module to compensate.

Treat templating, grounding, filtering and masking as separate controls that each need their own verification, since a module configured for one concern (like content filtering) does not automatically secure another (like field-level authorization). Check the linked SAP documentation for your product, runtime, region and enabled service plan.

The worked case is a simulation; these steps were not executed in a customer SAP tenant.

In the interview

Interview angle

What should happen to a personal field that is unnecessary for the task? A weak answer says "mask it" or "the filter will catch it" — that confuses a display-level control with an authorization decision.

A strong answer starts one step earlier: remove the field before it ever reaches the model if the task doesn't need it, and treat masking and filtering as defense-in-depth for data that must remain, not as the primary control.

The strongest candidates also mention testing with synthetic markers across the input, response, and diagnostic paths, since a protection that only covers the visible answer can still leak through logs or error messages.

Practice this lesson

Original educational case studies for SAP consultants, not official SAP certification exam questions. Verify product edition and implementation details against the current SAP documentation.

Quick check

0 of 3 questions attempted

Question 1 of 3

What does data masking in the generative AI hub orchestration do?

Practise this in an interview

Answer in your own words and get instant feedback, the way an interviewer would judge it.

1How would you configure privacy controls for a generative AI scenario processing customer emails?

2What are limits of automatic data masking?

Was this lesson helpful?

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.