on 06-06-2016 10:58 AM
Hi all,
I am developing the No Sales Exception UI5 Apps.I need to capture the URL input values and pass this values to odata service Filter_Select_options as values.How to implement this requirment. Kindly share the coding .
Thanks and Warm Regards,
Rajeev
As Andre said, where do you need to implement this parameters, it's in your ABAP coded Services or it's in app code?
If it's via ABAP in your services, you need to mark the property with the "Filtereable" flag, like this:
In the properties of your Entity Type, marking the property you want to filter by.
Now you have two options to check your filter options.
You can either check this table:
Or you can use the method: io_tech_request_context->get_filter( )->get_filter_select_options( ). and fill a table with the filter(s) you used in your service URI call.
After that, it's all ABAP code to use the filter values.
For READ operations, you can read the input in your KEY TAB.
In this case, only the properties marked as KEY will be seen.
I'm pretty sure there's other ways to implement this, and keep in mind that some of the options I mentioned are Obsolete, this are just some examples I have used so far.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you looking
Best Regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.