Execute OData service(PUT)

Operation name

Execute OData service(PUT)

Function overview

Executes the OData service API of SAP S/4HANA with the HTTP PUT method.

Data model

The data model of this component is XML type.

Properties

= Remarks =

For details on use of variables, refer to Variables.

Basic settings

Item name

Required/Optional

Use of variables

Description

Remarks

Name

Required

Not available

Enter a name to use on the script canvas.

 

Required settings

Item name

Required/Optional

Use of variables

Description

Remarks

Destination

Required

Not available

Select a connection resource.

Add

A new connection resource can be added.

Edit list

Connection resource settings can be edited in > SAP S/4HANA ODATA > OData Connection.

 

Authentication type

Required

Not available

Select the authentication type when executing the OData service.

OAuth 2.0 authentication

(Default)

OAuth 2.0 authentication is used for execution.

Basic authentication

Basic authentication is used for execution.

 

OAuth 2.0 authentication settings

Required

Not available

Select a connection resource.

  • This is displayed when OAuth 2.0 authentication is selected for Authentication type.

Basic authentication settings

Required

Not available

Select a connection resource.

  • This is displayed when Basic authentication is selected for Authentication type.

EntityType

Required

Available

Select or enter an entity type corresponding to the type of the resource path to be read.

 

Property List

Required

-

The property list of the entity type specified for EntityType is displayed.

 

Property List/Input schema target

Required

Not available

Select whether or not to include a property in the input schema target.

Selected

(Default)

Include the property in the input schema target.

Not selected

Don't include the property in the input schema target.

  • The selected property names will be displayed in Mapper schema.

  • You can operate all checkboxes at once by clicking the checkbox displayed in the header.

  • One or more properties must be selected.

Property List/Key

Required

Not available

Whether the property is a key or not is displayed.

 

Property List/Name

Required

Not available

The property name is displayed.

 

Property List/Edm.Type

Required

Not available

The Edm.Type of the property is displayed.

 

Property List/Nullable

Required

Not available

Whether the property allows Null or not is displayed.

 

Resource path

Required

Available

Enter the resource path of the OData service API to be executed.

 

Entity key list

Required

-

The entity key list of the entity type specified for EntityType is displayed.

 

Entity key list/Name

Required

Not available

The entity key name is displayed.

 

Entity key list/Edm.Type

Required

Not available

The Edm.Type of the entity key is displayed.

 

Entity key list/Value specification method

Required

Not available

Select the specification method of the entity key value.

Enter directly

(Default)

A value that is input for Entity key list/Value is referenced as an entity key.

Input data

The value of the input data is referenced as an entity key.

 

Entity key list/Value

Optional

Not available

Enter the value of the entity key.

  • The value that you input will be ignored when Input data is selected for Entity key list/Value specification method.

Property actions

Item name

Description

Remarks

Retrieve entity list

Retrieve metadata from the specified destination OData service and set it for EntityType.

  • Enabled when all the following property items are set:

    • Destination

    • Basic authentication settings or OAuth 2.0 authentication settings

Retrieve property list from an entity

Retrieve data from the property list of the specified entity type and set the data in Property List.

  • Enabled when all the following property items are set:

    • Destination

    • Basic authentication settings or OAuth 2.0 authentication settings

    • EntityType

Request settings

Item name

Required/Optional

Use of variables

Description

Remarks

Query parameters

Optional

-

Specify query parameters to be included in a request.

Each query parameter can be operated with the following buttons:

Up

Move the selected query parameter upwards by one row.

Down

Move the selected query parameter downwards by one row.

Add

Add a query parameter.

Delete

Delete the query parameter.

 

Query parameters/Name

Optional

Available

Enter the name of the query parameter.

  • When omitted, the query parameter isn't included in the request.

Query parameters/Value

Optional

Available

Enter the value of the query parameter.

 

Request header

Optional

-

Specify HTTP headers to be included in a request.

Each request header can be operated with the following buttons:

Add

Add a request header.

Up

Move the selected request header upwards by one row.

Down

Move the selected request header downwards by one row.

Delete

Delete the request header.

 

Request header/Name

Optional

Available

Enter the request header name.

  • When omitted, the request header isn't included in the request.

Request header/Value

Optional

Available

Enter the request header value.

 

Enable concurrency control for Update/Delete

Optional

Not available

Select whether or not to enable concurrency control for Update/Delete.

Selected

(Default)

Enable concurrency control for Update/Delete.

Not selected

Disable concurrency control for Update/Delete.

 

ETag submission settings

Optional

Not available

Select the specification method of the value that will be specified in the If-Match header.

Specify the wildcard character (*) in the If-Match header

(Default)

Specify the wildcard character (*) in the If-Match header.

Specify the ETag value in the If-Match header

Specify the value entered for ETag value in the If-Match header.

  • Enabled when Enable concurrency control for Update/Delete is selected.

ETag value

Optional

Available

Enter the ETag value that will be specified in the If-Match header.

  • Enabled when Specify the ETag value in the If-Match header is selected for ETag submission settings.

Response settings

Item name

Required/Optional

