Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

The URL filter parameter of OData gets automatically truncated to 4 chars

$
0
0

hi,

I've observed this strange behavior in our system before as well. but then it got resolved automatically.

But now it is back.


Let me explain the problem:

I invoke the OData get service in a browser and pass a filter parameter. But when this call reaches my Data Provider Class, the URL filter parameter that I'd specified in the URL gets truncated to 4 characters.

 

Eg: I invoke URL https://<server>/sap/opu/odata/UI2/PAGE_BUILDER_CONF/Catalogs?$filter=type%20eq%20%27CATALOG_PAGE%27

But when this call reaches my DPC, the IT_FILTER_SELECT_OPTIONS has this filter, but the value is truncated to 4 chars. So it has I EQ CATA instead of I EQ CATALOG_PAGE.

 

ODataConcatenation.jpg

 

I've tried clearing all the model cache and data cache.

This service here is part of standard Fiori Launchpad service. But I've seen this issue in my own custom service too.

I've cleared all the Fiori Launchpad services cache too.

 

Any quidance will be really helpful.

 

thanks,

Madan


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>