Skip to main content
The SAP writeback service sends data from Cognite Data Fusion (CDF) to SAP S/4HANA through configured OData endpoints. Use it to create and update SAP records, including attachments, from CDF.

Supported SAP entities

The SAP writeback service connects to SAP standard delivered OData V2.0 endpoints available in SAP S/4HANA. It supports the following SAP entities: Attachment writeback requests include a file reference on each request item. Choose the reference type based on how the file is stored in CDF. In the API, type: "cdf_classic_file" is synonymous with an asset-centric (legacy) file. Use asset-centric file references in asset-centric and hybrid projects. Data modeling projects must use cdm_file with a CogniteFile instance.
Don’t set both fileId and fileReference on the same request item. The request fails with HTTP 422.
Applications such as Cognite InField can send attachment writeback using the same fileReference fields. To send an attachment writeback request, see Set up the SAP writeback service. For the full request schema, see Writeback requests.

Supported SAP versions

The SAP writeback service supports the following SAP S/4HANA versions:
  • SAP S/4HANA OnPremise 2021 FPS01, and later
  • SAP S/4HANA Cloud

Before you start

Last modified on August 25, 2026