cancel
Showing results for 
Search instead for 
Did you mean: 

SAP RAP: Implementing Dynamic Action Control Using Instance Feature Control

08-03-2026 6:44 PM
17 views 0 comments
0 Likes
SAP Managed Tags
Subscribe

When developing Fiori applications using the SAP RESTful Application Programming Model (RAP), business actions often need to be enabled or disabled dynamically depending on the current state of a business object.

For example, an application may have actions such as:

  • Approve
  • Reject
  • Reschedule
  • Cancel
  • Submit

However, these actions should not always be available to the user.

Implementing Feature Control

In the behavior definition, the action can be declared with instance feature control:

action ( features : instance ) Approve result [1] $self;
action ( features : instance ) Reject result [1] $self;

The advantage is that the action availability is determined based on the actual business object instance.



0 Likes

Accepted Solutions (0)

Answers (0)