SAP ABAP Class /IWFND/CL_MED_SDATA_EDM_UTIL (Meta Data Adapter - EDM Data Type Utility)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-FND-CS (Application Component) IWF Common Services
⤷
/IWFND/MED_SVC_DEV_LANGU (Package) GW Framework - Metadata - Service Def. - Dev User Translatio

⤷

⤷

Properties
Class | /IWFND/CL_MED_SDATA_EDM_UTIL | |
Short Description | Meta Data Adapter - EDM Data Type Utility | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /IWFND/MED_SVC_DEV_LANGU | GW Framework - Metadata - Service Def. - Dev User Translatio |
Created | 20101025 | SAP |
Last change | 20131127 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class /IWFND/CL_MED_SDATA_EDM_UTIL has no forward declaration.
Interfaces
Class /IWFND/CL_MED_SDATA_EDM_UTIL has no interface implemented.
Friends
Class /IWFND/CL_MED_SDATA_EDM_UTIL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | See coding | 20101025 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Get ABAP data type description from EDM data type | 20101209 |
2 | ![]() |
Static method | Public | Method | Get EDM data type description from DDIC data type | 20101025 |
3 | ![]() |
Static method | Public | Method | Get longer form from internal type | 20101209 |
Events
Class /IWFND/CL_MED_SDATA_EDM_UTIL has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_GS_ABAP_FIELD_DESC | Public | See coding | ABAP Internal Type Description | 20101025 | begin of ty_gs_abap_field_desc,
type type inttype, "Internal data type (internal ABAP type)
length type intlen, "The unit of length depends on the data type because the length is used for TYPE include generation
" a) The unit of lenght is "Characters" for character types
" b) The unit of lenght is "Byte" for byte-like types
" Character types are: c, n, d, t, string
" Byte-like types are: x, b, s, i, p, f, decfloat
decimals type decimals, "Number of Decimal Places
end of ty_gs_abap_field_desc
|
|
2 | TY_GS_EDM_FIELD_DESC | Public | See coding | Edm data type Description | 20101025 | begin of ty_gs_edm_field_desc,
core_type type /iwfnd/med_mdl_core_types, "EDM Data Type
length type /iwfnd/med_mdl_length, "Length (No. of Characters)
decimals type /iwfnd/med_mdl_decimals, "Number of Decimal Places
input_mask type /iwfnd/med_mdl_input_mask, " Input Mask e.g. for a String - only required for ABAP to EDM type
internal_type type inttype,
internal_length type /iwfnd/med_mdl_internal_length, " internal lenght (DDIC) in bytes
end of ty_gs_edm_field_desc
|
Method Signatures
Method GET_ABAP_TYPE_FROM_EDM_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_EDM_TYPE | Call by reference | Type reference (TYPE) | TY_GS_EDM_FIELD_DESC | EDM Data Type Description | 20101209 | ||
2 | ![]() |
RS_ABAP_TYPE | Value transfer | Type reference (TYPE) | TY_GS_ABAP_FIELD_DESC | ABAP Datal Type Description | 20101209 |
Method GET_ABAP_TYPE_FROM_EDM_TYPE on class /IWFND/CL_MED_SDATA_EDM_UTIL has no exception.
Method GET_EDM_TYPE_FROM_DDIC_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_ELEMENT_DESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Type Ref To | 20101025 | ||
2 | ![]() |
RS_EDM_TYPE | Value transfer | Type reference (TYPE) | TY_GS_EDM_FIELD_DESC | 20101025 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for meta data access | 20101025 |
Method GET_LONGER_FORM_FROM_INT_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_INT_TYPE | Call by reference | Type reference (TYPE) | INTTYPE | ABAP data type (C,D,N,...) | 20101209 | ||
2 | ![]() |
RV_LONGER_FORM | Value transfer | Type reference (TYPE) | STRING | The long form of the internal type | 20101209 |
Method GET_LONGER_FORM_FROM_INT_TYPE on class /IWFND/CL_MED_SDATA_EDM_UTIL has no exception.
History
Last changed by/on | SAP | 20131127 |
SAP Release Created in | 200 |