SAP ABAP Class /IWBEP/CL_SB_ADAPTER_FROM_DM (Domain Model Adapter class)
Hierarchy
SAP_GWFND (Software Component) SAP Gateway Foundation
   OPU-BSE-SB (Application Component) Gateway Service Builder
     /IWBEP/SB_ODATA_UTIL (Package) Gateway Service Builder - OData Utility Package
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /IWBEP/IF_SB_ADAPTER_FROM_DM Domain Model Adapter Interface 20120323
Properties
Class /IWBEP/CL_SB_ADAPTER_FROM_DM  
Short Description Domain Model Adapter class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /IWBEP/SB_ODATA_UTIL   Gateway Service Builder - OData Utility Package 
Created 20120323   SAP 
Last change 20141120    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 /IWBEP/IF_MGW_MED_ODATA_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 /IWBEP/IF_SBOD_ANNOTATION Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 /IWBEP/IF_SBOD_EXP_COLLECTABLE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 /IWBEP/IF_SBOD_EXP_REC_MAPPING Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
5 /IWBEP/IF_SBOD_FUNC_IMP_PAR Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
6 /IWBEP/IF_SBOD_NAV_PROP Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
7 /IWBEP/IF_SBOD_PROPERTY Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
8 /IWBEP/IF_SB_MGW_ODATA_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
9 /IWBEP/IF_SB_ODATA_ARTIFACTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
10 /IWBEP/IF_SB_ODV4_ARTIFACTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
11 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 /IWBEP/IF_SB_ADAPTER_FROM_DM Domain Model Adapter Interface 20120323
Friends
Class /IWBEP/CL_SB_ADAPTER_FROM_DM has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_VOCAB_ANN Instance attribute Private Type reference (TYPE) /IWBEP/IF_SB_ODV4_ARTIFACTS=>TY_T_VOCAB_ANNOT 20130423
2 MC_CARD_1 Constant Public Type reference (TYPE) CHAR1 '1' 'Cardinality 1' 20120323
3 MC_CARD_N Constant Public Type reference (TYPE) CHAR1 'N' 'Cardinality N' 20120323
4 MC_EDMTYPE_SINGLE Constant Public Type reference (TYPE) CHAR20 'Single' Edm type single 20120323
5 MC_EDM_COLLECTION Constant Public Type reference (TYPE) STRING 'Collection*' 'Collection' 20120323
6 MC_EDM_DATA_TYPES Constant Public See coding 20120323
7 MC_EDM_PREFIX Constant Public Type reference (TYPE) STRING 'Edm.' 'Edm.' 20120323
8 MC_GW_EDMTYPE_SINGLE Constant Public Type reference (TYPE) CHAR20 'SByte' GW Edm type single 20120323
9 MC_INT Constant Public Type reference (TYPE) STRING 'I' 'INT' 20120528
10 MC_INT1 Constant Public Type reference (TYPE) STRING 'INT1' 'INT1' 20120323
11 MC_INT2 Constant Public Type reference (TYPE) STRING 'INT2' 'INT2' 20120323
12 MC_STRING Constant Public Type reference (TYPE) STRING 'STRING' 'STRING' 20120323
13 MC_TYPE_DECFLOAT16 Constant Public Type reference (TYPE) STRING 'DECFLOAT16' 'TYPEKIND_DECFLOAT16' 20120323
14 MC_TYPE_DECFLOAT34 Constant Public Type reference (TYPE) STRING 'DECFLOAT34' 'TYPEKIND_DECFLOAT34' 20120323
15 MC_XSTRING Constant Public Type reference (TYPE) STRING 'XSTRING' 'XSTRING' 20120323
16 MT_COMPONENTS Instance attribute Private Type reference (TYPE) ABAP_COMPONENT_TAB Components of a structue 20120808
17 MT_VOCAB_REF Instance attribute Public Type reference (TYPE) /IWBEP/IF_SB_ODV4_ARTIFACTS=>TY_T_VOCAB_REF 20130426
18 MV_CALL_FROM_MPC Instance attribute Private Type reference (TYPE) ABAP_BOOL 20130424
19 MV_SCHEMA Instance attribute Private Type reference (TYPE) STRING 20130605
Methods
# Method Level Visibility Method type Description Created on
1 GET_ABAPTYPE_FROM_EDMTYPE Instance method Protected Method Get ABAP Type from EDM type 20120323
2 GET_ABAP_TYPE Instance method Protected Method Get abap type 20120323
3 GET_ANNOTATION_TARGET Instance method Private Method Get the annotation target details 20130605
4 GET_ASSOC_DETAILS_FROM_DM Instance method Protected Method Get association details from the domain model 20120323
5 GET_ASSOC_SET_FROM_DM Instance method Protected Method Get association sets from the domain model 20120323
6 GET_CMPLX_PROP_DETAILS_FROM_DM Instance method Protected Method Get complex types of an entity 20120323
7 GET_ENTITY_DETAILS_FROM_DM Instance method Protected Method Get entity details 20120323
8 GET_ENTITY_SET_FROM_DM Instance method Protected Method Get entity sets from domain model 20120323
9 GET_FUNC_IMPS_FROM_DM Instance method Protected Method Get function imports from the domain model 20120323
10 GET_FUNC_IMP_PAR_FROM_DM Instance method Protected Method get function import parameters from domain model 20120323
11 GET_NAVIGATION_PROP_FROM_DM Instance method Protected Method Get navigation properties of an entity 20120323
12 GET_PROPERTIES_FROM_DM Instance method Protected Method Get properties of an entity 20120323
13 GET_REFERENCE_MODEL_FROM_DM Instance method Protected Method Get the reference model node from Domain model 20120517
14 GET_STRUCTURE_COMPONENTS Instance method Protected Method Get the components of a structure 20120808
15 GET_TERM_DETAILS Instance method Private Method Get the term details 20130527
16 PROCESS_ANNOTATIONS Instance method Private Method Process the annotations 20130424
17 PROCESS_COLLECTION_ITEMS Instance method Private Method Process the collection items 20130424
18 PROCESS_EXP_VALUE Instance method Private Method Process the expression value 20130423
19 PROCESS_RECORD_MAPPINGS Instance method Private Method Process the record mappings 20130423
20 TRAVERSE_STRUCTURE_COMPONENTS Instance method Protected Method Internal handling of the components 20120808
Events
Class /IWBEP/CL_SB_ADAPTER_FROM_DM has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_EXPR_TYPE Private See coding 20130530 TY_EXPR_TYPE type c LENGTH 10
2 TY_E_MED_CONV_EXIT Public See coding 20120323 ty_e_med_conv_exit TYPE c LENGTH 5
3 TY_E_MED_EDM_TYPE Public See coding 20120323 ty_e_med_edm_type TYPE c LENGTH 20
4 TY_E_MED_SEMANTIC Public See coding 20120323 ty_e_med_semantic TYPE c LENGTH 20
5 TY_GS_EDM_FIELD_DESC Public See coding 20120323 BEGIN OF ty_gs_edm_field_desc, core_type TYPE ty_e_med_edm_type, "EDM Data Type length TYPE i, "Length (No. of Characters) decimals TYPE i, "Number of Decimal Places internal_type TYPE inttype, internal_length TYPE i, input_mask TYPE string, conv_exit TYPE ty_e_med_conv_exit, semantic TYPE ty_e_med_semantic, END OF ty_gs_edm_field_desc
6 TY_S_MED_ABAP_FDDESC Public See coding 20120323 BEGIN OF ty_s_med_abap_fddesc, type TYPE inttype, "Internal data type (internal ABAP type) length TYPE intlen, "Internal Length in Bytes decimals TYPE decimals, "Number of Decimal Places END OF ty_s_med_abap_fddesc
Method Signatures

