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 21 2:24 PM - edited 2024 Aug 21 3:30 PM
The wizard did most of the work, as all good wizards should!
I removed some of the generated filters, and added the search for description, and here's the result:
2024 Aug 21 3:19 PM
Hi @mwn
Thanks for the response. Could you please search without a (*), may be with a specific value?
2024 Aug 21 3:35 PM
Whoops, I forgot the fuzziness annotation!
The latest screen shot should have fixed that.
2024 Aug 22 5:37 AM
Thanks...please also show the value of 'Status' field search in screenshot
2024 Aug 22 11:37 AM
Despite following the YouTube video I still can't get a useful value help! It either has just "contains" or a list which doesn't get returned to the filter field.
2024 Sep 04 12:59 PM
Hi,
My Solution:
Thanks,
Nandhini Thanikachalam.
2024 Aug 21 3:24 PM
Hi Team,
Greetings!!!!
Here is the screen shot for today's challenge.
1. Create the MDE for all annotations
2. Added the Search and Fuzzy Search value in MDE for Description
Please review.
Thanks and Regards,
Bharani
2024 Aug 21 5:28 PM
2024 Aug 21 5:36 PM
2024 Aug 21 5:35 PM
My solution:
2024 Aug 22 5:46 AM
hi,
Thanks for the response. Please provide a screenshot after adding a value help for Status field and also by searching without a '*' .
2024 Aug 28 9:55 AM
I added also the status value help.
2024 Aug 21 6:14 PM
Done!
2024 Aug 21 7:05 PM - edited 2024 Aug 24 7:12 AM
2024 Aug 22 5:52 AM
hi,
Thanks for the response. Please provide a screenshot after adding a value help for Status field and also by searching without a '*' .
2024 Aug 23 5:04 PM - edited 2024 Aug 24 7:11 AM
2024 Aug 21 7:42 PM
Hi Team,
Let's go!!
2. Search records based on a specific value from 'Description' field, and apply a filter on 'Status'.
Thanks & regards,
Pankaj Gupta
2024 Aug 22 6:08 AM
hi,
Thanks for the response. Please search without a '*' .
2024 Aug 21 8:57 PM
Hello,
My solution to task 3:
1. General preview
2. Preview based on the search field
3. Preview from filtering 'StatusText' field based on OverallStatus text.
Thank you!😊
2024 Aug 21 9:19 PM
Out of curiosity, what fuzziness value are people using?
2024 Aug 22 2:58 AM
My Solution:
2024 Aug 23 8:31 AM
Hi @AVG ,
Thanks for the submission. For better readability you can filter out on the Status Text instead of the Status Code.
Regards,
Shilpa
2024 Aug 24 1:12 AM
2024 Aug 22 3:47 AM
2024 Aug 22 9:40 AM - edited 2024 Aug 22 9:41 AM
Here's mine -
2024 Aug 22 10:31 AM
Preview of the App showing all the columns, search and filter options in the CDS view entity:
Search records based on a specific value (busniess) from 'Description' field and select an available value (Accepted) from the 'Status' field.
2024 Aug 22 11:01 AM
Done!!
1. General Preview
2.Dispaly data based on filter
2024 Aug 23 4:13 AM
with out *
2024 Aug 26 3:34 PM
Hii,
Thanks for the submission. For better readability you can filter out on the Status Text instead of the Status Code.
2024 Aug 22 11:26 AM
My solution:
2024 Aug 26 3:35 PM
Hi,
Thanks for the submission. Please search without a '*'.
2024 Aug 22 11:28 AM
2024 Aug 23 8:26 AM
Hi Gaurav,
Thanks for the submission. Could you add search field and enable Description to be searched.
2024 Aug 30 10:49 AM
2024 Aug 22 12:07 PM
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 apply a filter on 'Status'.
2024 Aug 22 12:22 PM
Hi,
All Fields are displayed in Fiori App with " Search field" "Description" "Travel id" and "Overall status Text" fields.
Value help for Overall status field.
Kindly review and let me know if any modifications are required.
Thanks.
2024 Aug 22 12:54 PM
Task 3:
1. Generell Preview
2. Display Data based on filter
2024 Aug 22 1:19 PM
Preview of the App showing all the columns, search and filter options and value help in the CDS view entity:
Regards,
Chandana.
2024 Aug 23 8:23 AM
Hi @Chandana_Pamarthi ,
Thanks for the submission. For better readability you can filter out on the Status Text instead of the Status Code.
Regards,
Shilpa