SAP ABAP Class /IWBEP/CL_MGW_DSTGEN_RUNTIME (Class for generation of runtime implementation)
Hierarchy
SAP_GWFND (Software Component) SAP Gateway Foundation
   OPU-BSE-TLS (Application Component) Gateway Developer Tools
     /IWBEP/MGW_CLASS_GENERATOR (Package) OData Channel - Design Time Tools - ODC Class Generator
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  /IWBEP/CL_MGW_DSTGEN_COMMON Common class for class generator 20110701
Properties
Class /IWBEP/CL_MGW_DSTGEN_RUNTIME  
Short Description Class for generation of runtime implementation    
Super Class /IWBEP/CL_MGW_DSTGEN_COMMON Common class for class generator 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /IWBEP/MGW_CLASS_GENERATOR   OData Channel - Design Time Tools - ODC Class Generator 
Created 20110701   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 /IWBEP/CL_MGW_GEN_METADATA_MGR Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 SEOO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 SEOR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 SEOS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
6 SEOX Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class /IWBEP/CL_MGW_DSTGEN_RUNTIME has no interface implemented.
Friends
Class /IWBEP/CL_MGW_DSTGEN_RUNTIME has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_ATTRIBUTENAME_ENTITYNAME Constant Public Type reference (TYPE) STRING 'IV_ENTITY_NAME' 20110704
2 MC_ATTRIBUTENAME__ER_STREAM Constant Public Type reference (TYPE) STRING 'ER_STREAM' 'ER_STREAM' 20110720
3 MC_ATTRIBUTENAME__RESULTTABLE Constant Public Type reference (TYPE) STRING 'ET_RESULTTABLE' 'ET_RESULTTABLE' 20110704
4 MC_DATAPROVIDER_INTERFACE_NAME Constant Public Type reference (TYPE) CHAR30 '/IWBEP/IF_MGW_APPL_SRV_RUNTIME' '/IWBEP/IF_MGW_APPL_SRV_RUNTIME' 20110711
5 MC_DATAPROVIDER_PU_SCLASS_NAME Constant Private Type reference (TYPE) CHAR30 '/IWBEP/CL_MGW_PUSH_ABS_DATA' Name of super class for push data provider class 20110725
6 MC_DATAPROVIDER_SCLASS_NAME Constant Public Type reference (TYPE) CHAR30 '/IWBEP/CL_MGW_ABS_DATA' Name of super class for the data provider class 20110711
7 MC_METHODNAME__CHECK_SUBS_AUTH Constant Public Type reference (TYPE) SEOCPDNAME 'CHECK_SUBSCRIPTION_AUTHORITY' CHECK_SUBSCRIPTION_AUTHORITY 20110725
8 MC_METHODNAME__CREATE_ENTITY Constant Public Type reference (TYPE) SEOCPDNAME 'CREATE_ENTITY' 'CREATE_ENTITY' 20110721
9 MC_METHODNAME__DEEP_ENTITY Constant Public Type reference (TYPE) SEOCPDNAME 'CREATE_DEEP_ENTITY' 'CREATE_DEEP_ENTITY' 20110726
10 MC_METHODNAME__DELETE_ENTITY Constant Public Type reference (TYPE) SEOCPDNAME 'DELETE_ENTITY' 'DELETE_ENTITY' 20110726
11 MC_METHODNAME__EXECUTE_ACTION Constant Public Type reference (TYPE) SEOCPDNAME 'EXECUTE_ACTION' 'EXECUTE_ACTION' 20110721
12 MC_METHODNAME__GET_ENTITY Constant Public Type reference (TYPE) SEOCPDNAME 'GET_ENTITY' 'GET_ENTITY' 20110704
13 MC_METHODNAME__GET_ENTITYSET Constant Public Type reference (TYPE) SEOCPDNAME 'GET_ENTITYSET' 'GET_ENTITYSET' 20110704
14 MC_METHODNAME__GET_EXPANDED_EN Constant Public Type reference (TYPE) SEOCPDNAME 'GET_EXPANDED_ENTITY' 'GET_EXPANDED_ENTITY' 20110726
15 MC_METHODNAME__GET_EXPANDED_ES Constant Public Type reference (TYPE) SEOCPDNAME 'GET_EXPANDED_ENTITYSET' 'GET_EXPANDED_ENTITYSET' 20110726
16 MC_METHODNAME__GET_STREAM Constant Public Type reference (TYPE) SEOCPDNAME 'GET_STREAM' 'GET_STREAM' 20110720
17 MC_METHODNAME__UPDATE_ENTITY Constant Public Type reference (TYPE) SEOCPDNAME 'UPDATE_ENTITY' 'UPDATE_ENTITY' 20110721
18 MC_TYPE_DATA Constant Public Type reference (TYPE) STRING 'DATA' 'DATA' 20110720
19 MO_CODE_CMP Instance attribute Private Object reference (TYPE REF TO) CL_CMP_COMPOSER Code Composer 20110722
Methods
# Method Level Visibility Method type Description Created on
1 CREATE_RT_CD_INTERFACE_METHODS Instance method Private Method Create content developer interface methods 20110704
2 CREATE_RT_CLASS_REDEFINITIONS Instance method Private Method Create redifinitions 20110711
3 GENERATE_RT_CD_CLASS Instance method Public Method Generate content developer class 20110704
4 GENERATE_RT_CD_INTERFACE Instance method Public Method Generate content developer interfaces for the given entitite 20110704
5 GENERATE_RT_MAIN_CLASS Instance method Public Method Generate main data provider class 20110811
6 GENERATE_RT_MAIN_SUPER_CLASS Instance method Public Method Generate main data provider super class 20110811
7 GENERATE_RT_MAIN_SUPER_CL_CODE Instance method Public Method Generate code for the main Data Provider Super Class methods 20110811
8 GENERATE_RT_METHOD_CODE Instance method Private Method Generate the code of one method 20110722
9 GET_SUPERCLASS_PUSHMETHODS Instance method Private Method Get methods from the push super class 20110725
Events
Class /IWBEP/CL_MGW_DSTGEN_RUNTIME has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_MAP_ENTITYSET_TO_TYPE Public See coding 20110726 BEGIN OF S_map_ENTITYSET_TO_TYPE, edmentitysetname TYPE string, edmentitytypename TYPE string, entityname TYPE char30, entityabapstructurename TYPE char30, entitycustomabapstructure TYPE char1, END OF S_map_ENTITYSET_TO_TYPE
2 T_MAP_ENTITYSETS_TO_TYPES Public See coding 20110726 t_map_ENTITYSETs_TO_TYPEs TYPE STANDARD TABLE OF S_map_ENTITYSET_TO_TYPE WITH DEFAULT KEY
Method Signatures

