cancel
Showing results for 
Search instead for 
Did you mean: 

API Post Sales Order - big quantity of line items - timeout ?

lmonteroquero
Explorer
0 Kudos

Hi experts, 

making post to https://myXXXXX.s4hana.ondemand.com:443/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder

We need to create lots of sales order line items and when reach aprox 400 line items, we get this message error. It seems a "timeout" , but don´t know why.

Could not get any response

This seems to be like an error connecting to https://myXXXXX.s4hana.ondemand.com:443/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder. The response status was 0.

If I create less line items ( for example 350 ) , we get no error and sales order is created.

Thanks for any help or suggestion .

Accepted Solutions (1)

Accepted Solutions (1)

former_member131745
Product and Topic Expert
Product and Topic Expert
0 Kudos

Creating this amount of items is not recommended for API_SALES_ORDER_SRV in one request.

This is connected to the business logic. There are multiple processes connected to the creation of a sales order item, for instance; ATP or Price Calculation and there is also a http timeout limit for the OData Requests.

Thanks,

Gerard

lmonteroquero
Explorer
0 Kudos

thanks for your reply.. so , what about high amount of line items ? not possible in S4HC processing ? not possible to change timeout for more time ?

Answers (0)