Method GET_ABAPTYPE_FROM_EDMTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ABAPPREDDECIMALS Call by reference Type reference (TYPE) I Number of Decimal Places 20120323
2 Exporting EV_ABAPPREDLENGTH Call by reference Type reference (TYPE) I Length of Field (Number of Characters) 20120323
3 Exporting EV_ABAPPREDTYPE Call by reference Type reference (TYPE) STRING Data Type in ABAP Dictionary 20120323
4 Importing IV_EDMPRECISION Call by reference Type reference (TYPE) /IWBEP/SBOD_PRECISION EDM Precision 20120323
5 Importing IV_EDMSCALE Call by reference Type reference (TYPE) /IWBEP/SBOD_SCALE EDM Scale 20120323
6 Importing IV_EDMTYPE Call by reference Type reference (TYPE) /IWBEP/SBDM_NODE_NAME EDM Type of a Property 20120323

Method GET_ABAPTYPE_FROM_EDMTYPE on class /IWBEP/CL_SB_ADAPTER_FROM_DM has no exception.

Method GET_ABAP_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_EDM_TYPE Call by reference Type reference (TYPE) TY_GS_EDM_FIELD_DESC 20120323
2 Returning RS_ABAP_TYPE Value transfer Type reference (TYPE) TY_S_MED_ABAP_FDDESC 20120323

Method GET_ABAP_TYPE on class /IWBEP/CL_SB_ADAPTER_FROM_DM has no exception.

