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
- 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
- Review the differences between OData V2 and V4 at KBA 3360429
- The URL length limit for OData V4 is 8,000 characters and there is no limit for V2.
- Max payload size in S/4HANA Public Cloud Edition is 500 MB
- The maximum allowable request size for HTTP requests in the SAP BTP ABAP environment is 400 MB
See Also
- Refer to: API Documentation
- Refer to: Summary of differences between OData V2 and V4
- Refer to: Note 3450508
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
SAP Knowledge Base Article - Public