Data binding is possible within Web Dynpro when using data types that can be used in the context definition. The following basic data types can be used:
|
|
In addition, business data types (BDT) that are defined in the Java Dictionary can be used in the context definition and for data binding.
All business data types can be derived from the basic types already mentioned.
In SAP NetWeaver Developer Studio, you can define a simple business data type and use it as a data type for a context attribute.
Since UI elements in Web Dynpro should be reusable, business data types cannot be used as data types for UI element properties or UI element parameters. However, a general metadata type interface in Web Dynpro allows the dynamic creation of metadata at runtime. The data type interface provides a method for data types that can be edited, and this method checks whether or not a string display of the data type in a business data type can be converted according to the conversion rules and validation rules. See also Dynamic Metadata.