In this article
...
Use this Snap to create data objects in the SAP S/4HANA On-Premise instance.
Prerequisites
A valid account that supports SAP S/4HANA, with appropriate access permissions. See Configuring SAP S/4HANA Accounts.
Support for Ultra Pipelines
...
Input/Output | Type of View | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| Each input document contains data that must be created and written into the SAP S/4HANA On-Premise instance. |
Output | Document |
|
| Each document contains the response of the creation of new records in the On-Premise instance. |
Snap Settings
Parameter Name | Data Type | Description | Default Value | Example | |||||
---|---|---|---|---|---|---|---|---|---|
Label | String | Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline. | N/A | SAP S/4HANA Create | |||||
API object | String | 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. | N/A | ZCRM_BUPA_ODATA_0001 (Odata Services for Business Partner) | |||||
Entity | String | Required. Select a business object (the Entity or Endpoint) for the API Object chosen above. | N/A | AccountCollection | |||||
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 to add a new row in this table and define the values accordingly. This field set comprises the following fields:
| ||||||||
Field name | String | The field name of the customized HTTP request header. | N/A | If-Match | |||||
Field value | String | The field value for the above field in the customized HTTP request header. | N/A | W/"'82F636DC08F14D22260CE67E505C231D0D2ACD95'" | |||||
Input navigation level | Integer | Select the depth of navigation for your input schema. | 0 | 1 | |||||
Connection details | Use this section of Snap Settings to specify the connectivity parameters: timeout, retry count and retry interval. This field set comprises the following fields:
| ||||||||
TimeOut | Integer | 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. | 300 | 120 | |||||
Maximum request attempts | Integer | 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. | 0 | 5 | |||||
RetryInterval | Integer | Required. Enter, in seconds, the duration for which the Snap must wait between two reconnection attempts, until the number of retries is reached. | 0 | 10 | |||||
Snap Execution | String | Indicates how the Snap must be executed. Available options are:
| Execute only | Validate & Execute |
...
This Pipeline example demonstrates using a SAP S/4HANA Create Snap to create new material data at the SAP S/4HANA server On-Premise instance.
Note |
---|
The example assumes that you have configured and authorized a valid SAP S/4HANA Account (see Configuring SAP S/4HANA Accounts). |
...
Expand | ||
---|---|---|
| ||
A File Writer Snap is connected to the JSON Formatter Snap to save / write the JSON-formatted data into a file. |
Expand | ||
---|---|---|
| ||
To view the output JSON file, you must SSH to the target directory and open the newly-created JSON file. The preview of the output JSON file can be seen below: |
Downloads
Note | ||
---|---|---|
| ||
|
...