SAP S/4HANA Create
Overview
The SAP S/4HANA Create Snap creates data objects in the SAP S/4HANA On-Premise instance.

- This is a Write-type Snap.
Works in Ultra Tasks
Prerequisites
- A valid account that supports SAP S/4HANA, with appropriate access permissions. See Configuring SAP S/4HANA Accounts.
Limitations
- The Snap does not support OData navigation link.
Snap views
| Type | Description | Examples of upstream and downstream Snaps |
|---|---|---|
| Input |
This Snap has exactly one document input view. Expected input: Each input document contains data that must be created and written into the SAP S/4HANA On-Premise instance. |
|
| Output |
This Snap has at most one document output view. Expected output: Each document contains the response of the creation of new records in the On-Premise instance. |
|
| Learn more about Error handling. | ||
Snap settings
| Field/Field set | Description |
|---|---|
Label
String |
Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline. Default value: SAP S/4HANA Create |
API object
Dropdown list |
Required. Select the API that you want to access in SAP S/4HANA On-Premise instance. This drop-down list contains APIs available for the account configured in the Snap, each with a short description.
Default value: N/A Example: ZCRM_BUPA_ODATA_0001 (Odata Services for Business Partner) |
Entity
Dropdown list |
Required. Select a business object (the Entity or Endpoint) for the API Object chosen above.
Default value: N/A Example: AccountCollection |
Subentity
String/Expression/ Suggestion |
Specify or select a subentity corresponding to the entity chosen above.
Default value: N/A Example: MainContact |
| Customized header | Use this field set to add customized HTTP request headers for implementing specific HTTP requests other than the ones listed in the Using Customized Headers section (SAP S/4HANA Read Snap). Only one customized header can be specified in each row. Click the plus icon to add a new row in this table and define the values accordingly.
Note: Alternatively, you can define customized headers through Input Schema in combination with expressions. When using Input Schema, it is mandatory to define the HTTP request headers as expressions ('=' symbol enabled for Field name and Field value).
|
Field name
String/Expression |
The field name of the customized HTTP request header.
Default value: N/A Example: If-Match |
Field value
String/Expression |
The field value for the above field in the customized HTTP request header.
Default value: N/A Example: W/"'82F636DC08F14D22260CE67E505C231D0D2ACD95'" |
Input navigation level
Integer/Expression |
Select the depth of navigation for your input schema.
Default value: 0 Example: 1 |
| Connection details | Use this section of Snap Settings to specify the connectivity parameters: timeout, retry count and retry interval. |
TimeOut
Integer/Expression |
Required. Enter, in seconds, the duration for which the Snap must try to establish connection with SAP S/4HANA On-Premise instance. If the connection cannot be established within this duration, the Snap times out, writes the event to the log, and waits until the specified RetryInterval before attempting to reconnect.
Default value: 300 Example: 120 |
Maximum request attempts
Integer/Expression |
Required. Specify an integer value to set the maximum number of reconnection attempts that the Snap must perform, in case of connection failure or timeout.
Default value: 0 Example: 5 |
RetryInterval
Integer/Expression |
Required. Enter, in seconds, the duration for which the Snap must wait between two reconnection attempts, until the number of retries is reached.
Default value: 0 Example: 10 |
Snap execution
Dropdown list |
Choose one of the three modes in
which the Snap executes. Available options are:
|
Snap General Behavior
The SAP S/4HANA Create Snap supports the following:
- POST operation to create new data in the SAP S/4HANA On-Premise instance.
- Customized HTTP Header. For more information, see Using Customized Headers (in SAP S/4HANA Read Snap).
- Display of only the create-compatible input parameter set from the upstream input Snap.
- Dynamic loading of API metadata with a Parent-child dependency structure. This means that you can:
- Select an API object from the API Object field to view only entities that are related to the API object and support POST queries (create operations).
- And then, select an entity to view and specify values for only create-compatible parameters related to this entity, in the input schema.
Input schema
The input schema for SAP S/4HANA Create Snap is divided into two parts: CustomizedHeader and Payload.

You can define customized headers for your HTTP requests using either the CustomizedHeader schema and as expressions or Customized header fieldset to manually enter the customized header names with values. If using the CustomizedHeader schema, it is mandatory to define the name and values as expressions to ensure the names and values provided are delivered to the API.
Use the Payload schema for SAP S/4HANA Create Snap to define the input payload for an API call. This dynamically loads and represents all the parameters that you need for creating the data object (payload).
- If the upstream Snap can display the entire input schema like Mapper Snap, always select the Payload object in the schema to define your input payload in that Snap.
- If your input payload is a JSON object, ensure that the text
Payloadis included as the key in the parent of your input.
| Field/Field set | Type | Description |
|---|---|---|
| CustomizedHeader | Array | Add customized HTTP request header to implement specific HTTP requests.
Default value: N/A Example: N/A |
| name | String | The field name of the customized HTTP request header.
Default value: N/A Example: If-Match |
| value | String | The field value of the customized HTTP request header.
Default value: N/A Example: W/"'82F636DC08F14D22260CE67E505C231D0D2ACD95'" |
| Payload | Object | Specify the input data parameters for the selected entities.
Default value: N/A Example: N/A |
Troubleshooting
| Field/Field set | Type | Description |
|---|---|---|
| You have an empty field in the Field name/value field for the Customized header. | The Field name/value field must not be empty for the Customized header. | Enter a valid Field name/value for the Customized header. |
| API object does not exist. | Allowed API object format is <API ID>(Description). | Locate and select an API Object from the drop-down list. |
| Entity does not exist. | The entered Entity is not found in the SAP S/4HANA server. | Locate and select the Entity from the drop-down list. |
| The input payload is not found. | The input payload is not found. | Fetch an input payload via Input Schema or input with the root key node Payload. |
| The input payload should be a JSON object. | The input payload is not passed as a JSON object. | Ensure that the input payload coming from the upstream Snap is a JSON object. |