Skip to main content

27.10.2026

How to Build SAP Integrations that Scale


Mateusz

Mateusz

Software Architect & Developer, SAP S/4HANA Consultant

The first SAP integration nearly always works.

Someone on your team finds the API they need, gets authentication working, maps the required fields and eventually gets data moving both ways.

Then the second customer signs.

They’re on a different SAP setup. Their security requirements are different. They’ve extended the business object you need, or the interface you used for customer one isn’t available in quite the same way.

So your engineers get involved again. Then customer three arrives. Same story. Different details.

And somewhere around this point it becomes clear that you didn’t actually build an SAP connector. You built an integration for one company.

There’s nothing wrong with that for the first deal. You had a customer waiting and revenue on the line.

The problem starts when the architecture you built for customer one is expected to survive customers two, five, ten and eventually fifty.

A connector isn’t scalable simply because it connects to SAP. It’s scalable when the next SAP customer doesn’t require you to build the thing again.

And that is mostly an architecture problem. 

So how do you stop that from happening? 

Build an architecture that can accommodate different customer environments without turning every new customer into another development project.

If your end goal is to sell into multiple SAP enterprises, there are seven areas worth getting right.

1. Separate Customer Configuration From Product Logic

Start with a simple rule: if something predictably changes from customer to customer, don’t hardcode it into your product.

For example, these will often vary between SAP customers:

  • endpoints
  • credentials and authentication settings
  • field mappings
  • custom fields
  • company or organisational identifiers
  • enabled integration capabilities
  • polling or scheduling settings
  • adapter versions

Keep these differences in tenant-specific configuration wherever practical.

What you want to avoid is application logic that gradually becomes:

if customer = A, use this mapping

if customer = B, call this service

if customer = C, ignore this field

Sometimes a new customer genuinely requires engineering work. That’s fine. But ask one question before implementing it. Is this unique to this customer, or should it become a reusable connector capability for future customers?

If customer four needs something customer fourteen might also need, build it into the connector rather than into customer four.

What to check

Before onboarding a new SAP customer, identify:

  • Which settings can be changed without deployment?
  • Are mappings stored outside the product logic?
  • Are credentials isolated by the tenant?
  • Can an adapter be changed without changing core business logic?
  • Are customer-specific exceptions visible and documented?

The goal should be to stop customer-specific differences from spreading through the product.

Storing customer-specific settings separately doesn’t automatically make your integration secure. In a shared connector, every request must be associated with an authenticated, authorised tenant before the system selects its SAP endpoint, credentials or mapping profile. Otherwise, a routing or authorisation error could expose one customer’s SAP environment or data to another. This separation must also hold during background processing and retries.

2. Put a Stable Model Between Your SaaS Product and SAP

Let’s say your product needs purchase orders. Your application should understand the business concept of a purchase order. It shouldn’t need to know whether SAP supplied it through OData, a BAPI, an IDoc or another supported interface.

A useful architecture should look something like:

Reusable SAP connector architecture for SaaS products.

Figure 1: Reusable SAP connector architecture for SaaS products. A canonical business model and shared connector capabilities accommodate different customer SAP environments through configurable mappings, connections and adapters.

The canonical model gives your product a stable representation of objects, such as purchase orders, suppliers, invoices, employees, and deliveries. The SAP-facing layer then translates between that model and the customer’s SAP representation.

Why this matters:

Imagine your SaaS product expects: Supplier ID, Supplier Name, Country, Payment Terms, and Status

  • Customer A might expose those fields through one API structure.
  • Customer B might have additional custom fields.
  • Customer C might require a different supported interface altogether.

Your core product shouldn’t need three different definitions of a supplier. The adapter and mapping layer should handle the difference.

Architecture check:

Ask your development team, if we changed the SAP interface for one customer tomorrow, how much of our SaaS application would we need to modify?

If the answer is “several parts of the product”, SAP-specific logic probably isn’t isolated enough.

3. Design for SAP Landscape Variation

Does your product integrate with SAP? It sounds like a simple question. Technically, it isn’t.

Your customers may be using different SAP products and deployment models, including:

  • SAP S/4HANA Cloud Public Edition
  • SAP S/4HANA Cloud Private Edition
  • SAP S/4HANA on-premise
  • SAP ECC
  • SAP SuccessFactors or other SAP applications

The available integration mechanisms can also vary:

  • OData
  • REST APIs
  • BAPIs
  • RFC
  • IDocs
  • Events and messaging

For new development, use suitable released and supported SAP APIs where they are available.

But if your target market includes established SAP enterprises, don’t design as though older integration mechanisms have disappeared. Contain them behind adapters instead.

For example:

S/4HANA customer → released OData API → OData adapter

ECC customer → BAPI/RFC → relevant adapter

Asynchronous process → event/messaging adapter

Your SaaS product shouldn’t need to care which one is underneath.

4. Build a Capability Profile During Customer Discovery

Knowing that a customer runs a particular S/4HANA release is useful. Knowing what their environment can actually do is more useful.

Before onboarding, establish things such as:

System
  • Which SAP product are they using?
  • Which edition and release?
  • Is the relevant system cloud, on-premise or hybrid?
Business Objects
  • Which SAP objects does your product need?
  • Are the required fields available?
  • Has the customer extended them?
  • Are custom mappings required?
APIs and Events
  • Is the required API available and activated?
  • Can you read, write or both?
  • Are the required events available?
  • Are there relevant API limitations?
Authentication
  • Which authentication methods are supported?
  • Will you use a technical user?
  • Is OAuth required?
  • Does the customer require principal propagation?
Connectivity
  • Can the relevant endpoint be reached securely?
  • Is SAP Cloud Connector involved?
  • Is there existing middleware?
  • Are private networking or gateway requirements involved?

