SAP ABAP Class /IWBEP/CL_MGW_GEN_METADATA_MGR (Metadata management)
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
⤷ 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_GEN_METADATA_MGR | |
Short Description | Metadata management | |
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 | 20110622 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | CL_CMP_COMPOSER | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | SABOO | 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) |
Interfaces
Class /IWBEP/CL_MGW_GEN_METADATA_MGR has no interface implemented.
Friends
Class /IWBEP/CL_MGW_GEN_METADATA_MGR has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MC_ANNOTATION_ADDRESSABLE | Constant | Public | Type reference (TYPE) | STRING | 'ADDRESSABLE' | 'ADDRESSABLE' | 20110720 | |
2 | MC_ANNOTATION_CREATABLE | Constant | Public | Type reference (TYPE) | STRING | 'CREATABLE' | 'CREATABLE' | 20110720 | |
3 | MC_ANNOTATION_FILTERABLE | Constant | Public | Type reference (TYPE) | STRING | 'FILTERABLE' | 'FILTERABLE' | 20110720 | |
4 | MC_ANNOTATION_PAGEABLE | Constant | Public | Type reference (TYPE) | STRING | 'PAGEABLE' | 'PAGEABLE' | 20110720 | |
5 | MC_ANNOTATION_SEMANTICS | Constant | Public | Type reference (TYPE) | STRING | 'SEMANTICS' | 'SEMANTICS' | 20110720 | |
6 | MC_ANNOTATION_SUBSCRIBABLE | Constant | Public | Type reference (TYPE) | STRING | 'SUBSCRIBABLE' | 'SUBSCRIBABLE' | 20110720 | |
7 | MC_ANNOTATION_UPDATABLE | Constant | Public | Type reference (TYPE) | STRING | 'UPDATABLE' | 'UPDATABLE' | 20110720 | |
8 | MC_DEFINE_METHOD_NAME | Static Attribute | Public | Type reference (TYPE) | STRING | 'DEFINE' | 'DEFINE' | 20110629 | |
9 | MC_ENTITYSET_NOTIFICATION | Constant | Public | Type reference (TYPE) | STRING | 'NotificationCollection' | 'NotificationCollection' | 20110726 | |
10 | MC_ENTITYSET_SUBSCRIPTION | Constant | Public | Type reference (TYPE) | STRING | 'SubscriptionCollection' | 'SubscriptionCollection' | 20110726 | |
11 | MC_ENTITYTYPE_NOTIFICATION | Constant | Public | Type reference (TYPE) | STRING | 'Notification' | 'Notification' | 20110726 | |
12 | MC_ENTITYTYPE_SUBSCRIPTION | Constant | Public | Type reference (TYPE) | STRING | 'Subscription' | 'Subscription' | 20110726 | |
13 | MC_MGW_METADATA_PU_SUPER_CLASS | Static Attribute | Public | Type reference (TYPE) | VSEOCLASS-CLSNAME | '/IWBEP/CL_MGW_PUSH_ABS_MODEL' | '/IWBEP/CL_MGW_PUSH_ABS_MODEL' | 20110725 | |
14 | MC_MGW_METADATA_SUPER_CLASS | Static Attribute | Public | Type reference (TYPE) | VSEOCLASS-CLSNAME | '/IWBEP/CL_MGW_ABS_MODEL' | Object Type Name | 20110629 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_PUBLIC_LOCAL_TYPES | Instance method | Public | Method | add public local types to metadata class | 20110629 |
2 | CREATE_MD_CLASS_HEADER | Instance method | Private | Method | Create class header | 20110629 |
3 | CREATE_MD_CLASS_REDEFINITIONS | Instance method | Private | Method | Create class redifinition | 20110629 |
4 | GENERATE_MD_CLASS | Instance method | Public | Method | Generate Content developer Model Provider Class | 20110630 |
5 | GENERATE_SUPER_MD_CLASS | Instance method | Public | Method | Generate Main Model Provider Class | 20110627 |
6 | GENERATE_SUPER_MD_CLASS_DECODE | Instance method | Public | Method | Generate coding for Define and method | 20110627 |
7 | IS_THERE_SUBSCRIB_ENTITYSETS | Static method | Public | Method | IS_THERE_SUBSCRIB_ENTITYSEts | 20110725 |
Events
Class /IWBEP/CL_MGW_GEN_METADATA_MGR has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | S_ASSOCIATION | Public | See coding | 20110624 | BEGIN OF s_association,
edmname TYPE string,
abapname TYPE char30,
end1_edmentityname TYPE string,
end1_abapentityname TYPE char30,
end1_edmrole TYPE char30,
end1_edmmultiplicity TYPE char4,
end1_abapmultiplicity TYPE char1,
end2_edmentityname TYPE string,
end2_abapentityname TYPE char30,
end2_edmrole TYPE char30,
end2_edmmultiplicity TYPE char4,
end2_abapmultiplicity TYPE char1,
abapcardinality TYPE char1,
END OF s_association
|
||
2 | S_COMPLEXTYPE | Public | See coding | 20110624 | BEGIN OF s_complextype,
edmname TYPE /iwbep/mgw_gen_struct_name,
abapname TYPE char30,
properties TYPE t_properties,
abapstructurename TYPE char30,
END OF s_complextype
|
||
3 | S_ENTITYSET | Public | See coding | 20110715 | BEGIN OF s_entityset,
edmname TYPE /iwbep/mgw_gen_entity_set_name,
edmentitytypename TYPE /iwbep/mgw_gen_struct_name,
creatable TYPE /iwbep/mgw_gen_eset_anno_flag,
updatable TYPE /iwbep/mgw_gen_eset_anno_flag,
deletable TYPE /iwbep/mgw_gen_eset_anno_flag,
pageable TYPE /iwbep/mgw_gen_eset_anno_flag,
addressable TYPE /iwbep/mgw_gen_eset_anno_flag,
subscribable TYPE /iwbep/mgw_gen_eset_anno_flag,
annotations TYPE t_annotations,
END OF s_entityset
|
||
4 | S_ENTITYTYPE | Public | See coding | 20110624 | BEGIN OF s_entitytype,
edmname TYPE /iwbep/mgw_gen_struct_name,
name TYPE char30,
keys TYPE t_strings,
properties TYPE t_properties,
navigationproperties TYPE t_navigationproperties,
abapstructurename TYPE strname,
iscustomabapstructure TYPE char1,
abaptablename TYPE char30,
iscomplextype TYPE /iwbep/mgw_gen_is_comp_type,
abapclname TYPE seoclsname,
abapifname TYPE seoclsname,
END OF s_entitytype
|
||
5 | S_NAME_VALUE | Public | See coding | 20110624 | BEGIN OF s_name_value,
name TYPE string,
value TYPE string,
END OF s_name_value
|
||
6 | S_NAVIGATIONPROPERTY | Public | See coding | 20110624 | BEGIN OF s_navigationproperty,
edmname TYPE string,
edmrelationship TYPE string,
edmfromrole TYPE char30,
edmtorole TYPE char30 ,
END OF s_navigationproperty
|
||
7 | S_PROPERTY | Public | See coding | 20110624 | BEGIN OF s_property,
entityedmname TYPE /iwbep/mgw_gen_struct_name,
edmname TYPE /iwbep/mgw_gen_prop_name,
edmtype TYPE /iwbep/mgw_gen_edm_type,
iscomplextype TYPE /iwbep/mgw_gen_has_comp_type,
edmscale TYPE /iwbep/mgw_gen_edm_scale , "Specifies the number of digits to the right of the decimal point for the property value
edmprecision TYPE /iwbep/mgw_gen_edm_precision, "For properties of type Decimal, specifies the number of digits a property value can have. For properties of type Time, DateTime, and DateTimeOffset,
"specifies the number of digits for the fractional part of
"seconds of the property value.
abapname TYPE name_feld, "fieldname,
abapname_drop_down TYPE int4,
abaptype TYPE rollname, "char30,
abappredtype TYPE string, " datatype_d,
abappredlength TYPE string, "ddleng,
abappreddecimals TYPE string, "decimals,
unit TYPE /iwbep/mgw_gen_unit_prop_name,
unit_drop_down TYPE int4,
creatable TYPE /IWBEP/MGW_GEN_PROP_ANNO_FLAG,
updatable TYPE /IWBEP/MGW_GEN_PROP_ANNO_FLAG,
filterable TYPE /IWBEP/MGW_GEN_PROP_ANNO_FLAG,
semantics TYPE /IWBEP/MGW_GEN_SAP_SEM_ANNO,
annotations TYPE t_annotations,
END OF s_property
|
||
8 | S_SEOCLSNAME | Public | See coding | 20110912 | BEGIN OF s_seoclsname,
name TYPE seoclsname,
END OF s_seoclsname
|
||
9 | T_ANNOTATIONS | Public | See coding | 20110624 | t_annotations TYPE STANDARD TABLE OF s_name_value WITH DEFAULT KEY
|
||
10 | T_ASSOCIATIONS | Public | See coding | 20110624 | t_associations TYPE STANDARD TABLE OF s_association WITH DEFAULT KEY
|
||
11 | T_COMPLEXTYPES | Public | See coding | 20110624 | t_complextypes TYPE STANDARD TABLE OF s_complextype WITH DEFAULT KEY
|
||
12 | T_ENTITYSETS | Public | See coding | 20110715 | t_entitysets TYPE STANDARD TABLE OF s_entityset WITH DEFAULT KEY
|
||
13 | T_ENTITYTYPES | Public | See coding | 20110624 | t_entitytypes TYPE STANDARD TABLE OF s_entitytype WITH DEFAULT KEY
|
||
14 | T_NAVIGATIONPROPERTIES | Public | See coding | 20110624 | t_navigationproperties TYPE STANDARD TABLE OF s_navigationproperty WITH DEFAULT KEY
|
||
15 | T_PROPERTIES | Public | See coding | 20110624 | t_properties TYPE STANDARD TABLE OF s_property WITH DEFAULT KEY
|
||
16 | T_SEOCLSNAME | Public | See coding | 20110912 | t_seoclsname TYPE STANDARD TABLE OF s_seoclsname WITH DEFAULT KEY
|
||
17 | T_STRINGS | Public | See coding | 20110624 | t_strings TYPE STANDARD TABLE OF string WITH DEFAULT KEY
|
Method Signatures
Method ADD_PUBLIC_LOCAL_TYPES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_COMPLEXTYPES | Call by reference | Type reference (TYPE) | T_COMPLEXTYPES | Table of complex types | 20110629 | ||
2 | Importing | IT_ENTITIES | Call by reference | Type reference (TYPE) | T_ENTITYTYPES | Table of entity types | 20110629 | ||
3 | Importing | IV_CLASS_NAME | Call by reference | Type reference (TYPE) | CHAR30 | Class name | 20110629 | ||
4 | Importing | IV_TEMPLATE_NAME | Call by reference | Type reference (TYPE) | CHAR30 | template name to be used in code composer | 20110629 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /IWBEP/CX_MGW_DSTGEN_EXCEPTION | Basic Exception class for Odata channel Generator | 20110629 | |
2 | CX_CMP_FAILURE | Error Class Code Composer | 20110629 |
Method CREATE_MD_CLASS_HEADER 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) | SEOCLSNAME | 30 Characters | 20110629 | ||
2 | Returning | RS_CLASS | Value transfer | Type reference (TYPE) | VSEOCLASS | Generated Table for View VSEOCLASS | 20110629 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /IWBEP/CX_MGW_DSTGEN_EXCEPTION | Basic Exception class for Odata channel Generator | 20110629 |
Method CREATE_MD_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 | 20110629 | ||
2 | Importing | IV_REF_CLASS_NAME | Call by reference | Type reference (TYPE) | SEOCLSNAME | Object Type Name | 20110629 | ||
3 | Returning | RT_REDEFINITIONS | Value transfer | Type reference (TYPE) | SEOR_REDEFINITIONS_R | 20110629 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /IWBEP/CX_MGW_DSTGEN_EXCEPTION | Basic Exception class for Odata channel Generator | 20110629 |
Method GENERATE_MD_CLASS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_MD_CLASS_NAME | Call by reference | Type reference (TYPE) | CHAR30 | 30 Characters | 20110630 | ||
2 | Importing | IV_MD_SUPER_CLASS_NAME | Call by reference | Type reference (TYPE) | CHAR30 | 30 Characters | 20110630 | ||
3 | Importing | IV_OVERWRITE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110630 | |||
4 | Importing | IV_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20110630 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /IWBEP/CX_MGW_DSTGEN_EXCEPTION | Basic Exception class for Odata channel Generator | 20110630 |
Method GENERATE_SUPER_MD_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 | 20110627 | ||
2 | Importing | IT_ENTITIES | Call by reference | Type reference (TYPE) | T_ENTITYTYPES | 20110627 | |||
3 | Importing | IT_ENTITYSETS | Call by reference | Type reference (TYPE) | T_ENTITYSETS | 20110725 | |||
4 | Importing | IV_CLASS_NAME | Call by reference | Type reference (TYPE) | SEOCLSNAME | 20110713 | |||
5 | Importing | IV_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20110627 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /IWBEP/CX_MGW_DSTGEN_EXCEPTION | Basic Exception class for Odata channel Generator | 20110627 |
Method GENERATE_SUPER_MD_CLASS_DECODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_TAB_RESULTCODE | Call by reference | Type reference (TYPE) | CL_CMP_COMPOSER=>TAB_CODE | Calculated Define Method Coding | 20110912 | ||
2 | Importing | IT_ASSOCIATIONS | Call by reference | Type reference (TYPE) | T_ASSOCIATIONS | 20110627 | |||
3 | Importing | IT_COMPLEXTYPES | Call by reference | Type reference (TYPE) | T_COMPLEXTYPES | 20110627 | |||
4 | Importing | IT_ENTITIES | Call by reference | Type reference (TYPE) | T_ENTITYTYPES | 20110627 | |||
5 | Importing | IT_ENTITYSETS | Call by reference | Type reference (TYPE) | T_ENTITYSETS | 20110720 | |||
6 | Importing | IV_MD_SUPERCLASS_NAME | Call by reference | Type reference (TYPE) | CHAR30 | 30 Characters | 20110627 | ||
7 | Importing | IV_PREVIEW_ONLY | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20110912 | |
8 | Importing | IV_TEMPLATENAME | Call by reference | Type reference (TYPE) | CHAR30 | 30 Characters | 20110627 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /IWBEP/CX_MGW_DSTGEN_EXCEPTION | Basic Exception class for Odata channel Generator | 20110627 | |
2 | CX_CMP_FAILURE | Error Class Code Composer | 20110712 |
Method IS_THERE_SUBSCRIB_ENTITYSETS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_ENTITYSETS | Call by reference | Type reference (TYPE) | T_ENTITYSETS | 20110725 | |||
2 | Returning | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110725 |
Method IS_THERE_SUBSCRIB_ENTITYSETS on class /IWBEP/CL_MGW_GEN_METADATA_MGR has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 200 |