SAP S/4HANA On-Premise Integration Research

Date: 2026-03-31 Status: Research complete Scope: Licensing & access requirements + alternative (non-API) integration channels


Topic 1: Licensing & Access Requirements

1.1 Is API Access Included in the Base License?

Partially. The SAP S/4HANA On-Premise base license includes the technical capability to expose and consume OData/REST/SOAP APIs. The software ships with hundreds of pre-built APIs. However, using those APIs from a third-party system triggers additional licensing obligations under SAP's "Digital Access" model. The distinction is:

1.2 Communication Users & Technical User Types

SAP S/4HANA On-Premise uses several user types relevant to API integration:

User Type Purpose License Impact
Dialog User (type A) Interactive human login Requires a Named User license
System User (type B) Background processing, RFC destinations May require a license; depends on usage pattern
Communication User (type C) Inbound API calls from external systems Subject to Digital Access licensing
Service User (type S) Background jobs, batch processing Typically covered under system license
Reference User (type L) Template for authorization inheritance No direct login

For API integration, you typically create a System User (type B) or Communication User with:

There is no separate "API user license" to purchase. The licensing exposure comes from the documents created, not the user type itself.

1.3 Digital Access / Indirect Access Licensing (CRITICAL)

This is the most important licensing consideration for any third-party integration with SAP.

Background

Historically, SAP licensed based on Named Users. When third-party systems (e-commerce platforms, IoT devices, RPA bots, integration middleware) started creating documents in SAP without a human user logging in, SAP introduced the concept of "Indirect Access" — later rebranded as "Digital Access" in 2018.

How It Works

When an external system (like Orcha) creates, reads, or updates certain document types in SAP via API, each qualifying document counts against a Digital Access license block.

The Nine Document Types

SAP defines nine document categories that count toward Digital Access:

# Document Type Examples
1 Sales Order Sales orders, returns, credit/debit memo requests
2 Invoice Billing documents, invoices
3 Purchase Order Purchase orders, scheduling agreements
4 Service & Maintenance Service orders, notifications
5 Manufacturing Production orders, process orders
6 Quality Management Inspection lots, quality notifications
7 Time Management Time sheets, attendance records
8 Financial Posting FI documents, journal entries, payment postings
9 Material/Inventory Goods receipts, goods issues, stock transfers

For Orcha's use case (AP invoice processing): Creating financial postings (type 8) and potentially purchase-order-related documents (type 3) would trigger Digital Access document counts.

Pricing Model

Risk for Orcha

If Orcha posts invoice data, payment information, or financial documents into SAP via API, the customer's Digital Access document count increases. This means:

  1. The customer must have Digital Access licenses (or equivalent coverage) in their SAP contract
  2. The customer bears the licensing cost, not Orcha, but customers will want clarity on volume impact
  3. Audit risk: SAP conducts license audits and can retroactively charge for undeclared Digital Access usage

1.4 Admin Setup Required (SAP Basis Tasks)

The customer's SAP Basis administrator must perform these steps to enable API access:

Step 1: Activate OData/ICF Services

Step 2: Create Technical/Communication User

Step 3: Configure RFC Destination (if using RFC/BAPI)

Step 4: Configure Communication Arrangement (if using On-Premise with BTP/Cloud Connector)

Step 5: Network/Firewall

1.5 Tier-Based Feature Gates

SAP S/4HANA On-Premise does not have API feature gating per se (unlike SaaS tiers). All APIs ship with the software. However:


Topic 2: Alternative Integration Channels

2.1 IDocs (Intermediate Documents)

Availability: Fully available on S/4HANA On-Premise (not available on S/4HANA Cloud Public Edition).

Aspect Detail
Protocol Asynchronous message exchange via ALE (Application Link Enabling)
Direction Bidirectional — inbound and outbound
Format Proprietary SAP flat-file format with segments
Transport tRFC (transactional RFC), HTTP, file-based, or via middleware (PI/PO)
Relevant IDoc types INVOIC (invoice), ORDERS (purchase order), PAYEXT (payment), FINSTA (bank statement), DEBMAS/CREMAS (master data)
Setup Transaction WE20 (partner profiles), WE21 (ports), BD54 (logical systems), SM59 (RFC destinations)
Monitoring Transaction WE02/WE05 (IDoc monitoring), BD87 (reprocessing)

Pros:

Cons:

2.2 RFC/BAPI (Remote Function Calls / Business Application Programming Interfaces)

Availability: Fully available on S/4HANA On-Premise.

