Defining Static Properties

Static properties determines if attributes of a node instance are modifiable.

Prerequisites

You have defined attributes of a node instance.

Context

You define static properties at design time. You can set a static property as final or not final. Dynamic properties at run time can override static properties that are not marked as final.

The table below displays static properties and their descriptions:

Static Property Description
Enabled This property ensures that a node attribute can be used everywhere. By default, this property is set to true for all node attributes.
Enabled Final This property ensures that a system cannot override the property at runtime.
ReadOnly This property ensures that a node attribute is read-only.
ReadOnly Final This property ensures that a system cannot override the property at runtime..
Mandatory This property ensures that a node attribute must have a value.
Mandatory Final This property ensures that a system cannot override the property at runtime.

Procedure

  1. In the Project Explorer view, choose a business object.
  2. In the context menu, choose Open.

    The Overview page appears.

  3. Choose the Nodes page.
  4. Select a node.
  5. In the Name column, press Ctrl + click to open the node Overview page.
  6. Choose the Properties page to view the list of properties available for a node.
  7. Set the properties.
  8. Save the changes.
  9. To check for correctness of business object, choose (Check ABAP Development Object) from the toolbar.
  10. To activate the business object, choose Edit > Activate ABAP Development Object.

    TIP

    You can also use (Activate ABAP Development Object) in the toolbar.