SAP ABAP Class CL_MDG_CODE_MAPPING_DB_ACCESS (Class handles access to DB-Tables for Value-MappingFramework)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-MDG-VM (Application Component) Value Mapping
⤷
MDG_BS_VALUE_MAPPING_DATABASE (Package) MDG: Value Mapping Database
⤷
⤷
Properties
| Class | CL_MDG_CODE_MAPPING_DB_ACCESS | |
| Short Description | Class handles access to DB-Tables for Value-MappingFramework | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | MDG_BS_VALUE_MAPPING_DATABASE | MDG: Value Mapping Database |
| Created | 20090310 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_MDG_CODE_MAPPING_DB_ACCESS has no interface implemented.
Friends
Class CL_MDG_CODE_MAPPING_DB_ACCESS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | See coding | 20090310 | |||||
| 2 | Static Attribute | Private | See coding | 20090519 | |||||
| 3 | Static Attribute | Private | See coding | 20090310 | |||||
| 4 | Static Attribute | Private | See coding | Specifies proxy elements where core data type is code | 20090310 | ||||
| 5 | Static Attribute | Private | See coding | 20090310 | |||||
| 6 | Static Attribute | Private | Type reference (TYPE) | MDG_T_SPROXDAT_DATA | copy of sproxdat | 20090323 | |||
| 7 | Static Attribute | Private | See coding | Substitution Table. DO NOT change in Support Package => Docu | 20090310 | ||||
| 8 | Static Attribute | Private | See coding | 20090519 | |||||
| 9 | Static Attribute | Private | Type reference (TYPE) | MDG_T_SPROXDAT_DATA | copy of sproxdat | 20090519 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Returns Codelist for a Specific Mapping Context | 20090310 | |
| 2 | Static method | Public | Method | Returns Data from SCODE_REGISTRY for OBJ_NAME | 20090310 | |
| 3 | Static method | Public | Method | Returns DATA from mdgd_domain_mapping | 20090310 | |
| 4 | Static method | Public | Method | Returns DATA from MDGD_ELEMENT for Object, obj_name | 20090310 | |
| 5 | Static method | Public | Method | Returns the Proxy-Element Which Is Default for GDT. | 20090316 | |
| 6 | Static method | Public | Method | Returns Mapping Context for Given Object, obj_name sup.comp. | 20090310 | |
| 7 | Static method | Public | Method | Returns all Proxy-Elements for a Given ESR Name | 20090310 | |
| 8 | Static method | Public | Method | Returns Data from SPROXHDR for Specified Object, obj_name | 20090310 | |
| 9 | Static method | Public | Method | Returns Data from SPROXDAT for Specified Object, obj_name | 20090323 |
Events
Class CL_MDG_CODE_MAPPING_DB_ACCESS has no event.
Types
Class CL_MDG_CODE_MAPPING_DB_ACCESS has no local type.
Method Signatures
Method GET_CODELIST_DYNAMIC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CODELIST | Call by reference | Type reference (TYPE) | MDGT_CODEMAP | Code List | 20090310 | |||
| 2 | IV_DBTAB | Call by reference | Type reference (TYPE) | STRING | Name of Database-Table | 20090310 | |||
| 3 | IV_MAPCONTEXT | Call by reference | Type reference (TYPE) | MDG_MAPCONTEXT | Mapping Context Key | 20090310 | |||
| 4 | IV_OBJECT | Call by reference | Type reference (TYPE) | PRX_R3OBJ | Proxy Generation: Object Type in R3 (DTEL, TABL,...) | 20090310 | |||
| 5 | IV_OBJ_NAME | Call by reference | Type reference (TYPE) | PRX_R3NAME | Proxy Generation: Name of an Object in R/3 | 20090310 |
Method GET_CODELIST_DYNAMIC on class CL_MDG_CODE_MAPPING_DB_ACCESS has no exception.
Method GET_CODE_REGISTRY_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_CODEREGISTRY | Call by reference | Type reference (TYPE) | SCODE_REGISTRY | Code Type Registry: Code Type <=> IMG Table or Search Help | 20090310 | |||
| 2 | IV_OBJ_NAME | Call by reference | Type reference (TYPE) | PRX_R3NAME | Proxy Generation: Name of an Object in R/3 | 20090310 |
Method GET_CODE_REGISTRY_DATA on class CL_MDG_CODE_MAPPING_DB_ACCESS has no exception.
Method GET_DOMAIN_MAPPER_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MAPPER | Call by reference | Type reference (TYPE) | MDG_MAPPER | Name of Mapping Class which implements IF_MDG_CODE_MAPPER | 20090310 | |||
| 2 | IV_DOMNAME | Call by reference | Type reference (TYPE) | DOMNAME_SG | Name of a domain with Set/Get parameter | 20090310 | |||
| 3 | IV_OBJECT | Call by reference | Type reference (TYPE) | PRX_R3OBJ | Proxy Generation: Object Type in R3 (DTEL, TABL,...) | 20090310 | |||
| 4 | IV_OBJ_NAME | Call by reference | Type reference (TYPE) | PRX_R3NAME | Proxy Generation: Name of an Object in R/3 | 20090310 |
Method GET_DOMAIN_MAPPER_NAME on class CL_MDG_CODE_MAPPING_DB_ACCESS has no exception.
Method GET_ELEMENT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT | Call by reference | Type reference (TYPE) | PRX_R3OBJ | Proxy Generation: Object Type in R3 (DTEL, TABL,...) | 20090310 | |||
| 2 | IV_OBJ_NAME | Call by reference | Type reference (TYPE) | PRX_R3NAME | Proxy Generation: Name of an Object in R/3 | 20090310 | |||
| 3 | RS_ELEMENT | Value transfer | Type reference (TYPE) | MDGD_ELEMENT | Specifies proxy elements where core data type is code | 20090310 |
Method GET_ELEMENT_DATA on class CL_MDG_CODE_MAPPING_DB_ACCESS has no exception.
Method GET_GDT_DEFAULT_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DEF_PROXY_ELEMENT | Call by reference | Type reference (TYPE) | MDGD_ELEMENT | Specifies proxy elements where core data type is code | 20090316 | |||
| 2 | IV_OBJECT | Call by reference | Type reference (TYPE) | PRX_R3OBJ | Proxy Generation: Object Type in R3 (DTEL, TABL,...) | 20090316 | |||
| 3 | IV_OBJ_NAME | Call by reference | Type reference (TYPE) | PRX_R3NAME | Proxy Generation: Name of an Object in R/3 | 20090316 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for Value Mapping | 20090316 |
Method GET_MAPCTX_DYNAMIC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MAPCONTEXT | Call by reference | Type reference (TYPE) | MDGD_CMAPCONTEXT | Specifies Mapping Contexts of code-mapping | 20090310 | |||
| 2 | IV_DBTAB | Call by reference | Type reference (TYPE) | STRING | DB-Table from which the Values should be read. | 20090310 | |||
| 3 | IV_INTERNAL_LIST_ID | Call by reference | Type reference (TYPE) | MDG_LIST_ID | CCT List ID like UKM_E_CCT_ID_S_ID | 20090310 | |||
| 4 | IV_LIST_AGENCY_ID | Call by reference | Type reference (TYPE) | MDG_LIST_AGENCY_ID | CCT List Agency ID, like UKM_E_CCT_ID_SA_ID | 20090310 | |||
| 5 | IV_LIST_ID | Call by reference | Type reference (TYPE) | MDG_LIST_ID | CCT List ID like UKM_E_CCT_ID_S_ID | 20090310 | |||
| 6 | IV_LIST_VERSION | Call by reference | Type reference (TYPE) | MDG_LIST_VERSION | CCT List Version ID, like UKM_E_CCT_ID_SV_ID | 20090310 | |||
| 7 | IV_MAPCONTEXT | Call by reference | Type reference (TYPE) | MDG_MAPCONTEXT | Mapping Context Key | 20090310 | |||
| 8 | IV_OBJECT | Call by reference | Type reference (TYPE) | PRX_R3OBJ | Proxy Generation: Object Type in R3 (DTEL, TABL,...) | 20090310 | |||
| 9 | IV_OBJ_NAME | Call by reference | Type reference (TYPE) | PRX_R3NAME | Proxy Generation: Name of an Object in R/3 | 20090310 | |||
| 10 | IV_OUT_MAP_DEFAULT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090310 |
Method GET_MAPCTX_DYNAMIC on class CL_MDG_CODE_MAPPING_DB_ACCESS has no exception.
Method GET_PROXY_DATA_FOR_ESR_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PROXY_ELEMENTS | Call by reference | Type reference (TYPE) | MDG_T_PROXY_DATA | temporaray copy of sproxhdr | 20090310 | |||
| 2 | IV_IFR_NAME | Call by reference | Type reference (TYPE) | C | 20090310 |
Method GET_PROXY_DATA_FOR_ESR_NAME on class CL_MDG_CODE_MAPPING_DB_ACCESS has no exception.
Method GET_PROXY_OBJ_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT | Call by reference | Type reference (TYPE) | PRX_R3OBJ | Proxy Generation: Object Type in R3 (DTEL, TABL,...) | 20090310 | |||
| 2 | IV_OBJ_NAME | Call by reference | Type reference (TYPE) | PRX_R3NAME | Proxy Generation: Name of an Object in R/3 | 20090310 | |||
| 3 | RS_SPROXHDR | Value transfer | Type reference (TYPE) | MDG_S_PROXY_DATA | Copy of SPROXHDR | 20090310 |
Method GET_PROXY_OBJ_DATA on class CL_MDG_CODE_MAPPING_DB_ACCESS has no exception.
Method GET_SPROXDAT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_SPROXDAT_DATA | Call by reference | Type reference (TYPE) | MDG_S_SPROXDAT_DATA | Substitution Table. DO NOT change in Support Package => Docu | 20090323 | |||
| 2 | IV_OBJECT | Call by reference | Type reference (TYPE) | PRX_R3OBJ | Proxy Generation: Object Type in R3 (DTEL, TABL,...) | 20090323 | |||
| 3 | IV_OBJ_NAME | Call by reference | Type reference (TYPE) | PRX_R3NAME | Proxy Generation: Name of an Object in R/3 | 20090323 |
Method GET_SPROXDAT_DATA on class CL_MDG_CODE_MAPPING_DB_ACCESS has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 702 |