Skip to Content

Issue in SAP Web IDE Annotation Modeler with UI.SelectionVariant

Hello SAP Web IDE Annotation Modeler Experts,

I try to recreate what is described here in the standard documentation Defining Multiple Views on a List Report Table. Unfortunately when I copy and paste the coding from the documentation I run into issues that the sortorder is undefined. So I followed the suggestion of Mariana Naboka to use the just the Annotation Modeler to add UI.SelectionVariant. But you can watch the issues I run into in this video:

Hope for help.

Best regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 07, 2018 at 02:00 PM

    Hi Gregor,

    The issue with Low property is caused by the fact that the annotation structure of your file does not conform to the OData specification: It states that the name of annotations target such as Entity Type should be unique, whereas your file contains the Target EPM.Product twice.

    Such a non-conformance can happen when the targets are annotated manually in the code editor. To prevent such errors, annotation modeler currently adds all the annotations intended for the same target under the single annotation target rather than enters a new target for each new annotation.

    To fix the issue you can do the following:

    1. Remove one of the duplicated targets along with their annotations from the annotation file. In your case it is:" Target="EPM.Product">

    <Annotation Term="COMMON.SemanticKey">

    <Collection> <PropertyPath>ProductId</PropertyPath>

    </Collection> </Annotation>


    2. Save and close the annotation file.

    3. Open annotation file again and switch to the Annotation Modeler tab.

    4. Enter the value for the property "Low" again to fix the error. Save.

    5. Add the COMMON.SemanticKey annotation with the annotation modeler.

    Hope this helps.

    The issue with the drop-down looks like the control issue. Could you please upgrade to the latest browser version, restart the browser and let me know whether you still experience it? If so, I would need to know your Web IDE version and UI5 version it uses (check with Ctrl+Alt+Shift+P).

    Best Regards,


    Add comment
    10|10000 characters needed characters exceeded