Use of variables

Description

Remarks

Error when response status code is 4xx or 5xx

Optional

Not available

Select whether or not to make the processing an error when the response status code is "4xx" or "5xx".

Selected

Processing will end as an error.

Not selected

(Default)

Processing won't end as an error.

 

Response header

Optional

-

Specify header names to get from HTTP headers included in a response.

Each response header can be operated with the following buttons:

Add

Add a response header.

Up

Move the selected response header upwards by one row.

Down

Move the selected response header downwards by one row.

Delete

Delete the response header.

  • A response header is defined as a component variable with the name entered in Name.

Response header/Name

Optional

Only environment variables are available

Enter the response header name.

  • Case-insensitive.

  • When omitted, it's not defined as a component variable.

  • When there's a space/tab/line feed before or after the name, it will be trimmed and defined as a component variable.

Data processing method

Item name

Required/Optional

Use of variables

Description

Remarks

Data processing method

Required

Not available

Select a data processing method.

Apply script settings

(Default)

The setting for mass data processing in the script properties is applied to the connector.

Do not perform mass data processing

Mass data processing isn't performed.

Perform mass data processing

Mass data processing is performed.

 

Comment

Item name

Required/Optional

Use of variables

Description

Remarks

Comment

Optional

Not available

You can write a short description of this connector.

 

Schemas

OData V2

Input schema

<?xml version="1.0" encoding="utf-8"?> 
<entry xmlns="http://www.w3.org/2005/Atom" 
       xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" 
       xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> 
    <content> 
        <m:properties> 
            <d:Property name m:null="" /> 
        </m:properties> 
    </content> 
</entry>

Element name

Attribute name

Required/Optional

Description

Remarks

entry

-

Required

 

 

content

-

Required

 

 

m:properties

-

Required

 

 

d:Property name

-

Required

Enter the property value.

 

m:null

Optional

Enter "true" if the property value is null.

If omitted, "false" is set.

Output schema

<?xml version="1.0" encoding="utf-8"?> 
<entry xmlns="http://www.w3.org/2005/Atom" 
       xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" 
       xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> 
    <content> 
        <m:properties> 
            <d:Property name m:null="" /> 
        </m:properties> 
    </content> 
</entry>

Element name

Attribute name

Description

Remarks

entry

-

 

 

content

-

 

 

m:properties

-

 

 

d:Property name

-

The entity property value returned as a response is output.

 

m:null

"true" is output if the property value is null.

 

OData V4

Input schema

<?xml version="1.0" encoding="utf-8"?> 
<root> 
    <value> 
        <!-- If Edm.Type is a primitive type --> 
        <Property name null="" /> 
        <!-- If Edm.Type is Collection --> 
        <Property name of Collection> 
            <item> 
                <Property name null="" /> 
            </item> 
        </Property name of Collection /> 
    </value> 
</root>

Element name

Attribute name

Required/Optional

Description

Remarks

root

-

Required

 

 

value

-

Required

 

 

Property name

-

Required

Enter the property value of the entity.

 

null

Optional

Enter "true" if the property value is null.

If omitted, "false" is set.

item

-

Optional

If the Edm.Type is Collection, this represents the collection element.

If omitted, an empty collection is set.

Output schema

<?xml version="1.0" encoding="utf-8"?> 
<root> 
    <value> 
        <!-- If Edm.Type is a primitive type --> 
        <Property name null="" /> 
        <!-- If Edm.Type is Collection --> 
        <Property name of Collection> 
            <item> 
                <Property name null="" /> 
            </item> 
        </Property name of Collection /> 
    </value> 
</root>

Element name

Attribute name

Description

Remarks

root

-

 

 

value

-

 

 

Property name

-

The entity property value returned as a response is output.

 

null

"true" is output if the property value is null.

 

item

-

If the Edm.Type is Collection, this represents the collection element.

 

Loading schema in Mapper

The schema is loaded automatically.

= Remarks =

You can edit the automatically loaded schema.

For details, refer to Edit Schema.

Mass data processing

Mass data processing is supported.

Transaction

Transaction isn't supported.

Parallel Stream Processing

PSP isn't supported.

Available component variables

Component variable name

Description

Remarks

status_code

The HTTP status code of the response is stored.

  • The default value is null.

error_response_body

The response body with a response status code "4xx" or "5xx" is stored.

  • The default value is null.

message_category

When an error occurs, the category of the message code corresponding to the error is stored.

  • The default value is null.

message_code

When an error occurs, the code of the message code corresponding to the error is stored.

  • The default value is null.

message_level

When an error occurs, the severity of the message code corresponding to the error is stored.

  • The default value is null.

error_type

When an error occurs, the error type is stored.

  • The default value is null.

  • The format of the error type is as shown below.

    Example: java.io.FileNotFoundException

error_message

When an error occurs, the error message is stored.

  • The default value is null.

error_trace

When an error occurs, the trace information for the error is stored.

  • The default value is null.

Message codes, exception messages, and limitations

Connector

Message code

Error message

Limitations

Messages and limitations of the SAP OData connector

check

check

check