Symptom
When trying to create sales orders with over 1000 line items using the Sales Order A2X (OData V2, API_SALES_ORDER_SRV) a timeout error occurs.
Environment
SAP S/4HANA Cloud Public Edition
Cause
Sales order creation triggers multiple business processes for each line item, including availability-to-promise (ATP) checks and price calculation, among others. The cumulative processing load of these operations grows proportionally with the number of items. Since the OData API API_SALES_ORDER_SRV operates synchronously, requests with a high item count are likely to exceed timeout thresholds before processing completes.
Resolution
For sales orders containing more than 1000 line items, it's suggested to use the asynchronous SOAP API Sales Order A2A (SalesOrderBulkRequest_In) instead. Unlike the OData API, this interface handles large payloads asynchronously, eliminating the timeout risk associated with high-volume order creation.
See Also
Keywords
API, Sales Order, item, timeout, sales, OData, SOAP, time out, time, out, SD, A2A, A2X, API, performance, SalesOrderBulkRequest_In, API_SALES_ORDER_SRV, Operation timed out after 30000 milliseconds with , KBA , SD-SLS-API-2CL , API (Public Cloud) , Problem
SAP Knowledge Base Article - Public