Show TOC Start of Content Area

Background documentation Structure Tab Page  Locate the document in its SAP Library structure

Use

You use the Structure tab page to view the structure of a business object. You may also change the following properties of an attribute:

·        Custom Key – when this property is on, the attribute is a part of the custom key of the business object node. This property is not available for the default attributes (createdBy, createdAt, modifiedAt, modifiedBy), subattributes of complex attributes, and attributes, which are of unlimited length (CLOB, BLOB).

·        Optional CREATE Attribute – this property is available only for optional attributes (with cardinality 0..1). When this property is on, the attribute is a part of the create operation (by default, only the mandatory attributes can be set using the create operation).

You use these data types to generate tables, define table relations, and implement basic methods for reading, writing, updating, deleting, and querying data.

Structure

The Structure tab page can be divided into the following views:

·        Existing Types

·        Structure Fields

·        Properties

Existing Types

The Existing Types view lists structures and simple types available in CAF  and also the ones you have created in your application.

More information: Predefined Services and Data Types.

Structure Fields

The attributes of the edited structure are listed in the Structure Fields view.

Property

Value

Comment

Type

Describes the data type of the business object attribute.

Can be replaced with another data type from the Existing Types tree.

Cardinality

Specifies how many times the attribute can appear in a structure value.

Default value is 0..1. You can also choose:

      0..n

      1..1

      1..n.

You may not use multiple attribute in structures that are used for business object nodes.

Language

false or true

If this property is set to true then the attribute has one value per language. Default is false.

Name

Name of the attribute

Default is the name of the corresponding attributes. You can rename it.

 

End of Content Area