Turn the answers into a tenant capability profile. Your connector should increasingly be able to answer: Can this environment perform the operations we need? rather than making assumptions based solely on the SAP version.

5. Make Discovery a Repeatable Onboarding Process

Every SAP customer will require some discovery. Trying to eliminate that entirely isn’t realistic. What you can eliminate is repeatedly discovering the same things in an unstructured way. Create a standard technical onboarding checklist and run it for every customer.

A practical sequence should look like this:

  • Identify landscape: SAP products, editions and relevant systems.
  • Validate required business objects: What does your SaaS product need to read, create or update?
  • Check available interfaces: Released APIs, events, existing services or supported legacy mechanisms.
  • Review extensions: Custom fields, enhancements and process differences.
  • Agree on authentication: Identity model, credentials, rotation and authorisations.
  • Confirm connectivity: Network path, middleware, gateways and security responsibilities.
  • Configure the tenant: Mappings, endpoints, capabilities and adapter selection.
  • Validate: Connectivity tests, representative transactions, error handling and reconciliation.

The desired onboarding path should be:

Discovery → configuration → validation → go live

not:

Discovery → senior developer → custom build → deployment

That difference is where much of the scalability comes from.

6. Design for Production Operations, Not Just Connectivity

A connector isn’t finished when data successfully moves from A to B. Ask what happens when it stops. With fifty SAP customers, “SAP isn’t syncing” is not enough information for support. At minimum, you should be able to identify: affected tenant, operation, adapter and version, request/correlation ID, authentication status, connectivity status, response/error category, retry status, and relevant configuration.

Pay particular attention to write operations. Suppose your SaaS application sends a request to create a transaction in SAP. The request times out. You now have three possibilities:

  • SAP never received it.
  • SAP rejected it.
  • SAP created it, but your application never received the response.

Blindly retrying can create duplicates.

For transactional integrations, decide early how you’ll handle: retries, idempotency, duplicate prevention, reconciliation, and failed-message handling.

These are much cheaper to design before production than after the first customer incident.

7. Plan for SAP Changes Without Updating Every Customer at Once

SAP environments don’t stand still. Customers upgrade. APIs evolve. Authentication requirements change. Interfaces can be deprecated.

Your connector therefore needs its own lifecycle strategy.

Check whether your architecture supports:

  • adapter versioning
  • backwards compatibility where required
  • API deprecation monitoring
  • multiple adapter versions running concurrently
  • controlled tenant migrations
  • testing before customers are moved
  • clear ownership of connector maintenance

If SAP changes an interface used by one custom integration, you have one migration problem. If that interface sits underneath a connector used by fifty customers, you have a product lifecycle event. Design accordingly.

A Practical Checklist to See If You Have a Scalable SAP Connector

Before calling your SAP integration reusable, ask these questions. If several of these questions don’t have clear answers yet, you may have a working SAP integration, but you’re probably not ready to call it a scalable connector.

Architecture
  • Is SAP-specific logic isolated from the SaaS product?
  • Do we have a canonical business model?
  • Do different SAP interfaces sit behind adapters?
  • Can adapters evolve independently?
Multi-tenancy
  • Are endpoints tenant-specific configuration?
  • Are mappings configurable?
  • Are credentials securely isolated?
  • Can capabilities differ by tenant?
  • Can configuration change without redeploying the application?
SAP compatibility
  • Which SAP products and editions do we officially support?
  • Which APIs/interfaces do we support for each?
  • What happens when a customer migrates from ECC to S/4HANA?
  • How do we handle customer extensions?
Security and connectivity
  • Which authentication methods do we support?
  • How are secrets rotated?
  • Do we support customer network requirements?
  • Who owns connectivity configuration?
Operations
  • Can we identify failures by tenant?
  • Do we have correlation IDs and useful logs?
  • Are retries safe?
  • How are failed transactions reconciled?
  • Can we monitor connector health?
Lifecycle
  • Who monitors SAP API changes and deprecations?
  • Can adapters be versioned?
  • Can customers migrate between versions gradually?
  • What is our support policy for older SAP environments?

Measure Whether the Connector Is Actually Getting Easier to Deploy

Finally, track two numbers.

  • Engineering hours per new SAP customer. This should fall.
  • Percentage of onboarding completed through configuration rather than development. This should rise.

Those two metrics tell you whether you’re genuinely productising SAP integration. If you’ve connected ten customers but each one has its own custom code and needs weeks of engineering effort, you’ve completed ten SAP integrations. A scalable connector doesn’t make every SAP environment identical. It gives your product a repeatable way to deal with the fact that they aren’t.

Planning SAP Integration Beyond Your First Enterprise Customer?

If you’re preparing to connect your SaaS with SAP, it’s worth considering how that connection will work for customers two, five, ten and fifty before the first implementation begins. Because it all depends on how you design your architecture.

At AvoTechs, we help SaaS companies make these crucial architectural decisions through our Enterprise Integration Strategy Workshop.

Together, we assess your target SAP environments, required business objects and integration requirements, then define the connector architecture and integration approach that accounts for reusable components, tenant-specific configurations, connectivity, and authentication approach.

The objective is to design the first SAP connection with customers two, ten and fifty already in mind.

If SAP is becoming an important enterprise route for your product, it’s worth getting your architecture right before customer one quietly becomes the template for every customer that follows.

Explore the Enterprise Integration Strategy Workshop.

 


Suggested Reading:

SAP Connector Development: How To Get Started

How to Evaluate SAP Integration Readiness for Your SaaS

SAP Certified Integration Vs Simple SAP Connector: Which One Do You Need?