on 05-24-2016 1:19 PM
Hello forum,
I have an entity type with some attributes. No one has the filterable flag active but if I launch the Collection with ?$filter the query method is executed.
I''m running on SAP Basis 7.40 SP 13 and SAP_GWFND SP13.
Could you clarify me?
Thanks
Hi Bruno,
It will work, as currently I am also using the same working.
IF you want to check go to 'DPC_EXT' class and put an external break point in the method '*_GET_ENTITYSET', put the user in debugging the user which you have given in rfc destination login.
and check the value of IV_FILTER_STRING.
Regards
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The $filter will work even when the filterable flag is not checked.
Well for error, even i didn't get any till now.
These flags are useful when the metadata is generated for a service.
It will come like this - sap:updatable="false" sap:sortable="false" sap:filterable="false" .
Since filterable flag is not checked , in metadata it will come as false.
So that the UI developers can clearly understand.
Regards
Ashish
Ok, understood.
Thanks to all.
Topic closed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bruno,
options like "filterable","pageable" etc are just for generating tags in metadata. Whether we set it or not, the features will still be working. By setting the option "filterable" as false, you are intimating the OData consumer that you have not implemented filter feature for that particular field(so that the consumer may not try to filter it ) . OData metadata should be self explanatory for the consumer.
Sreehari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.