SAP Concur Delete

In this article

Overview

You can use this Snap to delete the Data resources from SAP Concur. Learn more: SAP Concur API Documentation.

sap-concur-delete-overview.png

Snap Type

The SAP Concur Delete snap is a Write-type Snap.

Prerequisites

A valid account with the required permissions to delete the selected resources in SAP Concur.

Support for Ultra Pipelines

Works in Ultra Pipelines

Limitations and Known Issues

None.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

Binary

Binary or Document

  • Min: 0

  • Max: 1

  • Mapper Snap

  • Copy Snap

  • CSV Parser

  • JSON Parser

A document containing data that can be used to delete entities in SAP Concur. 

 

Output

Document

Binary

Binary or Document

  • Min: 0

  • Max: 1

  • Mapper Snap

  • Copy Snap

  • CSV Parser

  • JSON Parser

A document containing the data from a  SAP Concur after deletion of a data resource

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

Field Type

Description

Field Name

Field Type

Description

Label*

 

Default ValueSAP Concur Delete
ExampleSAP Concur Delete

String

Specify a unique 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 Version

 

Default Value: v3.0
Example: v3.1

Dropdown list

Specify the API version of the SAP Concur. Learn more about the API version: Swagger API Explorer. The available values are:

  • v1.0

  • v1.1

  • v3.0

  • v3.1

  • v3.2

  • v4.0

  • v4.1

Entity*

 

Default Value: N/A
Example: Vendors

String/Expression

Specify an entity or data objects to write or update. Users can type in the entity or pass the value dynamically. This field will have suggestion of entities that are available in the chosen version of API.

Operation*

 

Default Value: N/A
Example: Delete an existing vendor

String/Expression

Define the Action (SAP Concur Endpoint).

Required parameters

Use this field set to specify the required fields for a selected operation. If there is any suggestion it means these parameters are required for the selected endpoint.

Parameter

 

Default Value: N/A
Example: vendorcode

String

Specify the names of the required parameters.

Value

 

Default Value: N/A
Example: 1234

String

Specify the values of the required parameters. The data type of this field depends on what parameter name you selected or entered which can be string, integer, or boolean.

Optional parameters

Use this field set to specify the names and values of optional parameters defined in SAP concur API Documentation.

Parameter

 

Default Value: N/A
Example: createdFrom

String

Specify the names of the optional parameters.

Value

 

Default Value: N/A
Example: 01-01-2022

String/Integer

Specify the values for optional parameters. The data type of this field depends on what parameter name you selected or entered which can be string, integer, and boolean.

Connection Timeout*

 

Default Value30
Example40

Integer

Specify the connection timeout duration in seconds.

Number of Retries*

 

Default Value3
Example: 5

Integer

Specify the maximum number of retry attempts the Snap must make in case there is a network failure, and the Snap is unable to read the target file. The request is terminated if the attempts do not result in a response.

Retry Interval (seconds)*

 

Default Value3
Example: 10

Integer

Specify the time interval between 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

Select one of the following three modes in which the Snap executes:

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

Troubleshooting

Error

Reason

Resolution

Missing required parameters.

There is a parameter required for the selected operation and that was not provided.

Check the required parameters and add missing ones.

Examples

Delete a List item in SAP Concur

This example pipeline demonstrates how to use the SAP Concur Delete Snap to delete a list item in SAP Concur using the List Item API endpoint in SAP Concur. The example assumes you have configured and authorized a valid SAP Concur Account. Learn more: SAP Concur Oauth2 Account.

First, configure the SAP Concur Delete Snap to provide the List ID and ID of the List item you want to delete. The JSON Formatter and File Writer Snaps are also connected to format and record data in a new file.

Configure the SAP Concur Delete Snap, as shown below. 

A successful validation or execution of the Snap displays the following output preview, showing the query results.

Downloads

  1. Download and import the Pipeline into SnapLogic.

  2. Configure Snap accounts, as applicable.

  3. Provide Pipeline parameters, as applicable.

  File Modified

File SAPConcur_Demo_Delete.slp

Feb 14, 2024 by Kalpana Malladi

Snap Pack History