Method GET_ANNOTATION_TARGET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_VOCAB_ANN Call by reference Type reference (TYPE) /IWBEP/IF_SB_ODV4_ARTIFACTS=>TY_S_VOCAB_ANNOT 20130605
2 Importing IO_NODE Call by reference Object reference (TYPE REF TO) /IWBEP/IF_SBDM_NODE SB - Domain Model - Node 20130605
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION SB: exception 20130605

Method GET_ASSOC_DETAILS_FROM_DM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ASSOCIATIONS Call by reference Type reference (TYPE) /IWBEP/IF_SB_ODATA_ARTIFACTS=>TY_T_ASSOCIATIONS 20120323
2 Importing IT_ASSOC_SETS Call by reference Type reference (TYPE) /IWBEP/IF_SB_ODATA_ARTIFACTS=>TY_T_ASSOCIATION_SETS 20120323
3 Importing IT_NODES Call by reference Type reference (TYPE) /IWBEP/T_SBDM_NODES SB: Table Type for DM Nodes 20120323
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION SB: exception 20120621

Method GET_ASSOC_SET_FROM_DM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ASSOC_SETS Call by reference Type reference (TYPE) /IWBEP/IF_SB_ODATA_ARTIFACTS=>TY_T_ASSOCIATION_SETS 20120323
2 Importing IT_NODES Call by reference Type reference (TYPE) /IWBEP/T_SBDM_NODES SB: Table Type for DM Nodes 20120323
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION MPC Generator Exception Object 20120621

Method GET_CMPLX_PROP_DETAILS_FROM_DM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CMPLX_TYPES Call by reference Type reference (TYPE) /IWBEP/IF_SB_ODATA_ARTIFACTS=>TY_T_COMPLEX_TYPES 20120323
2 Importing IT_NODES Call by reference Type reference (TYPE) /IWBEP/T_SBDM_NODES SB: Table Type for DM Nodes 20120323
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION 20120621

Method GET_ENTITY_DETAILS_FROM_DM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ENTITIES Call by reference Type reference (TYPE) /IWBEP/IF_SB_ODATA_ARTIFACTS=>TY_T_ENTITIES 20120323
2 Importing IT_NODES Call by reference Type reference (TYPE) /IWBEP/T_SBDM_NODES SB: Table Type for DM Nodes 20120323
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION MPC Generator Exception Object 20120621

Method GET_ENTITY_SET_FROM_DM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ENTITY_SETS Call by reference Type reference (TYPE) /IWBEP/IF_SB_ODATA_ARTIFACTS=>TY_T_ENTITY_SETS 20120323
2 Importing IT_NODES Call by reference Type reference (TYPE) /IWBEP/T_SBDM_NODES SB: Table Type for DM Nodes 20120323
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION MPC Generator Exception Object 20120621

Method GET_FUNC_IMPS_FROM_DM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FUNC_IMPS Call by reference Type reference (TYPE) /IWBEP/IF_SB_ODATA_ARTIFACTS=>TY_T_FUNC_IMPS 20120323
2 Importing IT_NODES Call by reference Type reference (TYPE) /IWBEP/T_SBDM_NODES SB: Table Type for DM Nodes 20120323
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION MPC Generator Exception Object 20120621

Method GET_FUNC_IMP_PAR_FROM_DM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PARAMS Call by reference Type reference (TYPE) /IWBEP/IF_SB_ODATA_ARTIFACTS=>TY_T_PROPERTIES 20120323
2 Importing IT_FUNC_IMP_PAR Call by reference Type reference (TYPE) /IWBEP/IF_SBOD_FUNC_IMP_PAR=>TY_T_FUNC_IMP_PAR 20120323
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION MPC Generator Exception Object 20120621

Method GET_NAVIGATION_PROP_FROM_DM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NAV_PROP Call by reference Type reference (TYPE) /IWBEP/IF_SB_ODATA_ARTIFACTS=>TY_T_NAV_PROPERTIES 20120323
2 Importing IT_NAVP Call by reference Type reference (TYPE) /IWBEP/IF_SBOD_NAV_PROP=>TY_T_NAV_PROPERTIES 20120323
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION MPC Generator Exception Object 20120621

Method GET_PROPERTIES_FROM_DM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PROPERTIES Call by reference Type reference (TYPE) /IWBEP/IF_SB_ODATA_ARTIFACTS=>TY_T_PROPERTIES 20120323
2 Importing IT_NODE_PROP Call by reference Type reference (TYPE) /IWBEP/IF_SBOD_PROPERTY=>TY_T_PROPERTIES 20120323
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION MPC Generator Exception Object 20120621

