Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

Table of Contents
maxLevel2
absoluteUrltrue

...

Use this Snap to delete data objects from the SAP S/4HANA On-Premise instance.

Prerequisites

Support for Ultra Pipelines

...

Input/OutputType of ViewNumber of ViewsExamples of Upstream and Downstream SnapsDescription
Input 

Document

  • Min: 0
  • Max: 1
  • Mapper Snap
  • Copy Snap
  • JSON Parser

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

Output

Document

  • Min: 0
  • Max: 1
  • Mapper Snap
  • Copy Snap
  • XML Formatter
  • JSON Formatter

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

Snap Settings

Parameter NameData TypeDescriptionDefault ValueExample 

Label

String

Required. The  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 pipelinePipeline.

N/A

SAP S/4HANA Delete

API object

String

Required. Select  Select the API that you want to access in SAP S/4HANA On4HANA On-Premise instance. This drop-down list contains APIs available for the S/4HANA 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  Select a business object (the Entity or Endpoint) for the API Object object chosen above.

N/A

AccountCollection

Customized header

Use this fieldset 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 fieldset field set comprises the following fields:

  • Field name
  • Field value

Field name

StringThe field name of the customized HTTP request header.N/AIf-Match

Field value

StringThe field value for the above field in the customized HTTP request header.N/AW/"'82F636DC08F14D22260CE67E505C231D0D2ACD95'"

Key parameter

Required. This fieldset 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. 

Info

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.

Click Image Modified to add a new row in this table and define the values accordingly. Only one key parameter can be specified in each row. 

This fieldset field set comprises the following fields:

  • Field name
  • Field value

Field name

StringSpecify the reference parameter.N/AaccountID

Field value

StringSpecify 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.N/ATEST_001

Connection details

Use this section of Snap Settings to specify the connectivity parameters: timeout, retry count and retry interval. 

This fieldset field set comprises the following fields:

  • TimeOut
  • Maximum request attempts
  • RetryInterval

TimeOut

Integer

Required. Enter, in seconds, the duration for which the Snap must try to establish connection with SAP S/4HANA On-Premise serverinstance. 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:

  • 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.

Execute only

Validate & Execute

Troubleshooting

...

  • 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 can:
    • Select an API object from the API Objectobject 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 Using Customized Headers (in SAP S/4HANA Read Snap)

Examples

Delete Customer Material Data from SAP S/4HANA Server

This Pipeline example demonstrates using a SAP S/4HANA Update Snap to delete customer material data entry from the SAP S/4HANA On-Premise instance.

Note

The example assumes that you have configured and authorized a valid SAP S/4HANA Account (see see Configuring SAP S/4HANA Accounts).

Download this Pipeline.


Expand
titleSAP S/4HANA Delete Snap

The following settings are defined for the SAP S/4HANA Update Snap to delete customer material data from the SAP S/4HANA On-Premise instance it accesses.

  • API objectZSD_F2499_CUSTOMER_MATERIAL_SRV_0001 (Customer Material) 
  • EntityC_CustomerMaterial_F2499

...

Insert excerpt
SAP S/4HANA Snap Pack
SAP S/4HANA Snap Pack
nopaneltrue

...

See Also