Method CREATE_RT_CD_INTERFACE_METHODS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_EXCEPTIONS Call by reference Type reference (TYPE) SEOS_EXCEPTIONS_R 20110722
2 Exporting ET_METHODS Call by reference Type reference (TYPE) SEOO_METHODS_R 20110704
3 Exporting ET_PARAMETERS Call by reference Type reference (TYPE) SEOS_PARAMETERS_R 20110704
4 Importing IS_ENTITY Call by reference Type reference (TYPE) /IWBEP/CL_MGW_GEN_METADATA_MGR=>S_ENTITYTYPE 20110704
5 Importing IV_CLASS_NAME Call by reference Type reference (TYPE) VSEOCLASS-CLSNAME Object Type Name 20110704
6 Importing IV_CMP_TYPE Call by reference Type reference (TYPE) STRING 20110704
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_DSTGEN_EXCEPTION Basic Exception class for Odata channel Generator 20110704

Method CREATE_RT_CLASS_REDEFINITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLASS_NAME Call by reference Type reference (TYPE) VSEOCLASS-CLSNAME Object Type Name 20110711
2 Importing IV_REF_CLASS_NAME Call by reference Type reference (TYPE) SEOCLSNAME Object Type Name 20110711
3 Importing IV_SUBSRIBABLE_ENTITYSETS Call by reference Type reference (TYPE) ABAP_BOOL 'X' if at least one entity set is subsribable 20110725
4 Returning RT_REDEFINITIONS Value transfer Type reference (TYPE) SEOR_REDEFINITIONS_R 20110711
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_DSTGEN_EXCEPTION Basic Exception class for Odata channel Generator 20110711