Method GET_REFERENCE_MODEL_FROM_DM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MODEL_REF Call by reference Type reference (TYPE) /IWBEP/IF_SB_ODATA_ARTIFACTS=>TY_T_MODEL_REF 20120517
2 Importing IT_NODES Call by reference Type reference (TYPE) /IWBEP/T_SBDM_NODES Table of nodes 20120517
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION MPC Generator Exception Object 20120621

Method GET_STRUCTURE_COMPONENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_COMPONENTS Call by reference Type reference (TYPE) ABAP_COMPONENT_TAB 20120808
2 Importing IO_STRUCTURE_DESCRIPTOR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20120808

Method GET_STRUCTURE_COMPONENTS on class /IWBEP/CL_SB_ADAPTER_FROM_DM has no exception.

Method GET_TERM_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_VOCAB_ANN Call by reference Type reference (TYPE) /IWBEP/IF_SB_ODV4_ARTIFACTS=>TY_S_VOCAB_ANNOT 20130527
2 Importing IO_ANNOTATION Call by reference Object reference (TYPE REF TO) /IWBEP/IF_SBOD_ANNOTATION SB - OData - Annotation 20130527
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION SB: exception 20130527

Method PROCESS_ANNOTATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_NODE Call by reference Object reference (TYPE REF TO) /IWBEP/IF_SBDM_NODE SB - Domain Model - Node 20130424
2 Importing IT_ANNOTATIONS Call by reference Type reference (TYPE) /IWBEP/IF_SBOD_ANNOTATION=>TY_T_ANNOTATIONS 20130424
3 Importing IV_PARENT_REF_KEY Call by reference Type reference (TYPE) /IWBEP/SBDM_NODE_UUID Service Builder: Node UUID 20130528
4 Importing IV_PARENT_REF_TYPE Call by reference Type reference (TYPE) TY_EXPR_TYPE 20130530
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION SB: exception 20130424

Method PROCESS_COLLECTION_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ANNOTATION Call by reference Object reference (TYPE REF TO) /IWBEP/IF_SBOD_ANNOTATION SB - OData - Annotation 20131104
2 Importing IT_COLLECTABLES Call by reference Type reference (TYPE) /IWBEP/IF_SBOD_EXP_COLLECTABLE=>TY_T_COLLECTABLE 20130424
3 Importing IV_PARENT_REF_KEY Call by reference Type reference (TYPE) /IWBEP/SBDM_NODE_UUID Service Builder: Node UUID 20130424
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION SB: exception 20130424

Method PROCESS_EXP_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ANNOTATION Call by reference Object reference (TYPE REF TO) /IWBEP/IF_SBOD_ANNOTATION SB - OData - Annotation 20130527
2 Importing IO_EXP_VALUE Call by reference Object reference (TYPE REF TO) /IWBEP/IF_SBOD_EXP_VALUE SB - OData - Annotation Value Expression 20130423
3 Importing IO_NODE Call by reference Object reference (TYPE REF TO) /IWBEP/IF_SBDM_NODE SB - Domain Model - Node 20130510
4 Importing IV_PARENT_REF_KEY Call by reference Type reference (TYPE) /IWBEP/SBDM_NODE_UUID Service Builder: Node UUID 20130423
5 Importing IV_PARENT_REF_TYPE Call by reference Type reference (TYPE) TY_EXPR_TYPE 20130530
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION SB: exception 20130423

Method PROCESS_RECORD_MAPPINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ANNOTATION Call by reference Object reference (TYPE REF TO) /IWBEP/IF_SBOD_ANNOTATION SB - OData - Annotation 20131230
2 Importing IT_MAPPINGS Call by reference Type reference (TYPE) /IWBEP/IF_SBOD_EXP_REC_MAPPING=>TY_T_MAPPING 20130423
3 Importing IV_PARENT_REF_KEY Call by reference Type reference (TYPE) /IWBEP/SBDM_NODE_UUID Service Builder: Node UUID 20130423
# Exception Resumable Description Created on
1 /IWBEP/CX_SBCM_EXCEPTION SB: exception 20130423

Method TRAVERSE_STRUCTURE_COMPONENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_COMPONENTS Call by reference Type reference (TYPE) ABAP_COMPONENT_TAB 20120808
2 Importing IO_STRUCTURE_DESCRIPTOR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20120808
3 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20120808
4 Importing IV_SUFFIX Call by reference Type reference (TYPE) STRING 20120808

Method TRAVERSE_STRUCTURE_COMPONENTS on class /IWBEP/CL_SB_ADAPTER_FROM_DM has no exception.
History
Last changed by/on SAP  20141120 
SAP Release Created in 200