SAP ABAP Interface /IWBEP/IF_SBOD_EDM_CORE_DESC (SB - OData - EDM Core Type Descriptor)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-BSE-SB (Application Component) Gateway Service Builder
⤷
/IWBEP/SB_ODATA_DM (Package) Gateway Service Builder - Domain Model Plugin
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | /IWBEP/CL_SBOD_EDM_CORE_DESC | SB - OData - EDM Core Type Descriptor | 20130305 |
Properties
| Interface | /IWBEP/IF_SBOD_EDM_CORE_DESC | |
| Short Description | SB - OData - EDM Core Type Descriptor |
General Data
| Package | /IWBEP/SB_ODATA_DM | Gateway Service Builder - Domain Model Plugin |
| Created | 20130305 | SAP |
| Last changed | 20141120 | |
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | /IWBEP/IF_SBCM_MSG_OBJECT | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
| 2 | /IWBEP/IF_SBDM_VALIDATOR | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
| 3 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Interface /IWBEP/IF_SBOD_EDM_CORE_DESC has no interface.
Friends
Interface /IWBEP/IF_SBOD_EDM_CORE_DESC has no friend.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | GC_FACET_DEFAULT | Constant | Public | Type reference (TYPE) | TY_FACET | 2 | 20130305 | ||
| 2 | GC_FACET_FIXLENGTH | Constant | Public | Type reference (TYPE) | TY_FACET | 4 | 20130305 | ||
| 3 | GC_FACET_MAXLENGTH | Constant | Public | Type reference (TYPE) | TY_FACET | 3 | 20130305 | ||
| 4 | GC_FACET_NULLABLE | Constant | Public | Type reference (TYPE) | TY_FACET | 1 | 20130305 | ||
| 5 | GC_FACET_PRECISION | Constant | Public | Type reference (TYPE) | TY_FACET | 5 | 20130305 | ||
| 6 | GC_FACET_SCALE | Constant | Public | Type reference (TYPE) | TY_FACET | 6 | 20130305 | ||
| 7 | GC_FACET_UNICODE | Constant | Public | Type reference (TYPE) | TY_FACET | 7 | 20130305 | ||
| 8 | GC_FIELD_KIND_AMOUNT | Constant | Public | Type reference (TYPE) | /IWBEP/SBOD_ABAP_FIELD_KIND | '1' | field kind | 20131108 | |
| 9 | GC_FIELD_KIND_QUANTITY | Constant | Public | Type reference (TYPE) | /IWBEP/SBOD_ABAP_FIELD_KIND | '2' | field kind | 20131108 | |
| 10 | GC_FIELD_KIND_SIMPLE | Constant | Public | Type reference (TYPE) | /IWBEP/SBOD_ABAP_FIELD_KIND | SPACE | field kind | 20131108 | |
| 11 | MV_CORE_TYPE | Instance attribute | Public | Type reference (TYPE) | /IWBEP/SBOD_EDM_CORE_TYPE | core type name | 20130502 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | converts value: CSDL format to DYNP format | 20130311 | |
| 2 | Instance method | Public | Method | converts value: DYNP format to CSDL format | 20130311 | |
| 3 | Instance method | Public | Method | check and correct facet values | 20130408 | |
| 4 | Instance method | Public | Method | returns the maximum output length in DYNP format | 20130925 | |
| 5 | Instance method | Public | Method | indicates whether or not one ABAP type is applicable | 20130305 | |
| 6 | Instance method | Public | Method | indicates whether or not type can be used in given context | 20130925 | |
| 7 | Instance method | Public | Method | indicates whether or not one facet is applicable | 20130305 | |
| 8 | Instance method | Public | Method | propose applicable ABAP type | 20130305 | |
| 9 | Instance method | Public | Method | propose facet: Default (value) | 20130305 | |
| 10 | Instance method | Public | Method | propose facet: FixedLength (can the length vary?) | 20130305 | |
| 11 | Instance method | Public | Method | propose facet: MaxLength | 20130305 | |
| 12 | Instance method | Public | Method | propose facet: Nullable | 20130305 | |
| 13 | Instance method | Public | Method | propose facet: Precision | 20130305 | |
| 14 | Instance method | Public | Method | propose facet: Scale | 20130305 | |
| 15 | Instance method | Public | Method | propose facet: Unicode | 20130305 | |
| 16 | Instance method | Public | Method | propose facet values | 20130307 | |
| 17 | Instance method | Public | Method | validates facet values | 20130408 | |
| 18 | Instance method | Public | Method | validates facet values and ABAP type of a model element | 20130309 |
Events
Interface /IWBEP/IF_SBOD_EDM_CORE_DESC has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_FACET | Public | See coding | facet code value | 20130305 | ty_facet type N length 1
|
|
| 2 | TY_S_FACET_INFO | Public | See coding | 20131213 | BEGIN OF ty_s_facet_info ,
facet type ty_facet ,
messages type /iwbep/if_sbcm_msg_object=>ty_t_object ,
END OF ty_s_facet_info
|
||
| 3 | TY_S_FACET_VALUE | Public | See coding | facet value structure | 20130307 | BEGIN OF ty_s_facet_value ,
nullable type abap_bool ,
default type string ,
maxlength type i ,
fixlength type abap_bool ,
precision type i ,
scale type i ,
unicode type abap_bool ,
END OF ty_s_facet_value
|
|
| 4 | TY_T_FACET | Public | See coding | facet code value collection | 20130408 | ty_t_facet type sorted table of ty_facet with unique key table_line
|
|
| 5 | TY_T_FACET_INFO | Public | See coding | 20131213 | ty_t_facet_info type sorted table of ty_s_facet_info with unique key facet
|
Method Signatures
Method CONV_VALUE_CSDL_TO_DYNP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_FACET_VALUE | Call by reference | Type reference (TYPE) | TY_S_FACET_VALUE | facet values (initial = use maximal value range) | 20130311 | |||
| 2 | IV_CSDL_VALUE | Call by reference | Type reference (TYPE) | /IWBEP/SBOD_EXP_SIMPLE_VALUE | format: core service definition language | 20130311 | |||
| 3 | RV_DYNP_VALUE | Value transfer | Type reference (TYPE) | STRING | format: localized dynpro display | 20130311 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130311 |
Method CONV_VALUE_DYNP_TO_CSDL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_FACET_VALUE | Call by reference | Type reference (TYPE) | TY_S_FACET_VALUE | facet values (initial = use maximal value range) | 20130311 | |||
| 2 | IV_DYNP_VALUE | Call by reference | Type reference (TYPE) | STRING | format: localized dynpro display | 20130311 | |||
| 3 | RV_CSDL_VALUE | Value transfer | Type reference (TYPE) | /IWBEP/SBOD_EXP_SIMPLE_VALUE | format: core service definition language | 20130311 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130311 |
Method CORRECT_FACET_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_FACET_VALUE | Call by reference | Type reference (TYPE) | TY_S_FACET_VALUE | facet values | 20130408 | |||
| 2 | CT_MESSAGE | Call by reference | Type reference (TYPE) | /IWBEP/IF_SBCM_MSG_OBJECT=>TY_T_OBJECT | on error messages will be added to the given mesage table | 20130408 | |||
| 3 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_SBDM_NODE | model element, e.g. property or term (message context) | 20130408 | |||
| 4 | IV_FIELD_KIND | Call by reference | Type reference (TYPE) | /IWBEP/SBOD_ABAP_FIELD_KIND | GC_FIELD_KIND_SIMPLE | field kind (special semantic like quantity or currency) | 20131114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130408 |
Method GET_DYNP_OUTPUT_LENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_FACET_VALUE | Call by reference | Type reference (TYPE) | TY_S_FACET_VALUE | facet values (initial = use maximal value range) | 20130925 | |||
| 2 | RV_LENGTH | Value transfer | Type reference (TYPE) | DDOUTLENG | field output length | 20130925 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130925 |
Method IS_APPLICABLE_ABAP_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ABAP_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | Runtime Type Services | 20130307 | |||
| 2 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_SBDM_NODE | context as close as possible, e.g. property or project node | 20131203 | |||
| 3 | RV_APPLICABLE | Value transfer | Type reference (TYPE) | ABAP_BOOL | is applicable or not ? | 20130305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130305 |
Method IS_APPLICABLE_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_SBDM_NODE | context as close as possible, e.g. property or project node | 20130925 | |||
| 2 | RV_APPLICABLE | Value transfer | Type reference (TYPE) | ABAP_BOOL | is applicable or not ? | 20130925 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130925 |
Method IS_APPLICABLE_FACET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FACET | Call by reference | Type reference (TYPE) | TY_FACET | facet code value | 20130305 | |||
| 2 | RV_APPLICABLE | Value transfer | Type reference (TYPE) | ABAP_BOOL | is applicable or not ? | 20130305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130305 |
Method PROPOSE_ABAP_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_SBDM_NODE | context as close as possible, e.g. property or project node | 20131203 | |||
| 2 | IS_FACET_VALUE | Call by reference | Type reference (TYPE) | TY_S_FACET_VALUE | facet value structure | 20130307 | |||
| 3 | IV_FIELD_KIND | Call by reference | Type reference (TYPE) | /IWBEP/SBOD_ABAP_FIELD_KIND | GC_FIELD_KIND_SIMPLE | field kind (special semantic like quantity or currency) | 20131114 | ||
| 4 | RO_ABAP_TYPE | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | element descriptor | 20130307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130305 |
Method PROPOSE_FACET_DEFAULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ABAP_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | Runtime Type Services | 20130305 | |||
| 2 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_SBDM_NODE | context as close as possible, e.g. property or project node | 20131203 | |||
| 3 | RV_FACET_VALUE | Value transfer | Type reference (TYPE) | TY_S_FACET_VALUE-DEFAULT | applicable facet value | 20130305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130305 |
Method PROPOSE_FACET_FIXLENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ABAP_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | Runtime Type Services | 20130305 | |||
| 2 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_SBDM_NODE | context as close as possible, e.g. property or project node | 20131203 | |||
| 3 | RV_FACET_VALUE | Value transfer | Type reference (TYPE) | TY_S_FACET_VALUE-FIXLENGTH | applicable facet value | 20130305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130305 |
Method PROPOSE_FACET_MAXLENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ABAP_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | Runtime Type Services | 20130305 | |||
| 2 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_SBDM_NODE | context as close as possible, e.g. property or project node | 20131203 | |||
| 3 | RV_FACET_VALUE | Value transfer | Type reference (TYPE) | TY_S_FACET_VALUE-MAXLENGTH | applicable facet value | 20130305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130305 |
Method PROPOSE_FACET_NULLABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ABAP_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | Runtime Type Services | 20130305 | |||
| 2 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_SBDM_NODE | context as close as possible, e.g. property or project node | 20131203 | |||
| 3 | RV_FACET_VALUE | Value transfer | Type reference (TYPE) | TY_S_FACET_VALUE-NULLABLE | applicable facet value | 20130305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130305 |
Method PROPOSE_FACET_PRECISION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ABAP_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | Runtime Type Services | 20130305 | |||
| 2 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_SBDM_NODE | context as close as possible, e.g. property or project node | 20131203 | |||
| 3 | IV_FIELD_KIND | Call by reference | Type reference (TYPE) | /IWBEP/SBOD_ABAP_FIELD_KIND | GC_FIELD_KIND_SIMPLE | field kind (special semantic like quantity or currency) | 20131114 | ||
| 4 | RV_FACET_VALUE | Value transfer | Type reference (TYPE) | TY_S_FACET_VALUE-PRECISION | applicable facet value | 20130305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130305 |
Method PROPOSE_FACET_SCALE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ABAP_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | Runtime Type Services | 20130305 | |||
| 2 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_SBDM_NODE | context as close as possible, e.g. property or project node | 20131203 | |||
| 3 | IV_FIELD_KIND | Call by reference | Type reference (TYPE) | /IWBEP/SBOD_ABAP_FIELD_KIND | GC_FIELD_KIND_SIMPLE | field kind (special semantic like quantity or currency) | 20131114 | ||
| 4 | RV_FACET_VALUE | Value transfer | Type reference (TYPE) | TY_S_FACET_VALUE-SCALE | applicable facet value | 20130305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130305 |
Method PROPOSE_FACET_UNICODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ABAP_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | Runtime Type Services | 20130305 | |||
| 2 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_SBDM_NODE | context as close as possible, e.g. property or project node | 20131203 | |||
| 3 | RV_FACET_VALUE | Value transfer | Type reference (TYPE) | TY_S_FACET_VALUE-UNICODE | applicable facet value | 20130305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130305 |
Method PROPOSE_FACET_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ABAP_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | Runtime Type Services | 20130307 | |||
| 2 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_SBDM_NODE | context as close as possible, e.g. property or project node | 20131203 | |||
| 3 | IV_FIELD_KIND | Call by reference | Type reference (TYPE) | /IWBEP/SBOD_ABAP_FIELD_KIND | GC_FIELD_KIND_SIMPLE | field kind (special semantic like quantity or currency) | 20131114 | ||
| 4 | RS_FACET_VALUE | Value transfer | Type reference (TYPE) | TY_S_FACET_VALUE | applicable facet values | 20130307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130307 |
Method VALIDATE_FACET_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_REJECT | Call by reference | Type reference (TYPE) | /IWBEP/IF_SBDM_VALIDATOR=>TY_S_REJECT | on error reject flags will be set TRUE, otherwise no change | 20130408 | |||
| 2 | CT_MESSAGE | Call by reference | Type reference (TYPE) | /IWBEP/IF_SBCM_MSG_OBJECT=>TY_T_OBJECT | on error messages will be added to the given mesage table | 20130408 | |||
| 3 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_SBDM_NODE | model element, e.g. property or term (message context) | 20130408 | |||
| 4 | IS_FACET_VALUE | Call by reference | Type reference (TYPE) | TY_S_FACET_VALUE | facet values | 20130408 | |||
| 5 | IV_FIELD_KIND | Call by reference | Type reference (TYPE) | /IWBEP/SBOD_ABAP_FIELD_KIND | GC_FIELD_KIND_SIMPLE | field kind (special semantic like quantity or currency) | 20131114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130408 |
Method VALIDATE_MODEL_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_REJECT | Call by reference | Type reference (TYPE) | /IWBEP/IF_SBDM_VALIDATOR=>TY_S_REJECT | on error reject flags will be set TRUE, otherwise no change | 20130311 | |||
| 2 | CT_MESSAGE | Call by reference | Type reference (TYPE) | /IWBEP/IF_SBCM_MSG_OBJECT=>TY_T_OBJECT | on error messages will be added to the given mesage table | 20130311 | |||
| 3 | IO_ABAP_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | element descriptor (if defined by context) | 20130309 | |||
| 4 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_SBDM_NODE | model element, e.g. property or term (message context) | 20130309 | |||
| 5 | IS_FACET_VALUE | Call by reference | Type reference (TYPE) | TY_S_FACET_VALUE | facet values | 20130309 | |||
| 6 | IV_FIELD_KIND | Call by reference | Type reference (TYPE) | /IWBEP/SBOD_ABAP_FIELD_KIND | GC_FIELD_KIND_SIMPLE | field kind (special semantic like quantity or currency) | 20131108 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SB: exception | 20130309 |
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 200 |