Application Development and Automation 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: 
Read only

Task 4 - Implement Criticality feature and create an Object page

Shilpa_Shankar
Developer Advocate
Developer Advocate
35,996

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
Read only

OanaVladescu
Explorer
21,149

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! 😊

 

Read only

abaprules
Explorer
Read only

d_orozco
Discoverer
Read only

Mohammed_Nabeel
Explorer
0 Likes
21,026

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

Mohammed_Nabeel_0-1724855686889.png

 

Read only

0 Likes
19,468

Hi,

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

Read only

azaharescu70
Explorer
21,009

Preview of the Object Page: 

azaharescu_1-1724856428339.png

 

Great exercise, thanks for organizing it ^^

Read only

BerkayZdmr21
Explorer
Read only

Read only

dhowardb68
Explorer
Read only

halbritter
Explorer
20,921

Hello, please see my object page below:

halfknight_0-1724864291036.png

 

Read only

Prass
Explorer
Read only

jochenlittleq20
Explorer
20,829

Hello 🙂
Here is my screenshot for this weeks task:

jochenlittleq_0-1724871037863.png

 

Read only

geek61
Participant
20,756

These have been some really valuable challenges:

geek_0-1724875231871.png

geek_1-1724875276078.png

Thank you.

Read only

Sandra_Solis
SAP Champion
SAP Champion
20,751

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

 

Read only

tim_matsypura
Product and Topic Expert
Product and Topic Expert
Read only

AVG
Participant
Read only

viveksingh
Discoverer
Read only

Read only

ganeshprasadj34
Explorer
20,297

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

 ganeshprasadj34_1-1724909281301.png

 

 

 

Read only

Saikumar_Vendoti
Discoverer
20,253

Hi,

Here is my screenshot for this weeks task: 

Saikumar_Vendoti_0-1724910789690.png

 

Read only

siva1990
Explorer
20,144

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 . 

Read only

Aslam2
Explorer
20,130

Hi, 

Please find the below output Screenshot.

Aslam2_0-1724917007781.png

 

Thanks.

Read only

aaruljothi
Participant
20,129

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

Read only

Ojeswini_Sanaka
Explorer
20,072

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.

Read only

rajesh_munusamy
Participant
0 Likes
20,054

 

Done!!

rajesh_munusamy_0-1724921637630.png

 

for identification view,

rajesh_munusamy_0-1724927171112.png

 

 

Read only

0 Likes
19,894

hi,

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

Read only

19,004

Hi Sheena,

PFB, Updated!!

 

rajesh_munusamy_4-1724995129121.png

Thanks,

Rajesh

 

 

 

 

 

Read only

mwn
Participant
Read only

SachinArtani
Active Participant
Read only

BH2408
Active Contributor
19,903

Hi Team, 

Here is the Task 4. 

 

BH2408_0-1724928050817.png

BR, 

Bharani

Read only

EzgiKarabay
Explorer
Read only

SushmitaG98
Participant
19,799

Please find below my submission of week 4

Screenshot 2024-08-29 at 5.26.20 PM.png