SAP Knowledge Base Article - Public

2852462 - How to Optimize the Performance of Batch Payload


You have a requirement to Post data using batch payload, but it takes 15-20 seconds to process the payload.


SAP Cloud for Customer


The maximum time taken to process a payload is the response generated by the successful creation of records.


You can stop the response getting created by using the below parameters in the batch payload

- odata-no-codedescs: true
- odata-no-response-payload: true

Example Payload-


Content-Type: multipart/mixed; boundary=changeset_dee3639e-74f3-497a-ad26-deba8391b7f2

Content-Type: application/http
Content-Transfer-Encoding: binary

POST IndividualCustomerCollection HTTP/1.1
Content-Length: 2768
Accept: application/atom+xml
odata-no-codedescs: true
odata-no-response-payload: true
Content-Type: application/atom+xml


batch, payload, OData, POST, PATCH, GET , KBA , batch , odata , payload , post , patch , custom headers , LOD-CRM-INT-API , OData API (C4C Only) , Problem


SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions