SAP ABAP Class /IWBEP/CL_MGW_MED_PROVIDER (Meta Data Provider)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-BSE-SDE (Application Component) Gateway SAP Data Enablement
⤷
/IWBEP/MGW_MED_IMPLEMENTATIONS (Package) OData Channel - Metadata - Implementations
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | /IWBEP/IF_MGW_MED_PROVIDER | OData Channel Metadata Provider Interface | 20110621 |
Properties
| Class | /IWBEP/CL_MGW_MED_PROVIDER | |
| Short Description | Meta Data Provider | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /IWBEP/MGW_MED_IMPLEMENTATIONS | OData Channel - Metadata - Implementations |
| Created | 20110621 | SAP |
| Last change | 20131127 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | /IWBEP/IF_MGW_MED_PROVIDER | OData Channel Metadata Provider Interface | 20110621 |
Friends
Class /IWBEP/CL_MGW_MED_PROVIDER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | FIELDNAME | 'ENTITY_ID' | 20120222 | |||
| 2 | Constant | Private | Type reference (TYPE) | FIELDNAME | 'KEY' | 20120222 | |||
| 3 | Constant | Private | Type reference (TYPE) | FIELDNAME | 'NAMESPACE' | 20120222 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | TY_S_CACHED_BADI_INSTANCE | 20121024 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | /IWBEP/S_DEFI_ALIAS_INFO | System Alias Information | 20120319 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | TY_T_LAST_MODIFIED | 20130124 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | TY_T_CACHED_MODEL | 20110621 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20120711 | |||
| 9 | Static Attribute | Private | Object reference (TYPE REF TO) | /IWBEP/CL_MGW_MED_PROVIDER | Meta Data Provider | 20110621 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | /IWBEP/IF_MGW_MED_PROVIDER=>TY_S_SERVICE_INFO | 20110722 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | BOOLE_D | Cached Service Key: Have extensions been considered | 20140312 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Constructor | 20120711 | ||
| 2 | Instance method | Private | Method | 20110621 | ||
| 3 | Instance method | Private | Method | Returns last modified timestamp from model provided class | 20120925 | |
| 4 | Static method | Public | Method | Returns Instance of Metadata Provider | 20110621 | |
| 5 | Static method | Public | Method | Returns new Instance of Metadata Provider bypassing Cache | 20120711 | |
| 6 | Instance method | Private | Method | Returns an OData Channel Metadata Model | 20110621 | |
| 7 | Instance method | Private | Method | Gets the BADI for a model | 20120925 | |
| 8 | Instance method | Private | Method | Returns Technical Model Name/Version for given Service | 20110621 | |
| 9 | Instance method | Private | Method | 20120222 | ||
| 10 | Instance method | Private | Method | 20120222 |
Events
Class /IWBEP/CL_MGW_MED_PROVIDER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_CACHED_BADI_INSTANCE | Private | See coding | 20121024 | BEGIN OF ty_s_cached_badi_instance,
model_technical_name TYPE /iwbep/med_mdl_technical_name,
model_version TYPE /iwbep/med_mdl_version,
badi TYPE REF TO /IWBEP/BD_MGW_META_DATA_LOAD,
END OF ty_s_cached_badi_instance
|
||
| 2 | TY_S_CACHED_MODEL | Private | See coding | 20110621 | BEGIN OF ty_s_cached_model,
isn TYPE /iwbep/med_grp_technical_name, " internal service name
isv TYPE /iwbep/med_grp_version, " internal service version
model TYPE REF TO /iwbep/if_mgw_odata_fw_model,
END OF ty_s_cached_model
|
||
| 3 | TY_S_LAST_MODIFIED | Private | See coding | 20130124 | BEGIN OF ty_s_last_modified,
model_technical_name TYPE /iwbep/med_mdl_technical_name,
model_version TYPE /iwbep/med_mdl_version,
last_modified TYPE timestamp,
END OF ty_s_last_modified
|
||
| 4 | TY_T_CACHED_MODEL | Private | See coding | 20110621 | ty_t_cached_model TYPE STANDARD TABLE OF ty_s_cached_model WITH KEY isn isv
|
||
| 5 | TY_T_LAST_MODIFIED | Private | See coding | 20130124 | ty_t_last_modified TYPE HASHED TABLE OF ty_s_last_modified WITH UNIQUE KEY model_technical_name model_version
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CACHE_ACTIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20120711 |
Method CONSTRUCTOR on class /IWBEP/CL_MGW_MED_PROVIDER has no exception.
Method GET_CACHED_MODEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INTERNAL_SERVICE_NAME | Call by reference | Type reference (TYPE) | /IWBEP/MED_GRP_TECHNICAL_NAME | Internal Service Name | 20110621 | |||
| 2 | IV_INTERNAL_SERVICE_VERSION | Call by reference | Type reference (TYPE) | /IWBEP/MED_GRP_VERSION | Internal Service Version | 20110621 | |||
| 3 | RO_MODEL | Value transfer | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_ODATA_FW_MODEL | interface for a script based model | 20110621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Meta data exception | 20110624 |
Method GET_LAST_MODIFIED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INTERNAL_SERVICE_NAME | Call by reference | Type reference (TYPE) | /IWBEP/MED_GRP_TECHNICAL_NAME | Technical Service Name | 20130124 | |||
| 2 | IV_INTERNAL_SERVICE_VERSION | Call by reference | Type reference (TYPE) | /IWBEP/MED_GRP_VERSION | Service Version | 20130124 | |||
| 3 | IV_MODEL_TECHNICAL_NAME | Call by reference | Type reference (TYPE) | /IWBEP/MED_MDL_TECHNICAL_NAME | Technical Model Name | 20120925 | |||
| 4 | IV_MODEL_VERSION | Call by reference | Type reference (TYPE) | /IWBEP/MED_MDL_VERSION | Model Version | 20120925 | |||
| 5 | RV_LAST_MODIFIED | Value transfer | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20120925 |
Method GET_LAST_MODIFIED on class /IWBEP/CL_MGW_MED_PROVIDER has no exception.
Method GET_MED_PROVIDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_MED_PROVIDER | Value transfer | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_MED_PROVIDER | OData Channel Metadata Provider Interface | 20110621 |
Method GET_MED_PROVIDER on class /IWBEP/CL_MGW_MED_PROVIDER has no exception.
Method GET_MED_PROVIDER_WO_CACHE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_MED_PROVIDER | Value transfer | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_MED_PROVIDER | OData Channel Metadata Provider Interface | 20120711 |
Method GET_MED_PROVIDER_WO_CACHE on class /IWBEP/CL_MGW_MED_PROVIDER has no exception.
Method GET_MODEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INTERNAL_SERVICE_NAME | Call by reference | Type reference (TYPE) | /IWBEP/MED_GRP_TECHNICAL_NAME | Technical Service Name | 20120319 | |||
| 2 | IV_INTERNAL_SERVICE_VERSION | Call by reference | Type reference (TYPE) | /IWBEP/MED_GRP_VERSION | Service Version | 20120319 | |||
| 3 | IV_TECHNICAL_NAME | Call by reference | Type reference (TYPE) | /IWBEP/MED_MDL_TECHNICAL_NAME | Technical Model Name | 20110621 | |||
| 4 | IV_VERSION | Call by reference | Type reference (TYPE) | /IWBEP/MED_MDL_VERSION | Model Version | 20110621 | |||
| 5 | RO_MODEL | Value transfer | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_ODATA_FW_MODEL | interface for a script based model | 20110621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Meta data exception | 20110621 |
Method GET_MODEL_BADI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INTERNAL_SERVICE_NAME | Call by reference | Type reference (TYPE) | /IWBEP/MED_GRP_TECHNICAL_NAME | Technical Service Name | 20120925 | |||
| 2 | IV_INTERNAL_SERVICE_VERSION | Call by reference | Type reference (TYPE) | /IWBEP/MED_GRP_VERSION | Service Version | 20120925 | |||
| 3 | IV_MODEL_TECHNICAL_NAME | Call by reference | Type reference (TYPE) | /IWBEP/MED_MDL_TECHNICAL_NAME | Technical Model Name | 20120925 | |||
| 4 | IV_MODEL_VERSION | Call by reference | Type reference (TYPE) | /IWBEP/MED_MDL_VERSION | Model Version | 20120925 | |||
| 5 | RO_MODEL_BADI | Value transfer | Object reference (TYPE REF TO) | /IWBEP/BD_MGW_META_DATA_LOAD | 20120925 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Meta data exception | 20120925 |
Method GET_MODEL_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_TECHNICAL_MODEL_NAME | Call by reference | Type reference (TYPE) | /IWBEP/MED_MDL_TECHNICAL_NAME | Technical Model Name | 20110621 | |||
| 2 | EV_TECHNICAL_MODEL_VERSION | Call by reference | Type reference (TYPE) | /IWBEP/MED_MDL_VERSION | Model Version | 20110621 | |||
| 3 | IV_INTERNAL_SERVICE_NAME | Call by reference | Type reference (TYPE) | /IWBEP/MED_GRP_TECHNICAL_NAME | Internal Service Name | 20110621 | |||
| 4 | IV_INTERNAL_SERVICE_VERSION | Call by reference | Type reference (TYPE) | /IWBEP/MED_GRP_VERSION | Internal Service Version | 20110621 |
Method GET_MODEL_KEY on class /IWBEP/CL_MGW_MED_PROVIDER has no exception.
Method MERGE_MODEL_STRUCTURES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_TRGT_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20120222 | ||||
| 2 | IS_SRC_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20120222 | ||||
| 3 | IV_KEY_NAME | Call by reference | Type reference (TYPE) | FIELDNAME | 20120222 |
Method MERGE_MODEL_STRUCTURES on class /IWBEP/CL_MGW_MED_PROVIDER has no exception.
Method MERGE_MODEL_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TRGT | Call by reference | Type reference (TYPE) | ANY TABLE | 20120222 | ||||
| 2 | IT_SRC | Call by reference | Type reference (TYPE) | ANY TABLE | 20120222 | ||||
| 3 | IV_KEY_NAME | Call by reference | Type reference (TYPE) | FIELDNAME | 'ENTITY_ID' | 20120222 |
Method MERGE_MODEL_TABLE on class /IWBEP/CL_MGW_MED_PROVIDER has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 200 |