Skip to Content
avatar image
Former Member

How to render a field as smart link on List Report & Object Page

Hi Experts,

I am trying to render a field as smart link on my Object page which is entered from the List Report, but it doesn't work. Could someone help me?

Below is my List Report :

When I click any line in this report, it will navigate to an object page like below:

Now, what I want is to render the fields VBELN and ERNAM as smart links, so I created below annotations in my local annotation file (referred from here )

I am sure the Service and Entity Type described in the Target of annotation is correct, but it always not work.

Does some one know why? Do I need to code or configure anywhere else?


1.png (76.6 kB)
2.png (24.1 kB)
3.png (13.3 kB)
5.png (27.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Dec 01, 2017 at 08:46 AM

    Hi Jessie,

    Ok what's happening is when you display a field in a standard Plain Text facet it can only be displayed as text. So it ignores your annotations. So your snippet is not enough. You need to look at the WHOLE snippet shown in Configuring External Navigation to understand how to create a Quick View Facet. You can then use Collection Facet to group the Plain Text and Quick View facets together.

    Good luck! It would be great if you can blog on this once you get it working



    Add comment
    10|10000 characters needed characters exceeded

    • Hi Jocelyn,

      I've followed every single one tof he steps too. but the target field does not change to a hyper link at all.

      I'm not sure if I put the code snippet into the wrong files.

      1. I put the SemanticObject annotation into annotations.xml file.

      2. I put the QuickViewFacets annotations into the localService/metadata.xml file, but i doubt this wouldn't work because in my understanding localService/metadata.xml won't affect the render of the UI components. will it?

      In the original document , it says "Annotate UI.QuickViewFacets under the association end type of the Dependent property as follows".

      does that mean put the QuickViewFacets annotations under the <Dependent Role="FromRole_assoc_0D9ADB4FFAD18552107BA50F5E694E5C"> tag in the localService/metadata.xml file?

      3. I put the UI.FilterFacets annotations into the same xml file as #2. but for the same reason, i don't think it would work, would it?

      please help clarify. thanks a lot!


  • Feb 02, 2018 at 06:22 AM

    Hell I’m trying to implement similar scenario but the end result is the same as jessie.

    I follow all the steps as Jocelyn indicated but no luck.

    What I notice is the property is buold as SmartLink and through inspector I validate it and tryed via debug tool to enable it and the text become hiperlink. However when clicking I got error message where the system is not able to find valid target.

    For sure is missing some annotation that allow proper construction of SL control.

    Have you sorted out or still stuck?

    Thank you


    Add comment
    10|10000 characters needed characters exceeded

  • Jul 15, 2018 at 12:31 PM


    The cause is the wrong value of attribute 'String' of tag 'Annotation-Term'.

    It should be the semantic object name instead of the property name.

    Best regards,
    Chris Xu

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 29, 2018 at 10:55 PM

    Correct you need to use a valid Semantic Object .

    Semantic Objects are held in configuration tables /UI2/SEMOBJ and /UI2/SEMOBJ_SAP

    They are typically an English term not an abbreviation. E.g. PurchaseOrder, SalesOrder, etc.

    Add comment
    10|10000 characters needed characters exceeded