2024 Aug 14 8:48 AM - last edited on 2024 Aug 23 5:14 PM by thomas_jung
Thanks for the enormous response and showing great enthusiasm in Task 1. Let’s continue the ABAP Developer Challenge by enhancing the CDS view entity.
Task 2 - In this task, we will explore some basic SQL function, CDS Associations and use it to enhance the CDS View entity that is created in Task 1.
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.
Here you go:
Note: For those who do not have data in the status text table, try running the data generator class /dmo/cl_flight_data_generator. This should load that table with initial data.
Validation: Share a screenshot of the following items as a reply to this thread to gain credits:
Note: Do not post the screenshot of the CDS view entity. Just Data preview is sufficient.
Enjoy until we are back with the next task!
2024 Aug 14 11:24 PM
Here is my CDS output:
Thanks.
2024 Aug 14 11:36 PM
2024 Aug 15 12:09 AM
done
2024 Aug 15 2:09 AM
Task 2:
2024 Aug 15 2:42 AM
2024 Aug 15 4:15 AM
Hi
2024 Aug 15 6:23 AM - edited 2024 Aug 15 6:25 AM
Hello all,
2024 Aug 15 8:14 AM
Vanakam, Developer Advocates!
Here is the preview of the Task-2.
Warm Regards
styles
"Programming is not about what we know, it is about what we can solve!"
2024 Aug 15 8:41 AM
Done.
CDS View:
2024 Aug 15 9:03 AM
Hello,
My submission for task 2.
2024 Aug 15 9:32 AM
👍
2024 Aug 15 10:26 AM
Team,
I do not have the data for /DMO/I_Overall_Status_VH in my OP 2023 System So I have created the data using the Utility class which we built in task1. Here's the code. I'm not fan of INSERT statement so used the Modify statement to avoid runtime errors of key duplicacy. So even in my task-1 also I used the Modify statement though we can use INSERT.
Task 2:
Thank you.
2024 Aug 15 10:53 AM
2024 Aug 15 10:56 AM
TASK 2. Here we GOOO!!!
2024 Aug 15 12:43 PM
👍💪
CDS View:
2024 Aug 15 1:33 PM - edited 2024 Aug 15 1:34 PM
Here's my solution:
2024 Aug 15 2:24 PM
2024 Aug 15 2:59 PM
CDS entity data preview
2024 Aug 15 5:02 PM
Hi All,
CDS Output :
Kind Regards,
Guru
2024 Aug 15 3:43 PM
Kindly find below the screenshot of Data Preview of the CDS View Entity.
Thanks.
2024 Aug 15 5:17 PM
Answer:
Thank you 🙂
2024 Aug 15 5:23 PM
2024 Aug 15 6:18 PM
Hello,
Datapreview
2024 Aug 15 6:47 PM
Soution to Task2 :CDS view with concatenated pric and currency fields and overall status text
2024 Aug 15 7:01 PM
Data Preview of Associated and Concatenated values.
2024 Aug 15 7:06 PM - edited 2024 Aug 15 7:09 PM
Hello abapers!
Here is my solution for Task 2:
Have a great day!
Jorman
2024 Aug 15 8:09 PM
T@sk 2 😎
2024 Aug 15 8:52 PM
Hello All.
My solution is:
2024 Aug 16 12:35 AM
Hello Team,
Here is the Validation
1) Price with Currency
2) Overall Status Text
2024 Aug 16 7:43 AM
Task - 2
2024 Aug 16 8:58 AM
Hi, I have completed the week-2 challenge. Please check the attached screenshot.
Regards,
Manoj Kumar Potharaju.
2024 Aug 16 8:59 AM
Hi, I have completed the week 2 challenge please check the attached screen shot.
1. Concatenate the total price and currency code.
2. Overall Status Description.
Thanks & Regards,
Rahul.
2024 Aug 16 9:12 AM
2024 Aug 16 9:40 AM
Hello,
here is my submission:
2024 Aug 16 9:45 AM
2024 Aug 16 10:48 AM
Hi,
Completed the task 2 with concatenated value of Total_Price and Currency_Code and Overall Status Text.
2024 Aug 16 11:12 AM
Task2:
2024 Aug 16 11:42 AM
Hi,
please find data preview for my Week 2 CDS view (new columns: PriceWithCurrency, StatusText)
2024 Aug 16 12:41 PM
Hi @Shilpa_Shankar ,
Please find below screenshot
Data Preview of the CDS View Entity which contains,
2024 Aug 16 1:22 PM
Hello !