SAP S/4HANA Cloud Create

In this article

Overview

You can use this Snap to create data objects in the SAP S/4HANA Cloud instance.

Snap Type

SAP S/4HANA Cloud Create Snap is a WRITE-type Snap creates data objects in the SAP S/4HANA Cloud instance.

Prerequisites

  • A valid account that supports SAP S/4HANA Cloud instance, with the appropriate access permissions. See, SAP S/4HANA Cloud Accounts.

Support for Ultra Pipelines

Works in Ultra Pipelines

Limitations

None

Known Issues

The Snap does not support OData navigation link.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

 

  • Min: 1

  • Max: 1

  • Mapper Snap

  • Copy Snap

  • JSON Parser

Each input document contains data that must be created and written into the SAP S/4HANA Cloud instance.

Output

Document

  • Min: 0

  • Max: 1

  • Mapper Snap

  • Copy Snap

  • XML Formatter

  • JSON Formatter

Each document contains the response of the creation of new records in the SAP S/4HANA Cloud instance.

Error

Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab. The available options are:

  • Stop Pipeline Execution: Stops the current pipeline execution when the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the rest of the records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

Snap Settings

  • Asterisk (*) - indicates a mandatory field.

  • Suggestion icon () - indicates a list that is dynamically populated based on the configuration.

  • Expression icon ()- indicates whether the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( ) - indicates that you can add fields in the field set.

  • Remove icon () - indicates that you can remove fields from the field set.

Field Name

Type

Description

Field Name

Type

Description

Label*

Default ValueSAP S/4Hana Cloud Create
ExampleSAP S/4Hana Cloud_Create

String

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.

 

API object*

Default ValueN/A
ExampleAPI_BUSINESS_PARTNER_0001 (Remote API for Business Partner)

String/Expression/Suggestion

Select the API that you want to access in SAP S/4HANA Cloud instance. This dropdown list contains APIs available for the S/4HANA account configured in the Snap, each with a short description.

Entity*

Default Value: N/A
ExampleA_Supplier

String

Select a business object (the Entity or Endpoint) for the API Object chosen above.

Subentity

Default ValueN/A
Exampleto_SupplierCompany

String

Add a subentity for the entity chosen.

Customized Header

Use this fieldset to add customized HTTP request headers for implementing specific HTTP requests other than the ones listed in the Additional Information - Usage of Customized header section of this page. 

The Snap provides the Customized Header in the input schema to help you to define the customized headers to the UI using the expression function. You can also manually enter the customized header names with values on the UI Customized header fieldset. If you provide only the customized header names or values using schema, but not link to the UI using the expression, the names or values you have entered will not be delivered to the API.

Field Name

Default ValueNone.
ExampleIf-Match

String

Specify the field name of the customized HTTP request header.

Field Value

Default Value: None.
Example'82F636DC08F14D22260CE67E505C231D0D2ACD95'

String

Specify the field value for the above field of the customized HTTP request header. 

 

Connection Details

Use this field set to specify the connectivity parameters.

Connection Timeout

Default Value300
Example: 500

Integer

Specify the duration in seconds for which the Snap must try to establish a connection with SAP S/4HANA Cloud. 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.

 

Maximum Request Attempts

Default Value0
Example: 2

Integer

Specify the maximum number of attempts the Snap should make to perform the selected operation in case of connection failure or timeout.

 

Retry Interval

Default Value0
Example: 2

Integer

Specify the time interval in seconds between the two successive retry requests. A retry happens only when the previous attempt resulted in an exception.

Snap Execution

Default ValueValidate & Execute
Example: Execute only

Dropdown list

Indicates how the Snap must be executed. Available options are:

  • Validate & Execute: Performs limited execution of the Snap (up to 50 records) during Pipeline validation; performs full execution of the Snap (unlimited records) during Pipeline execution.

  • Execute only: Performs full execution of the Snap during Pipeline execution; does not execute the Snap during Pipeline validation.

  • Disabled: Disables the Snap and, by extension, its downstream Snaps.

Troubleshooting

Error

Reason