Method GENERATE_RT_CD_CLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ENTITY Call by reference Type reference (TYPE) /IWBEP/CL_MGW_GEN_METADATA_MGR=>S_ENTITYTYPE 20110704
2 Importing IV_CLASS_NAME Call by reference Type reference (TYPE) CHAR30 Class name 20110704
3 Importing IV_INTERFACE_NAME Call by reference Type reference (TYPE) CHAR30 corresponding interface name 20110704
4 Importing IV_OVERWRITE Call by reference Type reference (TYPE) ABAP_BOOL 'X' overwrite existing class 20110704
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_DSTGEN_EXCEPTION Basic Exception class for Odata channel Generator 20110704
2 CX_CMP_FAILURE Error Class Code Composer 20110712

Method GENERATE_RT_CD_INTERFACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ENTITY Call by reference Type reference (TYPE) /IWBEP/CL_MGW_GEN_METADATA_MGR=>S_ENTITYTYPE 20110704
2 Importing IV_INTERFACE_NAME Call by reference Type reference (TYPE) CHAR30 30 Characters 20110704
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_DSTGEN_EXCEPTION Basic Exception class for Odata channel Generator 20110704

Method GENERATE_RT_MAIN_CLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CLASS Call by reference Type reference (TYPE) VSEOCLASS Generated Table for View VSEOCLASS 20110811
2 Importing IV_CLASS_NAME Call by reference Type reference (TYPE) CHAR30 30 Characters 20110811
3 Importing IV_OVERWRITE Call by reference Type reference (TYPE) SEOX_BOOLEAN SEOX_FALSE 20110811
4 Importing IV_SUBSRIBABLE_ENTITYSETS Call by reference Type reference (TYPE) ABAP_BOOL 20110811
5 Importing IV_SUPER_CLASS_NAME Call by reference Type reference (TYPE) CHAR30 30 Characters 20110811
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_DSTGEN_EXCEPTION Basic Exception class for Odata channel Generator 20110811

Method GENERATE_RT_MAIN_SUPER_CLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CLASS Call by reference Type reference (TYPE) VSEOCLASS Generated Table for View VSEOCLASS 20110811
2 Importing IV_CLASS_NAME Call by reference Type reference (TYPE) CHAR30 30 Characters 20110811
3 Importing IV_SUBSRIBABLE_ENTITYSETS Call by reference Type reference (TYPE) ABAP_BOOL 20110811
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_DSTGEN_EXCEPTION Basic Exception class for Odata channel Generator 20110811

