Show TOC

Actions in Object Page HeaderLocate this document in the navigation structure

If desired, you can enable actions within your object page header.

All data fields with com.sap.vocabularies.UI.v1.DataFieldForAction are interpreted as actions, and the system renders a button within the header displaying the text of the data field label.

Data fields for actions that you annotate with high importance are displayed to the left of the Edit/Delete buttons, and those without high importance are displayed to the right. In addition to importance, you must specify the action for the data field and implement the action handling in the OData service (DPC: execute_action), as shown below for the Copy button:

Figure 1: Object Page: Actions Defined for the EntitySet
Edit and Delete Buttons
The Edit and Delete buttons will display as shown above if the following conditions are met:
  • Edit button: UpdateRestrictions/Updatable/Bool is not set to false

  • Delete button: DeleteRestrictions/Deletable/Bool is not set to false