Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 1 of 6

Where BPA fits next to S/4HANA workflows

12 min

Listen to this lesson

0:00 / 7:24

SAP Build Process Automation (BPA) is SAP's low-code service on SAP BTP for workflows, decisions, forms and robotic automations. Contoso Motor Co. already has approvals inside SAP S/4HANA: purchase requisitions over $10,000 go through a classic release strategy, flexible workflow routes purchase orders over $25,000 for approval, and approvers work in My Inbox. So the first question for Contoso's architects was not "how do we build in BPA" but "what belongs in BPA at all".

The short answer: approvals that live entirely on one S/4HANA business object stay in S/4HANA flexible workflow. Processes that span systems, people outside S/4HANA, documents, or decisions the business wants to own and change without a transport are candidates for BPA. Theo, the integration lead, and Kenji agreed a decision rule before anyone built a process.

AspectS/4HANA flexible workflowSAP Build Process Automation
Where it runsInside SAP S/4HANA, on a business objectOn SAP BTP, side by side with S/4HANA
Typical scopeApprove one document: PR, PO, supplier invoice, journal entryCross-system processes, forms, documents, onboarding
Who configuresKey users in the Manage Workflows apps, within SAP-delivered scenariosCitizen and professional developers in SAP Build
Business rulesConditions and agent rules defined per scenarioDecisions (decision tables and text rules) owned by the business
InboxMy Inbox in the SAP Fiori launchpadBPA inbox apps (or SAP Build Work Zone)
LifecycleS/4HANA customizing and configurationProject versions, environments, BTP transport
S/4HANA flexible workflow and SAP Build Process Automation compared for Contoso's use cases.
The Sign-Off Table · thesignofftable.com/academy/sap-btp-205

Contoso's first BPA process

Contoso's fleet sales team onboards new fleet customers several times a month. Today it is e-mail and a spreadsheet: sales collects fleet size and expected volume, Maria (the order-to-cash key user) checks the master data, and Dan (finance process owner) approves the credit limit. The business partner already exists in S/4HANA when the work starts. That is a good BPA candidate: it starts from an S/4HANA event, needs a form, a decision and two approvals by different people, and writes a result back to S/4HANA through an API. Its working name is Fleet Customer Onboarding.

Contoso's onboarding before BPA: a chain of e-mails with no status, no rule and no audit trail, which is what makes it a good first candidate.
The Sign-Off Table · thesignofftable.com/academy/sap-btp-205
Contoso's rule for where an approval or process lives: S/4HANA flexible workflow first for single documents, BPA for cross-system and people-centric processes, Cloud Integration for system-only flows.
The Sign-Off Table · thesignofftable.com/academy/sap-btp-205

The building blocks

TriggerEvent trigger (S/4HANA business event), API trigger, or form trigger
ProcessSequence of steps with conditions, approvals, forms, decisions and actions
FormsTrigger forms, input forms and approval forms for people
DecisionsDecision tables and text rules, with data types as inputs and outputs
ActionsAPI calls to S/4HANA or other systems through a BTP destination
AutomationsDesktop and UI automation, optional; not used in this process
The parts of a BPA project that Contoso's onboarding process uses.
The Sign-Off Table · thesignofftable.com/academy/sap-btp-205

A project bundles these artifacts. You release a project to create an immutable version, then deploy the version to an environment. Environments, destinations and agents are administered in the SAP Build lobby's Control Tower. Running instances are watched in the Monitor area. Lesson 6 covers that lifecycle.

Who builds and who owns

SAP markets BPA to citizen developers as well as professional ones, and Contoso uses both, with clear lines. Key users in fleet sales may draft forms and propose decision rows in the DEV tenant. Kenji's team owns data types, actions, triggers and anything that writes to SAP S/4HANA, and reviews every project before release. Dan owns the credit decision, Maria owns the master data step, and Priya owns the test plan. The same project therefore has a business owner, a technical owner and a test owner, written into the placement record. That split is what lets a low-code process be changed quickly without becoming an untested back door into the ERP system.

RoleAt ContosoOwns
Business ownerDan (credit), Maria (master data step)Rules, thresholds, approver groups, acceptance
Technical ownerKenji's team, with Theo for eventsData types, actions, triggers, destinations, release
Test ownerPriya, with Wei for data and usersTest plan, evidence, sign-off summary

Ownership of a BPA project at Contoso.

Where BPA does not fit

  • High-volume system integration. Thousands of IDocs an hour belong in Cloud Integration, not in a workflow.
  • Approvals SAP already delivers in S/4HANA. Rebuilding the PO approval in BPA would duplicate flexible workflow and lose its document context.
  • Complex transactional logic. Deposit calculations and agreement rules belong in the RAP BO, not in process conditions.
  • Ungoverned citizen projects. A process that writes to S/4HANA through an API is production software and needs the same testing and transport discipline.
Leave in S/4HANAPO approval over $25,000: one document, SAP-delivered scenario
Integration flowLakeside order transfer: system to system, no people
Simple BPA formSupplier contact update request with one approval
Strong BPA fitFleet customer onboarding: event, form, decision, two approvals, API write-back
Contoso's candidate processes plotted before choosing the first BPA build.
The Sign-Off Table · thesignofftable.com/academy/sap-btp-205

What goes wrong in testing

  • Duplicate approvals. A BPA process approves a PO that flexible workflow also routes. Testers see two approvals and nobody knows which one counts.
  • Hidden S/4HANA dependency. The process calls an S/4HANA API that is not reachable from the test subaccount. Paths that write back fail only in QA.
  • No owner for rules. A decision table nobody owns drifts from policy.

What would you do?

Grace's steering group asks whether Contoso should move the purchase order approval (over $25,000) from S/4HANA flexible workflow into BPA, "so all approvals are in one place". What should Theo recommend?

Key points
  • Single-document approvals with an SAP-delivered scenario stay in S/4HANA flexible workflow.
  • BPA fits cross-system, people-centric processes with forms and business-owned decisions.
  • A BPA project bundles triggers, processes, forms, decisions, actions and automations.
  • Processes that write to S/4HANA are production software: test and transport them like any other.

Check your understanding · not graded

Lesson check

  1. 1. Where should Contoso's approval of POs over $25,000 stay?

  2. 2. Why is fleet customer onboarding a good BPA candidate?

  3. 3. What does releasing a BPA project create?

  4. 4. Where are BPA environments and destinations administered?

  5. 5. Which flow belongs in Cloud Integration rather than BPA?