SAP ABAP Class CL_MDG_ACCESS_OTC_BS (Accessor class for IDS Code)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-MDG-KM (Application Component) Key Mapping
⤷
MDG_BS_CC_OBJECT_TYPE_CODE (Package) MDG: Object Type Code
⤷
⤷
Properties
| Class | CL_MDG_ACCESS_OTC_BS | |
| Short Description | Accessor class for IDS Code | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | MDG_BS_CC_OBJECT_TYPE_CODE | MDG: Object Type Code |
| Created | 20090216 | 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_ACCESS_OTC_BS has no interface implemented.
Friends
Class CL_MDG_ACCESS_OTC_BS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | TY_GTS_OTC_PER_LANGU | Object Type Codes per language | 20090218 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Get all Object type codes with descriptions | 20090218 | |
| 2 | Static method | Public | Method | Select the main OTC for the given Object Type Code | 20100527 | |
| 3 | Static method | Public | Method | Select all Projections for the given Main Object Type Code | 20100527 | |
| 4 | Static method | Public | Method | Get OTC data for a given BOR Object | 20100621 | |
| 5 | Static method | Public | Method | Select several instances of Object Type Codes with desc. | 20090302 | |
| 6 | Static method | Public | Method | Select multiple and determines related (proj. and main) OTCs | 20100121 | |
| 7 | Static method | Public | Method | Select one instance of an Object Type Code with description | 20090218 |
Events
Class CL_MDG_ACCESS_OTC_BS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_GS_OTC | Private | Type reference (TYPE) | MDGI_OTC_BS | 20090304 | |
|
| 2 | TY_GS_OTC_ATTR | Private | Type reference (TYPE) | MDG_OTC_ATTR | 20091021 | |
|
| 3 | TY_GS_OTC_PER_LANGU | Private | See coding | 20090302 | begin of ty_gs_otc_per_langu,
langu type sy-langu,
otc_data type mdg_t_otc_with_descr_bs,
get_all_processed type abap_bool,
end of ty_gs_otc_per_langu
|
||
| 4 | TY_GS_OTC_T | Private | Type reference (TYPE) | MDGI_OTC_T_BS | 20090304 | |
|
| 5 | TY_GTS_OTC | Private | See coding | 20090304 | ty_gts_otc type sorted table of ty_gs_otc
with unique key object_type_code
|
||
| 6 | TY_GTS_OTC_ATTR | Private | See coding | 20091021 | ty_gts_otc_attr type SORTED TABLE OF ty_gs_otc_attr
with UNIQUE KEY object_type_code
|
||
| 7 | TY_GTS_OTC_PER_LANGU | Private | See coding | 20090302 | ty_gts_otc_per_langu type sorted table of ty_gs_otc_per_langu
with unique key langu
|
||
| 8 | TY_GTS_OTC_T | Private | See coding | 20090304 | ty_gts_otc_t type sorted table of ty_gs_otc_t
with unique key langu object_type_code
|
Method Signatures
Method GET_ALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_T_OTC_WITH_DESCR_BS | Object Type Codes with description | 20090302 | |||
| 2 | IV_ENFORCE_DB_READ | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | 'X': Data are read from DB and not from internal buffer | 20100716 | ||
| 3 | IV_LANGU | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Language Key | 20090218 |
Method GET_ALL on class CL_MDG_ACCESS_OTC_BS has no exception.
Method GET_MAIN_OTC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_S_OTC_WITH_DESCR_BS | Object Type Code with description | 20100527 | |||
| 2 | EV_NOTFOUND | Call by reference | Type reference (TYPE) | BOOLE_D | OTC Entry not found | 20100527 | |||
| 3 | IV_ENFORCE_DB_READ | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | 'X': Data are read from DB and not from internal buffer | 20100716 | ||
| 4 | IV_LANGU | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Language Key | 20100527 | ||
| 5 | IV_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Object Type Code | 20100527 |
Method GET_MAIN_OTC on class CL_MDG_ACCESS_OTC_BS has no exception.
Method GET_ONLY_PROJECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_T_OTC_WITH_DESCR_BS | Object Type Codes with description | 20100527 | |||
| 2 | IV_ENFORCE_DB_READ | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | 'X': Data are read from DB and not from internal buffer | 20100716 | ||
| 3 | IV_LANGU | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Language Key | 20100527 | ||
| 4 | IV_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Business Object Type | 20100527 |
Method GET_ONLY_PROJECTION on class CL_MDG_ACCESS_OTC_BS has no exception.
Method GET_OTC_FOR_BOR_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_S_OTC_WITH_DESCR_BS | Object Type Code with description | 20100621 | |||
| 2 | EV_NOTFOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100621 | |||
| 3 | IV_BOR_OBJECT | Call by reference | Type reference (TYPE) | SWO_OBJTYP | Object Type | 20100621 | |||
| 4 | IV_LANGU | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Language Key | 20100621 |
Method GET_OTC_FOR_BOR_SINGLE on class CL_MDG_ACCESS_OTC_BS has no exception.
Method GET_OTC_MULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_T_OTC_WITH_DESCR_BS | Object Type Codes with description | 20090302 | |||
| 2 | IT_OTC | Call by reference | Type reference (TYPE) | MDG_T_OTC_ONLY_BS | List of Object Type Codes without any additional data | 20090302 | |||
| 3 | IV_ENFORCE_DB_READ | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | 'X': Data are read from DB and not from internal buffer | 20100716 | ||
| 4 | IV_INCLUDE_MAIN_OBJ | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | 'X': Include Main Object for Projection Obj. | 20100121 | ||
| 5 | IV_LANGU | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Language Key | 20090302 |
Method GET_OTC_MULT on class CL_MDG_ACCESS_OTC_BS has no exception.
Method GET_OTC_MULT_WITH_RELATED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_T_OTC_WITH_DESCR_BS | Object Type Codes with description | 20100121 | |||
| 2 | IT_OTC | Call by reference | Type reference (TYPE) | MDG_T_OTC_ONLY_BS | List of Object Type Codes without any additional data | 20100121 | |||
| 3 | IV_ENFORCE_DB_READ | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | 'X': Data are read from DB and not from internal buffer | 20100716 | ||
| 4 | IV_LANGU | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Language Key | 20100121 |
Method GET_OTC_MULT_WITH_RELATED on class CL_MDG_ACCESS_OTC_BS has no exception.
Method GET_SINGLE_OTC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_S_OTC_WITH_DESCR_BS | Object Type Code with description | 20090302 | |||
| 2 | EV_NOTFOUND | Call by reference | Type reference (TYPE) | BOOLE_D | OTC Entry not found | 20090218 | |||
| 3 | IV_ENFORCE_DB_READ | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | 'X': Data are read from DB and not from internal buffer | 20100716 | ||
| 4 | IV_LANGU | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Language Key | 20090218 | ||
| 5 | IV_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Object Type Code | 20090218 |
Method GET_SINGLE_OTC on class CL_MDG_ACCESS_OTC_BS has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 702 |