Show TOC

Modeling Business Object AttributesLocate this document in the navigation structure

Use

You can model and edit attributes for a business object node (BON) on the Structure tab page. You can:

  • Create new attributes.
  • Edit attribute properties.
Prerequisites

You work in the Service Composer perspective of the SAP NetWeaver Developer Studio.

Procedure

Navigate to the BON whose attributes you want to manage.

Creating New Attributes

  1. Open the Structure tab page of the BON you want to create attributes for and choose Edit Main Structure.
  2. In the Existing Types tree, navigate to the type you want to use for attribute type and choose .
  3. Click the new attribute and enter an appropriate name.

    The first letter of the attribute name must be lowercase and it should not contain any special characters.

Editing Attribute Properties

  1. Double-click the attribute you want to edit.
  2. Click the property you want to edit and select a different value from the dropdown list (if available) or enter a new value or text.
    Note
    Note By default the length of a String in CAF is 30 symbols. You can change this value in the Properties view.
    Note

    Default attributes created with a business object cannot be changed.

  3. To change the type of the attribute, select a type from the Existing Types tree and one of the attributes you have created and choose .
    Note

    You can replace the type of a custom key attribute only if the selected type is proper for a custom key. Therefore, for some of the types in the Existing Types tree the button is disabled.

  4. To move your attributes up and down in the attributes list, choose or .
  5. Validate your application.

More Information

Structure Tab Page