SAP Concur Write

In this article

Overview

You can use this Snap to create and update the data resources from SAP Concur. Learn more at SAP Concur API Documentation.

sap-concur-write-overview.png

Snap Type

The SAP Concur Write is a Write-type snap used to create and update different data resources in SAP Concur.

Prerequisites

A valid account with the required permissions to create and update 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

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document or Binary

 

  • Min: 1

  • Max: 1

  • Mapper Snap

  • Copy Snap

  • CSV Parser

  • JSON Parser

A document containing data that can be used to create or update entities in SAP Concur.

Output

Document

  • Min: 0

  • Max: 1

  • Mapper Snap

  • Copy Snap

  • CSV Parser

  • JSON Parser

A document containing the data from a SAP Concur after creation or updating 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 when running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:

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

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the remaining 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 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 fieldset.

  • Remove icon ( ): Indicates that you can remove fields from the fieldset.

  • Upload icon ( ): Indicates that you can upload files.

Field Name

Field Type

Description

Field Name

Field Type

Description

Label*

 

Default Value: SAP Concur Write
Example: SAP Concur Write

String

Specify a unique name for the Snap.

API Version

 

Default Value: v3.0
Example: v3.1

Dropdown list

Specify the API version of the SAP Concur. For more information about the API version refer to SAP API Explorer. 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. You can specify a static value or pass the value dynamically. This field provides suggestions of entities that are available for the chosen version of API.

Operation*

 

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

String/Expression

Select the action to perform on the SAP Concur application.

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, Boolean, etc.

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, Boolean, etc.

Connection Timeout*

 

Default Value: 30
Example: 40

Integer

Specify the connection timeout duration in seconds.

Number of Retries*

 

Default Value: 0
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 Value: 0
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 Value: Validate & 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

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

Create a List item in SAP Concur

This example assumes that you have configured and authorized a valid Concur Account. For more information, refer to the SAP Concur OAuth2 account.

The following pipeline demonstrates how to use the SAP Concur Write Snap to create a new List item via the LisIitems API endpoint in SAP Concur.

ex-sap-concur-write-pipeline-overview.png

Configure the JSON Generator Snap to pass the JSON input of a new Listitem.

Next, configure the Mapper Snap to map the data from the JSON Generator Snap to the SAP Concur Write snap as the input for the snap. The input schema is provided by SAP Concur Write Snap.

Configure the SAP Concur Write Snap as shown below:

A successful validation of the Snap displays the output with the query results. Configure the JSON Formatter, and the File Writer Snaps downstream of the SAP Concur Write Snap to format and record data in a new file.

Downloads

  1. Download and import the Pipeline into SnapLogic.

  2. Configure Snap accounts, as applicable.

  3. Provide Pipeline parameters, as applicable.

  File Modified

File SAP_Concur_Demo_Create_update.slp

Oct 06, 2023 by Kalpana Malladi

Snap Pack History


Related Content

Â