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

Prepare the SAP SuccessFactors Extension UI with CDS Annotations

In this phase of the development you will add CDS annotations to the CAP service for further usage by the Fiori Elements UI.

Overview

🎓 beginner 15 min. SAP Cloud Application Programming ModelBeginnerSAP BTP Cloud Foundry Environment

You will learn

  • โœ”How to create the annotations file
  • โœ”How to code the CDS annotations into the file
  • โœ”Understand the value help annotations
  • โœ”How to test the application UI using the Fiori preview feature
  • โœ”How to check the result of an employee’s project assignment on SAP SuccessFactors
  • โœ”How to do further testing
Unknown U Unknown November 1, 2022
Created by September 28, 2022
Contributors

Prerequisites

Steps

Step 1 Create the annotations file
โ€”

It is a best practice to maintain the UI annotations in a separate file referencing your CAP service. So, go ahead and create that file.

On the left-hand pane of SAP Business Application Studio, (1) select the srv folder, then (2) click on the three dots to the right of the project name and (3) select New File.

Figure 1 โ€“ Create New File
Figure 1 โ€“ Create New File

On the dialog name the file projman-service-ui.cds and click OK.

Figure 2 โ€“ Set File Name
Figure 2 โ€“ Set File Name

Step 2 Code the CDS annotations
+
Step 3 Understand the value help annotations
+
Step 4 Test the application UI
+
Step 5 Check operation result on SAP SuccessFactors
+
Step 6 Execute other tests
+
Step 7 Check your knowledge
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Create the annotations file 2. Code the CDS annotations 3. Understand the value help annotations 4. Test the application UI 5. Check operation result on SAP SuccessFactors 6. Execute other tests 7. Check your knowledge

Learn more →