SAP Knowledge Base Article - Public

3577788 - Considerations to be Made in Case Parallel Calls Are Made to C4C Using ODATA API

Symptom

This KBA explains the considerations to be made in case parallel calls are made to C4C using ODATA API.

Environment

SAP Cloud for Customer

Resolution

SAP does not allow multiple update at same time, but we recommend a limited multiple thread usage. OData API can be consumed via parallel threads.

Considerations: 

  • A unique object record cannot be updated by two threads at the same time. Trying to do so will result in “record locked by user ...” errors.
  • To ensure system’s availability for all users, the number of parallel threads in an interface should be limited. Therefore, we recommend that in a tenant the number of parallel threads making API calls should be less than 10 (total for all interfaces running in parallel). Furthermore, if such an interface(s) will run for a long time, the total number of threads should even be smaller (<7).
  • Optimum number can be determined (by testing) based on the API, customizations in the tenant and the request details.

Keywords

 Parallel calls, C4C, ODATA API , KBA , LOD-CRM-INT-API , OData API (C4C Only) , Bug Filed

Product

SAP Cloud for Customer core applications 2502