Skip to Content
0
Feb 09, 2019 at 08:09 AM

Fiori Element BOPF Custom Action send a parameter

1212 Views

Hello Folks,

Following the great documentation, I created a CDS I Vew with a BOPF object which was working fine. I added a Custom Action in ABAP to change a status (SET_RENOUVELLEMENT) in my Table using BOBX which is also working fine. I created a CDS C view with my annotation

{type:#FOR_ACTION,position:1,dataAction:'BOPF:SET_RENOUVELLEMENT'

Which is also working fine. I can select many rows and click in the header button to change all the statuses in my ABAP table. I can even see it through my global breakpoint.

My question now is that I have many Statuses and instead of adding a button for each status in the header, I would like to open a Dropbow or popup in Fiori to put a dynamic value that I can retrieve in my ABAP BOPF action.

How can I do that ?

Thanks a lot for any help,

Luc