on 10-21-2020 1:16 PM
Hi,
I am trying to add filter in List report app using UI.SelectionFields annotations via code in MPC_EXT -> define method.
lo_annotation = lo_ann_target->create_annotation( iv_term = 'UI.SelectionFields' ).
lo_collection = lo_annotation->create_collection( ).
lo_simp_value = lo_collection->create_simple_value( ).
lo_simp_value->set_path('Customer').
I can see the same in service metadata and also visible in WebIde under external annotations in Annotation modeler. But the filter field is not visible on the apps initial screen. I have made the fields ds as filterable in the Entity property as well.
But when I add the same annotation using Annotation modeler as local annotations , it is working fine.
I don't see any difference in annotations added via code or modeler. Please help to figure out what do I miss here.
Thanks
Vijay
Hello Vijay,
Please see this blog Adding annotation in oData . I hope you can get some help from this blog.
Best Regards
Prajna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.