SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Refine the Object Page with Annotations

Display data in fields and tables on the object page using annotations.

Overview

🎓 beginner 40 min. SAP FioriBeginnerSAP Fiori Tools

You will learn

  • โœ”How to add a title and a subtitle to the object page header
  • โœ”How to add key data to the object page header
  • โœ”How to add a section and use field groups to structure data
  • โœ”How to add a table
  • โœ”How to include pictures in a table
  • โœ”How to modify an SAP Fiori elements application to add features like flexible column layout and initial load of data
  • โœ”How to update the metadata in your frontend application
  • โœ”How to add side effects using guided development
Unknown U Unknown October 9, 2025
Created by June 22, 2021
Contributors

Prerequisites

Prerequisites

Steps

Intro

Whenever your unique suffix for creating objects is needed, the object names within this tutorial are named with suffix “######”. For the screenshots the suffix “000100” was used.


Step 1 Add title and subtitle to object page header
โ€”

Clicking on any item of the list report will show the object page for this item. The object page currently shows only some standard buttons and does not contain any further fields or actions. In this step you will add annotations to show a title and a subtitle in the object page header.

  1. Open the metadata extensions for the Travel view ZC_FE_TRAVEL_######. In the previous tutorial Refine the List Report with Additional Annotations you already defined header information in step 3. Now you will enhance the annotation @UI.headerInfo with a title and a description property.

    CDS
    ...
    
    @UI: {
        headerInfo: {
            typeName: 'Travel',
            typeNamePlural: 'Travels',
            title: {
                type: #STANDARD, value: 'Description'
            },
            description: {
                value: 'TravelID'
            }
        },
    ...

    Choose Save and Activate.

  2. Refresh the app preview. You will see an object page containing a title and a subtitle in the header and an empty content section.

    App object page title
    App object page title

Step 2 Add data points to object page header
+
Step 3 Add new section with title
+
Step 4 Add 2 field groups to section
+
Step 5 Show Bookings Table in new section
+
Step 6 Add airline pictures in Bookings table
+
Step 7 Activate flexible column layout
+
Step 8 Activate initial loading of data
+
Step 9 Update the metadata in your frontend application
+
Step 10 Add side effects using guided development
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 10
1. Add title and subtitle to object page header 2. Add data points to object page header 3. Add new section with title 4. Add 2 field groups to section 5. Show Bookings Table in new section 6. Add airline pictures in Bookings table 7. Activate flexible column layout 8. Activate initial loading of data 9. Update the metadata in your frontend application 10. Add side effects using guided development

Learn more →