Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

unable to encode + sign in OData request URL


Right now we are working on a project using SAPUI5 SDKs and facing a challenge. We are trying to consume a OData service from SAPUI5's JSON Model. We are passing a string value with + sign to the OData service url. But + sign by default got interpret as space and we were not able to process further. Later, we tried to encode + with a predefined js function encodeURIComponent() as %2B instead of + but, still we are facing the same challenge.

Please suggest some alternatives to encode + sign in Odata service request url. Thanks.

Sample Request URLĀ  - OData Service Request




Former Member
Not what you were looking for? View more on this topic or Ask a question