Method GENERATE_RT_MAIN_SUPER_CL_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_METHOD_SOURCES Call by reference Type reference (TYPE) SEO_METHOD_SOURCE_TABLE SE24: Method Sources 20110905
2 Importing IT_ENTITIES Call by reference Type reference (TYPE) /IWBEP/CL_MGW_GEN_METADATA_MGR=>T_ENTITYTYPES 20110811
3 Importing IT_ENTITYSETS Call by reference Type reference (TYPE) /IWBEP/CL_MGW_GEN_METADATA_MGR=>T_ENTITYSETS 20110811
4 Importing IV_CLASS_NAME Call by reference Type reference (TYPE) CHAR30 30 Characters 20110811
5 Importing IV_NAMESPACE Call by reference Type reference (TYPE) NAMESPACE Namespace 20110811
6 Importing IV_PREVIEW_ONLY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110905
7 Importing IV_SUBSRIBABLE_ENTITYSETS Call by reference Type reference (TYPE) ABAP_BOOL 'X' in case there are at least on subscribable entity set 20110811
8 Importing IV_TEMPLATENAME_CHK_AUHTORITY Call by reference Type reference (TYPE) CHAR30 '/IWBEP/MGW_GEN_TEMPL_DP_CSA' 30 Characters 20110902
9 Importing IV_TEMPLATENAME_CREATE_ENTITY Call by reference Type reference (TYPE) CHAR30 '/IWBEP/MGW_GEN_TEMPL_DP_CE' 30 Characters 20110811
10 Importing IV_TEMPLATENAME_DEEP_ENTITY Call by reference Type reference (TYPE) CHAR30 '/IWBEP/MGW_GEN_TEMPL_DP_CDE' 30 Characters 20110811
11 Importing IV_TEMPLATENAME_DELETE_ENTITY Call by reference Type reference (TYPE) CHAR30 '/IWBEP/MGW_GEN_TEMPL_DP_DE' 30 Characters 20110811
12 Importing IV_TEMPLATENAME_ENTITY Call by reference Type reference (TYPE) CHAR30 30 Characters 20110811
13 Importing IV_TEMPLATENAME_ENTITYSET Call by reference Type reference (TYPE) CHAR30 30 Characters 20110811
14 Importing IV_TEMPLATENAME_EXECUTE_ACTION Call by reference Type reference (TYPE) CHAR30 '/IWBEP/MGW_GEN_TEMPL_DP_EA' 30 Characters 20110811
15 Importing IV_TEMPLATENAME_EXP_ENTITY Call by reference Type reference (TYPE) CHAR30 '/IWBEP/MGW_GEN_TEMPL_DP_EEN' 30 Characters 20110811
16 Importing IV_TEMPLATENAME_EXP_ENTITYSET Call by reference Type reference (TYPE) CHAR30 '/IWBEP/MGW_GEN_TEMPL_DP_EES' 30 Characters 20110811
17 Importing IV_TEMPLATENAME_GET_STREAM Call by reference Type reference (TYPE) CHAR30 '/IWBEP/MGW_GEN_TEMPL_DP_GS' 30 Characters 20110811
18 Importing IV_TEMPLATENAME_UPDATE_ENTITY Call by reference Type reference (TYPE) CHAR30 '/IWBEP/MGW_GEN_TEMPL_DP_UE' 30 Characters 20110811
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_DSTGEN_EXCEPTION Basic Exception class for Odata channel Generator 20110811
2 CX_CMP_FAILURE Error Class Code Composer 20110811

Method GENERATE_RT_METHOD_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_METHOD_SOURCE Call by reference Type reference (TYPE) SEO_METHOD_SOURCE SE24: Method Source 20110722
2 Importing IV_IS_INTERFACE_METHOD Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Generate interface method 20110902
3 Importing IV_METHODNAME Call by reference Type reference (TYPE) SEOCPDNAME Full Component Name 20110722
4 Importing IV_TEMPLATENAME Call by reference Type reference (TYPE) CHAR30 30 Characters 20110722
# Exception Resumable Description Created on
1 CX_CMP_FAILURE Error Class Code Composer 20110722

Method GET_SUPERCLASS_PUSHMETHODS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_METHODS Call by reference Type reference (TYPE) SEOO_METHODS_R 20110725
2 Exporting ET_PARAMETERS Call by reference Type reference (TYPE) SEOS_PARAMETERS_R 20110725
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_DSTGEN_EXCEPTION Basic Exception class for Odata channel Generator 20110725
History
Last changed by/on SAP  20130531 
SAP Release Created in 200