SAP Knowledge Base Article - Public

3622758 - Maximum URL length for OData GET requests with V4 Odata

Symptom

  • It isn't clear if there are limitations with the length of a URL when using the V2 and V4 Odata APIs.

Environment

SAP S/4Hana Public Cloud Edition

Reproducing the Issue

  1. Submit a GET request with the V4 Odata Purchase Order service 'api_purchaseorder_2' with a URL length of over 4000 characters.

Cause

Documentation

Resolution

  1. Review the differences between OData V2 and V4 at KBA 3360429 
  2. The URL length limit for OData V4 is 8,000 characters and there is no limit for V2.
  3. Max payload size in S/4HANA Public Cloud Edition is 500 MB
  4. The maximum allowable request size for HTTP requests in the SAP BTP ABAP environment is 400 MB

See Also

Keywords

OData, GET request, URL length, SAP S/4HANA Cloud, Public Edition, 2048 characters, 4073 characters, API, Purchase Orders, service limits, V2, V4 , KBA , MM-PUR-PO-2CL , Purchase Orders (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions