cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Missing selection box column on UI Table ABAP RAP

yoppie_aries
Participant
0 Likes
1,535

Hi All,

Currently i just start to learn RAP.

I face an issue where the UI table did not show as selection. My CDS are Travel and Booking.

yoppie_aries_0-1751940455832.png

 

this is my metadata extension for Travel entity :

yoppie_aries_1-1751940455834.png

 

Not sure what mistake i made here while follow the sample.. 

Apprectiate if someone here can give feedback and help me go through while learning RAP.

Thanks.

 

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

tejasChouhan
Active Contributor
0 Likes

I think if you are looking to enable multi select option in your List report. You have to first adapt and create UI out of it using BAS. In your BAS after you create project using Fiori element List report template , go to your manifest.json and add below property.

{
"pages": {
"ListReport": {
"entitySet": "YourEntitySet",
"multi-select": true
}
}
}

yoppie_aries
Participant
0 Likes
I created this app not in BAS, basically it's not deployed yet. it is RAP application using eclipse.
tejasChouhan
Active Contributor

Totally depends on your requirement then. Using RAP if you want to enable selection of line item, there must be some action you want to perform after selecting the row. If you just want to navigate to object page(detail), clicking on row item should be ok which lets you go to object page. Object page can be enabled using association in your CDS.

if you have an action to be performed via row select, multi select, you must enable action using annotation @ui.DataFieldForAction under @ui.LineItem. Adding this annotation will enable row selection box in front of each rows.

-BR

Tejas

yoppie_aries
Participant
0 Likes
Hi All,
yoppie_aries
Participant
0 Likes
Hi All, I managed to find the answer but i am not sure how to explain.