restEndpoint
to a reachable HTTPS ingress for the gateway. Seal an installation read token
as bearer auth. Bind the receiver and the mount under the same data label.
- SAP CDC. Bind
/v1/streams/<name>/<digest>/<epoch>/changesand initialize with{ profile: { mode: "provider", provider: "sap.cdc", limit: 128 } }. Use the captured stream digest and exact epoch. The app requests from position zero, validates contiguous sequence positions and checkpointsthroughfor the next page or poll. The gateway supplies exact composite keys and full images. Explicit deletes remove rows and repeated changes for the same key in one page land the last change. A page admits up to 128 changes and 36 KiB. A larger gateway page fails without moving the cursor. This mode publishes each page independently. An expired or replaced stream needs operator review and a fresh mount for a new epoch. - Captured functions. Bind
/v1/functions/<name>/<digest>/recordsand initialize with{ profile: { mode: "provider", provider: "sap.functions", selection: "<digest>", limit: 10 } }. Use the same 64-character digest for path and selection. In the gateway path, write a namespace slash as~. Each poll publishes metadata by the gateway’s functionkeyfrom one answer of at most 100 records and 36 KiB. Prior observations survive omissions. BAPI invocation is outside this mode.
S/4HANA OData and CDS views
Use app-rest anddeclaredResourceEndpoint(selection, auth, data). Bind the receiver as
receivers.resource, using a sealed read credential for the SAP communication
arrangement. Bind the mount and its receivers under the same protected data label.
For a CDS view, activate its OData exposure and use the published collection
path.
source.initialize. Declare the complete one- to
eight-field immutable key and a typed projection of direct fields. Record keys
encode the ordered key tuple. Each answer is limited to the installed 1–100
rows and 36 KiB. For v4, use the published OData v4 path such as
/sap/opu/odata4/sap/zorders/srvd/sap/zorders/0001/Orders.
sap.s4hana.odata-v2.entitiesandsap.s4hana.odata-v4.entitiessweep entity sets ordered by key. Each next position must stay within the installed collection. Missing rows remain.sap.s4hana.odata-v2.deltarequires Gateway JSONd.__deltawith a$deltatokenor!deltatokenon the same collection. The service must return full after-images. Gateway v2 JSON does not carry tombstones, so missing and deleted provider rows remain published.sap.s4hana.odata-v4.deltarequires a terminal same-collection@odata.deltaLinkwith$deltatokenand full after-images. Explicit tombstones must carry all key fields and reasondeleted. Other delta shapes fail the page. Omission leaves existing rows in place.
Write S/4HANA business partners and sales orders
Use providerWriter with the communication arrangement’s HTTPS origin and a protected label. Bind the REST mount and its writer under the same label. Enable the corresponding A2X service for the writer. DeclaremultiSecret with three sealed HTTP headers. Set Authorization
with prefix Basic or Bearer . Seal the SAP session’s X-CSRF-Token
and matching Cookie header without prefixes. The credential operator
obtains the pair from the same SAP origin and service using
X-CSRF-Token: Fetch and rotates it before expiry. The writer sends the
sealed values together. Expired or mismatched session credentials can
produce an SAP refusal.
Submit one JSON object up to 24 KiB. For updates, place the target ID on
the command and omit the provider key from the JSON body. An optional
ifMatch property carries the quoted ETag and is sent as a header.
Bijection retains only status and record ID as write evidence. These
modes dispatch each exact command once and have no read cursor.
SAP owns deep insert support and the business rules for each service.
Business Partner A2X ·
Sales Order operations ·
SAP CSRF session handling