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.
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 |
---|---|---|---|---|
Input | Document or Binary
|
|
| A document containing data that can be used to create or update entities in SAP Concur. |
Output | Document |
|
| 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:
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 | |
---|---|---|---|
Label*
Default Value: SAP Concur Write | String | Specify a unique name for the Snap. | |
API Version
Default Value: v3.0 | 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:
| |
Entity*
Default Value: N/A | 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 | 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 | String | Specify the names of the required parameters. | |
Value
Default Value: N/A | 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 | String | Specify the names of the optional parameters. | |
Value
Default Value: N/A | 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 | Integer | Specify the connection timeout duration in seconds. | |
Number of Retries*
Default Value: 0 | 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 | 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 | Dropdown list | Select one of the following three modes in which the Snap executes:
|
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
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.
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
Download and import the Pipeline into SnapLogic.
Configure Snap accounts, as applicable.
Provide Pipeline parameters, as applicable.