Supported SAP OData Connector Types
* 
It is required that your SAP server use TLS v1.2. If your SAP server is at TLS v1.0 or TLS v1.1, then you will not be able to use SAP OData connectors. Even though Node.js allows communication using a lower version of TLS, PTC strongly discourages it.
Add an SAP OData connector type to authorize ThingWorx Flow to execute SAP OData actions. ThingWorx Flow supports the following connector type for SAP OData:
Basic
OAuth
OAuth (Named User)
OAuth (Session User)
* 
Before you create an SAP OData OAuth connector, ensure that you load SAP OData OAuths to the ThingWorx Flow server.
Adding a Basic connector
1. Drag any action under SAP OData to the canvas, place the pointer on the action, and then click or double-click the action.
2. For Connector Type, select Basic.
3. In the SAP OData Basic list, select Add New.
4. Edit the Connector Label field, if you want. Labels are case-sensitive. Do not use spaces, special characters, and leading numbers.
5. In the Application URL field, specify the SAP Application URL in the <protocol>://HostName:PortNumber/ format.
6. In the User Name and Password fields, enter the correct user name and password.
7. Click ADD to add the SAP OData Basic connector.
Adding an OAuth connector
1. Drag any action under SAP OData to the canvas, place the pointer on the action, and then click or double-click the action.
2. For Connector Type, select OAuth (Named User) or OAuth (Session User).
3. In the SAP OAuth list, select Add new SAP OData login – Named User or Add new SAP OData login – Session User.
* 
If you have not loaded SAP OData OAuths to the ThingWorx Flow server, this option is not available.
4. Provide your user name and password to log in to SAP.
5. Review the scope permissions, and click Allow.
6. Edit the Connector Label, if needed. Labels are case-sensitive. Do not use spaces, special characters, and leading numbers.
7. In the Resource URL field, enter your SAP resource URL in the https://<Host:Port>/ format.
* 
The Resource URL field is available only if you have not specified the RESOURCE_URL parameter while configuring OAuth settings for SAP OData. For more information, see SAP OData OAuth Parameters.
8. Click ADD to add the SAP OAuth connector.
Was this helpful?