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

RAP: Modify column values in Object page items table via custom action

Mepspa
Explorer
0 Likes
881

Hello,

I need to mass modify column values on Object Page table items with values inserted from a  Dialog:

Filo_0-1750857224394.png

Filo_1-1750857394029.png

After pushing the Apply button, the new date will be updated in the items tables for the selected rows.

What I did:

- to insert the button at the toolbar level, I used BAS Page Map. Manifest.json has been modified accordingly:

Filo_3-1750857734698.png

In the controller generated, I implemented the logic to open the dialog:

Filo_4-1750857812515.png

the problems arise in the logic to handle the OK button. I need to get the selected rows and to pass them to the RAP custom action logic:

Filo_5-1750857898744.png

How can I get the currently selected Items in the Object Page table and how to pass these as parameters to the RAP object ?

 

Many thanks

Filippo

 

 

 

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Mepspa
Explorer

I think the way is going through side effects. I found an example here  but it's on CAP not RAP. So we need to translate the Service cds document into behavior definition.