SAP S/4HANA Delete

Overview

The SAP S/4HANA Delete Snap deletes data objects from the SAP S/4HANA On-Premise instance.



Prerequisites

  • A valid account with the required permissions.

Snap views

Type Description Examples of upstream and downstream Snaps
Input

This Snap has at most one document input view.

Each input document contains the key of the selected entity that must be deleted from the SAP S/4HANA On-Premise instance.

Output

This Snap has at most one document output view.

Each document contains the response of the deletion in SAP S/4HANA On-Premise instance.

Learn more about Error handling.

Snap settings

Note: Learn about the common controls in the Snap settings dialog.
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 Delete

Example: S4HANA_Delete_Customer

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 S/4HANA 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

String
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.
Field name

String
The field name of the customized HTTP request header.

Default value: N/A

Example: If-Match

Field value

String
The field value for the above field in the customized HTTP request header.

Default value: N/A

Example: W/"'82F636DC08F14D22260CE67E505C231D0D2ACD95'"

Key parameter Required. This field set enables you to specify the key parameters for a specific entity. Providing values for all key parameters in the drop-down list enables SAP S/4HANA to identify a unique record.
Note: Key parameters are NOT the same as filters which can return multiple records. To use a filter like normal select, use the parameters at the Filter records section instead.
Field name

String
Specify the reference parameter.

Default value: N/A

Example: accountID

Field value

String
Specify the value for the reference parameter in this field. The data type (String, Integer, Boolean, or any other) depends on the Field name you specified for the parameter.

Default value: N/A

Example: TEST_001

Disable datatype conversion

Checkbox/Expression
Select the checkbox to disable the datatype conversion for values of key parameters and filters.

Default value: Deselected

Example: Selected

Connection details Use this section of Snap Settings to specify the connectivity parameters: timeout, retry count, and retry interval.
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.

Default value: 300

Example: 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.

Default value: 0

Example: 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.

Default value: 0

Example: 10

Snap execution

Dropdown list
Choose one of the three modes in which the Snap executes. Available options are:
  • Validate & Execute. Performs limited execution of the Snap and generates a data preview during pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during pipeline runtime.
  • Execute only. Performs full execution of the Snap during pipeline execution without generating preview data.
  • Disabled. Disables the Snap and all Snaps that are downstream from it.

Snap General Behavior

The SAP S/4HANA Delete Snap supports the following:

  • DELETE operation to delete data from SAP S/4HANA On-Premise instance.
  • Customized HTTP Header. For more information, see Using Customized Headers (SAP S/4HANA Read Snap).
  • Display of only the delete-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 delete queries (delete operations).
    • And then, select an entity to view values for only delete-compatible parameters related to this entity in Key parameter field.

Using Customized Headers

See SAP S/4HANA Read for information on Using Customized Headers.

Troubleshooting

Field/Field set Type Description
You have an empty value in the Field name field for the Key parameter. The Field name field must not be empty for the Key parameter. Enter a valid Field name for the Key parameter.
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 server. Locate and select the Entity from the drop-down list.