Skip to Content
1
Feb 07, 2022 at 02:31 PM

RAP Framework - Is Feature control on the CREATE(SAVE) button possible?

319 Views

This is for RAP (unmanaged) with custom CDS views populated from an implementation Class.

As part of validation, I would like to be able to disable the CREATE button based on a set of criteria (e.g. Mandatory fields not input)

The entity I want to control is the SalesOrderItems association of SalesOrders.

I've looked into Dynamic Feature Control:Operations by association in the Behaviour Definition, but that seems to control the CREATE action rather than the CREATE/SAVE button

So it controls the CREATE action..

create-1.png

Rather than what I want to control, which is the CREATE button here:

create-2.png

Is it possible to disable the Create button as shown above using Feature Control in RAP?

Attachments

create-1.png (22.7 kB)
create-2.png (30.8 kB)