This document describes creating properties for an entity type complying with OData V4.
You should have already created an OData V4 project and created an Entity or Complex Type.
Column |
Description |
---|---|
Name |
Enter a new name for the new property or modify the existing name as required |
Is Key |
Select to indicate that this is a key property in the data model |
Type Kind |
Specify whether the property is a Complex Type or Core Type |
Data Type |
Enter the data type that corresponds to the complex type or core type property. If it is a core type property, use the input help to select the appropriate Edm.type |
Precision |
EDM facet. Enter the number of decimal places permitted for numeric data types. The value defines the maximum number of decimal places permitted to the left and right of the decimal point |
Scale |
EDM facet. Enter the maximum number of decimal digits permitted after the decimal point |
Variable Scale |
Select Variable Scale if you are not certain about the scale value of corresponding property. Do not enter Scale value if you are selecting this option. |
MaxLength |
EDM facet. Enter the maximum length you want to allow at runtime. For example, enter 30 to specify a maximum length of 30 characters for this property. |
Nullable |
EDM facet. Select this checkbox if you want to allow a null value to be entered for this property at runtime |
ABAP Field Name |
It denotes the internal name of the property. If you have specified a structure binding for the parent entity or complex type, this denotes a component of this structure. |
ABAP Type Editor |
Use the ABAP Type Editor to specify how the ABAP type to EDM type mapping is to be determined (Structure Binding at Entity or Complex Type, Explicit Assignment, Determination by Runtime Object Generator) to be used for the ABAP field. |
DDIC Auto-Annotation |
Select DDIC Auto-Annotation if you want to display annotation based information for the property. Information is generated automatically in the output based on the underlying DDIC information. |