Modeling Business Object
Attributes
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.
You work in the Service Composer perspective of the SAP NetWeaver Developer Studio.
Navigate to the BON whose attributes you want to manage.
...
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.
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.

By default the length of a String in CAF is 30 symbols. You can change this value in the Properties view.

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
.

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.