Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Task 4 - Implement Criticality feature and create an Object page

Shilpa_Shankar
Developer Advocate
Developer Advocate
11,882

This is the last task of the August Developer Challenge on ABAP Core Data Services. The responses we have seen so far is excellent and appreciate each one of you in taking time to complete the challenge. We have seen some good conversations about the task and to make it more interesting let’s add some colors to the Fiori app.

In Task 4, we will explore Criticality feature and display the data record in an Object Page.

In Task 3, you have used the annotations @Consumption.valueHelpDefinition:[..] and @ObjectModel.text.element:[..] to display the Text value for the Status key. A simple way to visualize the different Status is by adding an icon and semantic colors to the Status field. This can be achieved by Criticality feature. Since we already have the Status key (O,A,X) you need to map these values to the Criticality values. This table provides the Criticality values and its color visualization :

Criticality.pngTask 4:

  1. Add the Criticality to the Status field to display the icon and color of the value should change according to the above table.

    Hint: ‘A’ --> Positive

             ‘O’ --> Critical

             ‘X’ --> Negative

    Hint: Use @ui.lineItem.criticality
  2. Create a Metadata extension file and add the required annotations to display the selected record in the Object page. The following fields should be available in the object page:
  1. Travel Id
  2. Description
  3. New field created in Task 2 – concat of Total_Price and Currency_Code
  4. Status field created in Task 3 along with Criticality representation

Reference link: https://learning.sap.com/learning-journeys/develop-sapui5-applications/using-basic-annotations-for-o...

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 :-

Please share screenshots after performing the following :

  1. Object page displaying the details of the selected record including Criticality representation of the Status field

 

 

116 REPLIES 116

OanaVladescu
Explorer
7,089

Hello,

Here is my solution for Task 4 🎉:

  1. Object page displaying the details of the selected record including Criticality representation of the Status fieldOanaVladescu_4-1724846169716.png

Thank you! 😊

 

abaprules
Explorer

d_orozco
Discoverer

Mohammed_Nabeel
Explorer
0 Kudos
6,966

Task 4 - Object page with selected record including criticality representation for status field.

Mohammed_Nabeel_0-1724855686889.png

 

0 Kudos
5,408

Hi,

Thanks for the submission. For better readability kindly display the text along with criticality

azaharescu
Explorer
6,949

Preview of the Object Page: 

azaharescu_1-1724856428339.png

 

Great exercise, thanks for organizing it ^^

dhowardb
Explorer

halfknight
Explorer
6,863

Hello, please see my object page below:

halfknight_0-1724864291036.png

 

Prass
Explorer

jochenlittleq
Explorer
6,771

Hello 🙂
Here is my screenshot for this weeks task:

jochenlittleq_0-1724871037863.png

 

geek
Participant
6,698

These have been some really valuable challenges:

geek_0-1724875231871.png

geek_1-1724875276078.png

Thank you.

Sandra_Solis
Participant
6,693

Done!! 🥳🥳🥳

Sandra_Solis_1-1724875726948.png

Sandra_Solis_2-1724875824118.png

I also Added it to main page 🥰🥰 so beautiful!! 

Sandra_Solis_0-1724875692972.png

 

tim_matsypura
Product and Topic Expert
Product and Topic Expert

AVG
Participant

ganeshprasadj34
Explorer
6,239

Object page displaying the details of the selected record including Criticality representation of the Status field

 ganeshprasadj34_1-1724909281301.png

 

 

 

Saikumar_Vendoti
Discoverer
6,195

Hi,

Here is my screenshot for this weeks task: 

Saikumar_Vendoti_0-1724910789690.png

 

siva1990
Explorer
6,086

Hello Team,

Please find screen shot below,

siva1990_0-1724916404280.png

Thanks Ms.shilpa and Ms.sheena , your techbytes was very useful and this developer challenge was a good learning experience . 

Aslam2
Explorer
6,072

Hi, 

Please find the below output Screenshot.

Aslam2_0-1724917007781.png

 

Thanks.

aaruljothi
Participant
6,071

Hello,

Thank you for the Week 4 Exercise. Here is my solution - Object Page with Travel details

aaruljothi_6-1724917434588.png

aaruljothi_8-1724917496006.png

 

-

Thanks & Regards,

Aruljothi Arumugam

ojeswinisanaka
Explorer
6,014

Hi @Shilpa_Shankar 

Here is the preview of the object page

ojeswinisanaka_0-1724920002852.png

Thanks for the weekly challenge, It was great to learn from this.

rajesh_munusamy
Explorer
0 Kudos
5,996

 

Done!!

rajesh_munusamy_0-1724921637630.png

 

for identification view,

rajesh_munusamy_0-1724927171112.png

 

 

0 Kudos
5,836

hi,

  Thanks for the submission. Could you please display the Status text instead of code for better readability?

4,946

Hi Sheena,

PFB, Updated!!

 

rajesh_munusamy_4-1724995129121.png

Thanks,

Rajesh

 

 

 

 

 

mwn
Participant

SachinArtani
Active Participant

BH2408
Active Contributor
5,845

Hi Team, 

Here is the Task 4. 

 

BH2408_0-1724928050817.png

BR, 

Bharani

EzgiKarabay
Explorer

SushmitaG
Product and Topic Expert
Product and Topic Expert
5,738

Please find below my submission of week 4

Screenshot 2024-08-29 at 5.26.20 PM.png