2024 Aug 21 1:53 PM - last edited on 2024 Aug 23 5:42 PM by thomas_jung
Another Wednesday and we are back with Task 3 of the August Developer Challenge on ABAP Core Data Services. We are thrilled to see the amazing response to Task 1 and Task 2. Whoever missed it can find all the information in our blogpost August Developer Challenge.
Today for Task 3 we decided to take you all through one of the interesting and widely used feature of ABAP Core Data Services – Annotations.
Annotations allow you to add domain-specific metadata and text labels to CDS objects that goes beyond the syntax features of ABAP SQL. This means that it enhances the technical properties of CDS view entities such as adding search , capabilities or controlling access to your data. To know more about Annotations watch the SAP TechByte on Annotations or go through the CDS Annotation Help Documentation
Task 3 – In this task we will add annotations to the CDS View Entity created in Task1 and then create a Fiori app to view the results.
Follow the instructions carefully and share with us the screenshots of the items mentioned in the ‘Validation’ section of this discussion.
Please use this separate thread to ask your questions and discuss issues.
Validation :-
Note:- Please do not search with '*'
Please share screenshots after performing the following :
We are eagerly waiting to see your submissions. Enjoy!!
2024 Aug 23 2:02 PM
My solution for week 3 😊
With the active filter:
Kind regards
Sebastian
2024 Aug 23 4:37 PM
Hello,
Here is my solution for Task 3 🎉:
Thank you! 😊
2024 Aug 23 5:42 PM
2024 Aug 24 3:23 AM
Hello,
Task 3 -
Preview the App showing all the columns, search and filter options in the CDS view entity.
Search records based on a specific value from 'Description' field and select an available value from the 'Status' field.
Thanks,
Eris
2024 Aug 24 3:45 AM
Below is the solution for 3rd week
Preview the App showing all the columns, search and filter.
Search based on user text from 'Description' field.
Search based on user text and status filter
Thanks
Nik
2024 Aug 26 12:46 PM
Hi @jonwalnikhilesh ,
Thanks for the submission. For better readability use the annotation to display the text.
2024 Aug 24 6:01 AM
Completed!
Application Preview
Fuzzy Search
Filter
2024 Aug 24 12:01 PM
Hello team,
this is my submission for this task:
2024 Aug 24 1:23 PM
Hi @sheenamk ,
Task-3 is done. Please find the below details of the task3 validation
A. Only with Description field search
B. Both Description field search and value help filter of status
2024 Aug 24 5:42 PM
1. Add annotations to display all the fields in the Fiori app by default.
2. Add annotations to provide a search field and enable search by ‘Description’ in the filter bar.
3. Add annotations to provide a value help filter on the ‘Status text’ field based on Overall Status text.
4. Add annotations to provide a filter for the Travel ID field
2024 Aug 26 12:44 PM
Hi @Mohammed_Nabeel ,
Thanks for the submission. kindly add Search field and search with a description.
2024 Aug 26 2:11 PM
Hi @Shilpa_Shankar ,
Please review the below screenshot for search field and search with description.
Thank you for pointing out the missed screenshot. Your keen observation is much appreciated.
Regards,
2024 Aug 24 6:11 PM
Task 3 Details:
2. Search records based on a specific value from 'Description' field and select an available value from the 'Status' field.
2024 Aug 24 6:37 PM
Hi ,
Here are the screenshots for the task 3.
2024 Aug 25 6:59 AM
Here is my Solution:
2024 Aug 25 8:12 AM - edited 2024 Aug 25 8:15 AM
Vanakam, Developer Advocates!
Here is the preview of my application
1.Preview the App showing all the columns, search and filter options in the CDS view entity.
2.Search records based on a specific value from 'Description' field and select an available value from the 'Status' field
a.Search and Status Value Help
b.Result of Search and Filtering
Search: "Business Trip", Status: "Accepted"
Warm Regards
Surya L
2024 Aug 25 11:30 AM
2024 Aug 25 12:48 PM
2024 Aug 25 1:57 PM
All the fields
Search records based on a specific value from 'Description' field
Select an available value from the 'Status' field.
2024 Aug 26 12:41 PM
Hi @ganeshprasadj34 ,
Thanks for the submission. For better readability you can add the annotation where the status text will be displayed. Use @objectmodel.text.element
2024 Aug 26 1:21 PM
2024 Aug 25 5:42 PM
Hi,
I was not able to log in with my previous instance which had till task 2. Hence created a new instance and new package. Please find my CDS preview below for task 3.
2024 Aug 25 7:33 PM
Please find my submission below:
Thanks,
Daniel
2024 Aug 25 8:51 PM
📌
2024 Aug 26 1:06 AM
Hi, I am getting the below error. I cleared the browing history, logged in incognito mode, tried with edge browser, I uninstalled and installed the eclipse but still the same. Any one faced this error?
Thanks,
Bharath
2024 Aug 26 5:00 AM
Hello,
Many we had the same issue, you need to delete the ABAP instance from your BTP trial account, then generate a new ABAP instance and create a new cloud project in eclipse. Unfortunately, if you don't have a backup from your components, you must create them again.
Regards.
2024 Aug 26 4:56 AM
Hello,
My submission.
1.- Preview the App showing all the columns, search and filter options in the CDS view entity.
2.- Search records based on a specific value from 'Description' field and select an available value from the 'Status' field.
Regards.
2024 Aug 26 5:50 AM
Hi All,
General Preview
Data display based on Search criteria and Overall Status Text Filter
Regards,
Vinod Iyer
2024 Aug 26 6:54 AM
Hi,
Below are my week 3 task screenshots
App with all fields
Screenshot with Search and Filter by Status
Thanks
Ajay
2024 Aug 26 9:03 AM
Done.
We are waiting next task 😉
2024 Aug 26 11:07 AM
CB9980002351
Preview of all fields (excluding the currency code field and the total price field, as they have been concatenated into TotPriceCurr for status showing value and status text together in OverAll Status).
With filter:
Thanks and regards,
Usama Khan
2024 Aug 26 12:11 PM
Hello,
Thank you for the week 3 exercise!! Below are the validation screenshots:
Full Data Preview:
Data Preview with Filter on Travel ID:
Date Preview with Filter on Description:
Data Preview with Filter on Status:
2024 Aug 26 12:13 PM
Hi @aaruljothi ,
Thanks for the submission. Kindly add a search field and search with a value from the description.
2024 Aug 26 12:47 PM - edited 2024 Aug 26 12:55 PM
Hello @Shilpa_Shankar,
Thank you for noticing and alerting the unintentional miss. I have added the search field for description now. Below are the screenshots.
Full Data Preview:
Data Preview with Search Field filter
2024 Aug 26 12:21 PM
Hi, Please find the screenshot for Task 3
2024 Aug 26 1:43 PM
Preview
Filter on Description only
Description filter + Status filter
2024 Aug 27 12:44 PM
Hi @babu4abap ,
Thanks for the submission. For better readability use Status text to be displayed.
2024 Aug 26 3:52 PM
After many iterations!! Here is my Solution for the Task3.
1. Data Preview with all the columns.
2. search with "Description" and "status" field with filter.
Thank you.
2024 Aug 26 3:58 PM - edited 2024 Aug 26 3:58 PM
Validation 1:
Validation 2:
2024 Aug 26 4:23 PM
Hi
here is task 3 challenge
After search and filter