The following table shows how the metadata base class /IWBEP/CL_MGW_ABS_MODEL maps ABAP Dictionary types in case of structure binding to the EDM.Types.
For the coding see /IWBEP/CL_MGW_MED_EDM_UTIL->GET_EDM_TYPE_FROM_DDIC_TYPE.
Edm. Type |
Description |
ABAP Type Kind |
Description |
Comment |
---|---|---|---|---|
Edm.Binary |
Contains binary data. |
TYPEKIND_HEX |
Internal type X |
|
Edm.Binary |
Contains binary data. |
TYPEKIND_XSTRING |
Internal type Y (byte string) |
|
Edm.Boolean |
Contains the value true or false. |
TYPEKIND_CHAR |
Internal type C |
If the number of characters is 1 and the name contains the substring BOOL |
Edm.Byte |
Contains an unsigned 8-bit integer value. |
TYPEKIND_INT1 |
Internal type b (1 byte integer) |
|
Edm.DateTime |
Represents a date and time. |
TYPEKIND_DATE |
Internal type D |
|
Edm.DateTime |
Represents a date and time. |
TYPEKIND_PACKED |
P(8) if domain is TZNTSTMPS, P(11) if domain is TZNTSTMPL. |
Edm.DateTime is set automatically if ABAP Dictionary domain is TZNTSTMPS or TZNTSTMPL |
Edm.DateTimeOffset |
Contains a date and time as an offset in minutes from GMT. |
TYPEKIND_PACKED |
Internal type P(8) or P(11) like for Edm.DateTime |
Edm type of the property must be set explicitly in the metadata provider class. |
Edm.Decimal |
Contains a numeric value with fixed precision and scale. |
TYPEKIND_PACKED |
Internal type P |
If the packed contains decimals |
Edm.Decimal |
Contains a numeric value with fixed precision and scale. |
TYPEKIND_DECFLOAT |
Only available in SAP NetWeaver 7.02, not SAP NetWeaver 7.00 |
|
Edm.Decimal |
Contains a numeric value with fixed precision and scale. |
TYPEKIND_DECFLOAT16 |
Only available in SAP NetWeaver 7.02, not SAP NetWeaver 7.00 |
|
Edm.Decimal |
Contains a numeric value with fixed precision and scale. |
TYPEKIND_DECFLOAT34 |
Only available in SAP NetWeaver 7.02, not SAP NetWeaver 7.00 |
|
Edm.Double |
Contains a floating point number with 15 digit precision. |
TYPEKIND_FLOAT |
Internal type F |
|
Edm.Float |
Contains a floating point number with seven digit precision. |
|||
Edm.Single |
Contains a floating point number with seven digit precision. |
|||
Edm.Guid |
Contains a 16-byte unique identifier. |
Edm type of the property must be set explicitly in the metadata provider class to overrule the default value. Use CHAR32 or RAW16 in structure to support Edm.Guid and manually set the Edm type to Edm.Guid. |
||
Edm.Int16 |
Contains a signed 16-bit integer value. |
TYPEKIND_INT2 |
Internal type S(2 byte integer) |
|
Edm.Int32 |
Contains a signed 32-bit integer value. |
TYPEKIND_INT |
Internal type I |
|
Edm.Int64 |
Contains a signed 64-bit integer value. |
TYPEKIND_PACKED |
Internal type P |
If the packed contains no decimals |
Edm.SByte |
Contains a signed 8-bit integer value. |
|||
Edm.String |
Contains character data. |
TYPEKIND_CHAR |
Internal type C |
Number of characters is matched against the length. Unicode doubles the internal length. |
Edm.String |
Contains character data. |
TYPEKIND_STRING |
Internal type G(character string) |
|
Edm.String |
Contains character data. |
TYPEKIND_NUM |
Internal type N |
Input mask allowing only characters 0 - 9 is added |
Edm.Time |
Contains a time of day. |
TYPEKIND_TIME |
Internal type T |
|
TYPEKIND_W |
Internal type W(wide character) |
For future evaluation |
||
TYPEKIND_CLIKE |
Internal type (data object) |
For future evaluation (proposal: Edm.String) |
||
TYPEKIND_CSEQUENCE |
Internal type (data object) |
For future evaluation (proposal: Edm.String) |
||
TYPEKIND_XSEQUENCE |
Internal type (data object) |
For future evaluation (proposal: Edm.String) |
||
TYPEKIND_NUMERIC |
Internal type (data object) |
For future evaluation (proposal: Edm.String) |