cancel
Showing results for 
Search instead for 
Did you mean: 

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

madankumarp
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member184867
Active Contributor
0 Kudos

I also faced the problem recently while trying out Fiori Launchpad designer.

Probably you are in SAP_GWFND SP13.

There are two notes for this  - 2205402 is for SP12 of SAP_GWFND  and 2232883 for SAP_GWFND SP13.

you need apply the note based on your SP level

madankumarp
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks Atanu.. I'll try this now and will update ..

madankumarp
Product and Topic Expert
Product and Topic Expert
0 Kudos

hi Atanu.. those notes fixed our issue.. really appreciate the guidance.. thank you..

Answers (0)