Aspect Detail
Protocol Synchronous (sRFC) or asynchronous (aRFC, tRFC, qRFC)
Direction Bidirectional
Format Structured SAP function module parameters
Transport SAP proprietary RFC protocol (TCP/IP, typically port 33XX where XX = system number)
Relevant BAPIs BAPI_ACC_DOCUMENT_POST (financial posting), BAPI_INCOMINGINVOICE_CREATE (invoice), BAPI_PO_CREATE1 (purchase order)
Setup Transaction SM59 (RFC destination), SU01 (user), BAPI explorer transaction

Pros:

Cons:

2.3 SFTP / File-Based Integration

Availability: Supported via SAP standard tools and middleware.

Aspect Detail
Formats CSV, XML, flat files, IDoc flat files
Inbound methods Batch Input (BDC), LSMW, Migration Cockpit, custom ABAP programs reading files from application server
Outbound methods ABAP programs writing to application server directory (AL11), scheduled reports
SFTP Not native in S/4HANA — typically handled via SAP PI/PO middleware, SAP Integration Suite, or OS-level cron/scripts
Directory Transaction AL11 — SAP application server file system

Typical flow for Orcha:

  1. Orcha writes CSV/XML to a shared SFTP directory
  2. SAP scheduled job picks up files at defined intervals
  3. SAP processes files via Batch Input or custom ABAP program
  4. SAP writes response/acknowledgment files back to SFTP

Pros:

Cons:

2.4 SAP Cloud Connector

What it is: A lightweight agent installed on-premise that creates a secure TLS tunnel between the customer's network and SAP BTP (Business Technology Platform) cloud services.

Aspect Detail
Purpose Expose on-premise SAP systems to cloud services without opening inbound firewall ports
Protocol Outbound HTTPS tunnel (reverse invoke)
Supports HTTP/HTTPS (for OData, REST, SOAP) and RFC
License Included with SAP BTP subscription
Setup Install Cloud Connector agent, configure virtual host mappings, define access control lists

Relevance for Orcha: If Orcha runs as a cloud service and needs to reach a customer's on-premise S/4HANA, the Cloud Connector is the SAP-recommended approach. However:

2.5 SAP Event Mesh / Advanced Event Mesh (Webhooks/Events)

Availability: Requires SAP BTP subscription + Event Mesh service.

Aspect Detail
Architecture Event-driven, publish/subscribe
S/4HANA On-Prem support Yes — since December 2025, the Advanced Event Mesh Adapter officially supports routing via SAP Cloud Connector to on-premise systems (Package Integration 1.4.0)
Protocols AMQP, MQTT, REST/Webhooks, WebSocket
Webhook support Push messages to HTTP endpoints via webhook subscriptions
S/4HANA events Business events raised when documents are created/changed (e.g., "Sales Order Created", "Invoice Posted")

Relevance for Orcha:

2.6 EBICS / Banking Protocols

Availability: Native in SAP S/4HANA via Multi-Bank Connectivity (MBC) or direct EBICS configuration.

Aspect Detail
Protocol EBICS (Electronic Banking Internet Communication Standard) — standard in DACH region
Purpose Payment file transmission to banks, bank statement retrieval
SAP components SAP Multi-Bank Connectivity (MBC), or classic bank communication via transaction FBPM
Formats SEPA XML (pain.001, pain.002), MT940, CAMT.053, CAMT.054
MBC Cloud-based service supporting SWIFT and EBICS; requires separate license

Relevance for Orcha:


Summary & Recommendations for Orcha

Licensing Impact Assessment

Integration Pattern Digital Access Triggered? Notes
Read master data via API Debatable — negotiate with SAP Read-only is a gray area
Post financial documents via API YES Each FI document counts
Post invoices via IDoc YES Same document counting applies
Post invoices via BAPI/RFC YES Same document counting applies
File-based batch import YES Document creation method is irrelevant
Read-only event subscription Likely no No document creation

Key takeaway: The integration channel (API, IDoc, RFC, file) does not matter for Digital Access licensing. What matters is whether qualifying documents are created in SAP. Any Orcha integration that posts invoices or financial documents into SAP will require the customer to have Digital Access licenses.

  1. Primary: OData REST APIs — Modern, HTTP-based, well-documented on SAP API Business Hub. Easiest for Orcha to implement. Customer needs to activate services via /IWFND/MAINT_SERVICE and SICF.

  2. Fallback: RFC/BAPI — For customers with locked-down environments or where specific BAPIs (e.g., BAPI_INCOMINGINVOICE_CREATE) provide better functionality than available OData APIs.

  3. File-based as last resort — For customers who refuse direct API connectivity. Higher latency, more fragile, but works in the most restrictive environments.

Customer Prerequisites Checklist

Before Orcha can integrate with a customer's SAP S/4HANA On-Premise:


Sources