Protected Attributes (ttadv7104m000)

Use this session to define the protected attributes of a business object or business object component.

Protected attributes store the properties of a business object in an internal format.

Protected attributes are used for these purposes:

  • As arguments in protected methods.
  • To map public attributes.

Field Information

Sequence Number

The sequence number of the record.

Attribute

The name of the attribute.

These rules apply to the attribute name:

  • The name must be unique within the business object or within the business object component.
  • The name must refer to business concepts and/or the functionality of the business object. Do not use a name that refers to a technical solution.
  • Use LN terminology, such as Item, Business Partners, and so on.
  • The name must be meaningful.
  • Only alphanumeric characters ([A-Z], [a-z], [0-9]) are allowed.
  • If the name consists of several words, start each word with a capital, except for the first word.
  • Spaces are not allowed.

Example: soldToBusinessPartner.

Domain

The domain of the attribute.

Domains are defined in the Domains (ttadv4500m000) session.

Data Type

The Data Type of the attribute's domain, such as String, Long or Double.

Map Operator

The map operator for the attribute.

Allowed values

Table Field

This option is only available if the business object/component is DAL2/table based. The protected attribute is linked directly to a table field.

Calculate

A protected attribute can receive a calculated value. If the business object has no components, the calculation is always based on the protected attributes of the same business object. If the business object has components, the calculation is always based on the protected attributes of the same component. You must always specify a domain for this type.

Not Applicable

This value indicates that the protected attribute is not mapped to a table/form field and not calculated. This map operator is used for values that represent properties of an object or component that are not stored in a table field. You must always specify a domain for this type.

Table Field on Form

This option is only available if the component is Function Server/session-based. The protected attribute is mapped to a table field present on the linked session/synchronized dialog.

Form Field

This option is only available if the component is Function Server/session-based. The protected attribute is mapped to a form field (non-table field) on the linked session/synchronized dialog.

Question

This option is only available if the component is Function Server/session-based. The protected attribute is mapped to a question that can be raised by the session. The value of the protected attribute is the answer on the question.

Mapping

Dependent on the map operator in the previous field, specify the table/form field, the question, or the protected attributes to which the attribute is mapped.

Note: You can only select fields of tables and forms that are linked to the business object or component.
Note: To zoom directly to the fields of a particular table, first specify the table code, and then zoom to the Table Fields (ttadv4529m000) session.
Mapping Element

The element number that indicates which element in repeating field (an array field) must be used. If the number is zero, the field is not repeating.

For more information, see the Help on these fields: Repeating Field and No. of elements. These fields occur in the Table Fields (ttadv4122s000) session, which is available through the details of the Table Definitions (ttadv4520m000) session.

Default domain

If you selected Table Field in the Map Operator field, the default domain is that of the selected table field. If you selected Calculate or Not Applicable , this field is empty, and you must specify a domain manually.

Override default domain

If this check box is selected, you must manually specify a domain for the attribute. You must enter this domain in the next fields.

Note: If you selected Table Field in the Map Operator field, the default domain is that of the selected table field. If you selected Calculate or Not Applicable , you must always specify a domain manually.
Domain

The package code of the domain that will be used instead of the default domain.

Domain

The identification code of the domain that will be used instead of the default domain.

Data Type

The Data Type of the attribute's domain, such as String, Long or Double.

Use as XML Element

If this check box is selected, the content of this attribute is read and interpreted as XML content. As a result, if you clear this check box, the content is not interpreted as XML content. With this option you can communicate XML content while preventing that it is automatically processed.

This check box is only available if the Data Type of the domain of the attribute is long.

Read-only

If this check box is selected, the value of the attribute is calculated. Therefore, this value cannot be changed directly.

Identifier

If this check box is selected, the attribute is part of the identification of the business object or component.

Mandatory

If this check box is selected, the attribute must always have a value.

View Field

This field is only available if the map operator is Table Field on Form, or Form Field. Select this check box if the attribute is mapped to a form field that is part of the view area of the session used by the Function Server. The Function Server fills this field before any other field.

Target Session

This field is only available if the map operator is Table Field on Form, or Form Field. Select whether the Function Server must use the main session, or the synchronized dialog box, that is specified in the Business Object Components (ttadv7117s000) session.

Data Type as XML Schema

This is a text field to store a non- LN specific description, in XML Schema format, of the domain, to make the internal interface more generic. This description can be used for data type checks.