SAP ABAP Class CL_BPCA_TR_RT_MAPPER (Implementation of a Mapper)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ SV-SMG-TWB-BCA (Application Component) Business Process Change Analyzer
⤷ SAGS_BPCA_TR_RT_MAPPING (Package) BPCA: Mapping of Transport Objects to Runtime Objects
⤷ SV-SMG-TWB-BCA (Application Component) Business Process Change Analyzer
⤷ SAGS_BPCA_TR_RT_MAPPING (Package) BPCA: Mapping of Transport Objects to Runtime Objects
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_BPCA_EX_TR_RT_MAPPER | Maps Transport Objects (TR) to Runtime Objects (RT) | 20100817 |
Properties
Class | CL_BPCA_TR_RT_MAPPER | |
Short Description | Implementation of a Mapper | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SAGS_BPCA_TR_RT_MAPPING | BPCA: Mapping of Transport Objects to Runtime Objects |
Created | 20100817 | 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) |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_BPCA_EX_TR_RT_MAPPER | Maps Transport Objects (TR) to Runtime Objects (RT) | 20100817 |
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_BPCA_EX_TR_RT_FACTORY | 20100817 | Returns a Mapper to create a Mapping |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MT_BUFFER_CLIENT_DEPENDENCY | Static Attribute | Private | Type reference (TYPE) | MTYP_T_CLIENT_DEPENDENCY | local Buffer to check if a Table is client dependent or not | 20100929 | ||
2 | MT_BUFFER_MAPPING | Static Attribute | Private | Type reference (TYPE) | MTYP_T_MAPPING | local Buffer for Mappings | 20100819 | ||
3 | MT_BUFFER_MAPPING_KEYS | Static Attribute | Private | Type reference (TYPE) | MTYP_T_MAPPING_KEYS | local Buffer for Keys | 20100819 | ||
4 | MV_LOCAL_BUFFER_FILLED | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | Indicates weather the local Buffers are filled | 20100819 | ||
5 | MV_LOG_HANDLE | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20100824 | ||
6 | MV_LOG_MESSAGE_COUNT | Instance attribute | Private | Type reference (TYPE) | I | Counter of Application og Messages | 20100826 | ||
7 | MV_TR_TASK | Instance attribute | Private | Type reference (TYPE) | TRKORR | Request/Task | 20100819 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CHECK_IS_TABLE_CLIENT_DEPEND | Instance method | Private | Method | 20100929 | |
2 | CONSTRUCTOR | Instance method | Private | Constructor | CONSTRUCTOR | 20100824 |
3 | CREATE_MULTI_MAPPING | Instance method | Public | Method | 20100825 | |
4 | CREATE_SINGLE_MAPPING | Instance method | Public | Method | 20100825 | |
5 | DB_DELETE_OLD_MAPPINGS | Instance method | Private | Method | Delete old Mappings from the DB | 20100831 |
6 | DB_DEQUEUE | Instance method | Private | Method | Removes the Lock for the Mapping DB Table | 20100824 |
7 | DB_ENQUEUE | Instance method | Private | Method | Sets the Lock for the Maping DB Table | 20100824 |
8 | DB_UPDATE_AS4POS_MAPPING_KEYS | Instance method | Private | Method | Read entries from the to set the correct AS4POS ID for new | 20100909 |
9 | DB_UPDATE_AS4POS_MAPPING_OBJ | Instance method | Private | Method | Read entries from the to set the correct AS4POS ID for new | 20100909 |
10 | DB_WRITE_MAPPING | Instance method | Private | Method | Saves the Mapping in the DB Tables | 20100824 |
11 | FILL_LOCAL_BUFFER | Instance method | Private | Method | Init. the Local Buffers for better reading Performance | 20100819 |
12 | GET_INSTANCE | Static method | Public | Method | Creates and returns a new Mapper Instance | 20100818 |
13 | GET_MAPPING | Instance method | Public | Method | 20100825 | |
14 | GET_MAPPING_FROM_BUFFER | Instance method | Private | Method | Get the Mapping from the local Buffers | 20100825 |
15 | LOG_EXCEPTION | Instance method | Private | Method | Log an Exception in the Application Log | 20100824 |
16 | LOG_INIT_APPLICATION_LOG | Instance method | Private | Method | Initializes Appl. Log | 20100824 |
17 | LOG_SAVE_LOG | Instance method | Private | Method | Saves Logged Data from Buffer to Application Log | 20100824 |
18 | LOG_TEXT | Instance method | Private | Method | Log a Text in the Application Log | 20100824 |
19 | READ_FROM_BUFFER_NO_IMT_KEYS | Instance method | Private | Method | Reads Data from Buffer if no Table with Keys is provided | 20100827 |
20 | READ_FROM_BUFFER_WITH_IMT_KEYS | Instance method | Private | Method | Reads Data from Buffer when a Table with Keys is provided | 20100827 |
21 | SAVE_MAPPING | Instance method | Private | Method | Saves the Mapping Perform DB Locking only and call db_write | 20100824 |
Events
Class CL_BPCA_TR_RT_MAPPER has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | MTYP_S_CLIENT_DEPENDENCY | Private | See coding | 20100929 | BEGIN OF MTYP_S_CLIENT_DEPENDENCY,
name TYPE TABNAME,
is_dependent TYPE ABAP_BOOL,
END OF MTYP_S_CLIENT_DEPENDENCY
|
||
2 | MTYP_T_CLIENT_DEPENDENCY | Private | See coding | 20100929 | mtyp_t_CLIENT_DEPENDENCY TYPE HASHED TABLE OF MTYP_S_CLIENT_DEPENDENCY WITH UNIQUE KEY name
|
||
3 | MTYP_T_MAPPING | Private | See coding | Sorted Table Typ of BPCA_MAPPING DB Table | 20100819 | mtyp_t_mapping TYPE SORTED TABLE OF bpca_mapping WITH NON-UNIQUE KEY tr_pgmid
tr_object_type tr_object_name
|
|
4 | MTYP_T_MAPPING_KEYS | Private | See coding | Sorted Table Typ of BPCA_MAPPING_K DB Table | 20100819 | mtyp_t_mapping_keys TYPE SORTED TABLE OF bpca_mapping_k WITH NON-UNIQUE KEY tr_master_type
tr_master_name tr_object_key
|
|
5 | MTYP_T_MAPPING_KEYS_NO_SORT | Private | See coding | 20100908 | mtyp_t_mapping_keys_no_sort TYPE STANDARD TABLE OF bpca_mapping_k
|
||
6 | MTYP_T_MAPPING_NO_SORT | Private | See coding | Not Sorted Table Typ of BPCA_MAPPING DB Table | 20100831 | mtyp_t_mapping_no_sort TYPE STANDARD TABLE OF bpca_mapping
|
Method Signatures
Method CHECK_IS_TABLE_CLIENT_DEPEND Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IMV_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | Table Name | 20100930 | ||
2 | Returning | RTV_IS_DEPENDENT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100929 |
Method CHECK_IS_TABLE_CLIENT_DEPEND on class CL_BPCA_TR_RT_MAPPER has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IMV_TR_TASK | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20100824 |
Method CONSTRUCTOR on class CL_BPCA_TR_RT_MAPPER has no exception.
Method CREATE_MULTI_MAPPING Signature
Method CREATE_MULTI_MAPPING on class CL_BPCA_TR_RT_MAPPER has no parameter.
Method CREATE_MULTI_MAPPING on class CL_BPCA_TR_RT_MAPPER has no exception.
Method CREATE_SINGLE_MAPPING Signature
Method CREATE_SINGLE_MAPPING on class CL_BPCA_TR_RT_MAPPER has no parameter.
Method CREATE_SINGLE_MAPPING on class CL_BPCA_TR_RT_MAPPER has no exception.
Method DB_DELETE_OLD_MAPPINGS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IMT_OBJECTS | Call by reference | Type reference (TYPE) | MTYP_T_MAPPING_NO_SORT | Not Sorted Table Typ of BPCA_MAPPING DB Table | 20100831 | ||
2 | Importing | IMV_KEY_MAPPING_EXIST | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100831 | |||
3 | Returning | RTV_STATUS | Value transfer | Type reference (TYPE) | I | 20100909 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BPCA_TR_RT_MAPPING | BPCA Mapping API Exception | 20100831 |
Method DB_DEQUEUE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IMV_LOCK_MODE | Call by reference | Type reference (TYPE) | ENQMODE | Lock mode | 20100930 |
Method DB_DEQUEUE on class CL_BPCA_TR_RT_MAPPER has no exception.
Method DB_ENQUEUE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IMV_LOCK_MODE | Call by reference | Type reference (TYPE) | ENQMODE | Lock mode | 20100824 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BPCA_TR_RT_MAPPING | BPCA Mapping API Exception | 20100824 |
Method DB_UPDATE_AS4POS_MAPPING_KEYS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CHT_KEYS | Call by reference | Type reference (TYPE) | MTYP_T_MAPPING_KEYS_NO_SORT | 20100909 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BPCA_TR_RT_MAPPING | BPCA Mapping API Exception | 20100909 |
Method DB_UPDATE_AS4POS_MAPPING_OBJ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CHT_OBJECTS | Call by reference | Type reference (TYPE) | MTYP_T_MAPPING_NO_SORT | Not Sorted Table Typ of BPCA_MAPPING DB Table | 20100909 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BPCA_TR_RT_MAPPING | BPCA Mapping API Exception | 20100909 |
Method DB_WRITE_MAPPING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IMT_KEYS | Call by reference | Type reference (TYPE) | MAPPING_T_TR_RT_KEYS | Key Mappings for TR Object(s) to RT Object(s) | 20100824 | ||
2 | Importing | IMT_OBJECTS | Call by reference | Type reference (TYPE) | MAPPING_T_TR_RT_OBJECTS | Mappings from Transport Object(s) to Runtime Object(s) | 20100824 | ||
3 | Importing | IMV_SET_INITAL_ENTRIES | Call by reference | Type reference (TYPE) | ABAP_BOOL | if True all existing Mappings are replaced/ Keys are updated | 20100824 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BPCA_TR_RT_MAPPING | BPCA Mapping API Exception | 20100824 |
Method FILL_LOCAL_BUFFER Signature
Method FILL_LOCAL_BUFFER on class CL_BPCA_TR_RT_MAPPER has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BPCA_TR_RT_MAPPING | BPCA Mapping API Exception | 20100825 |
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IMV_TR_TASK | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20100824 | ||
2 | Returning | RTO_MAPPER | Value transfer | Object reference (TYPE REF TO) | CL_BPCA_TR_RT_MAPPER | Implementation of a Mapper | 20100818 |
Method GET_INSTANCE on class CL_BPCA_TR_RT_MAPPER has no exception.
Method GET_MAPPING Signature
Method GET_MAPPING on class CL_BPCA_TR_RT_MAPPER has no parameter.
Method GET_MAPPING on class CL_BPCA_TR_RT_MAPPER has no exception.
Method GET_MAPPING_FROM_BUFFER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EXT_KEYS | Call by reference | Type reference (TYPE) | E071K_T | CTS: Table Type for E071K | 20100825 | ||
2 | Exporting | EXT_MAPPING | Call by reference | Type reference (TYPE) | E071_T | CTS: Table Type for E071 | 20100825 | ||
3 | Importing | IMS_TR_OBJECT | Call by reference | Type reference (TYPE) | E071 | Change & Transport System: Object Entries of Requests/Tasks | 20100825 | ||
4 | Importing | IMT_KEYS | Call by reference | Type reference (TYPE) | TR_KEYS | Table Keys | 20100825 |
Method GET_MAPPING_FROM_BUFFER on class CL_BPCA_TR_RT_MAPPER has no exception.
Method LOG_EXCEPTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IMO_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Exception to Log | 20100824 |
Method LOG_EXCEPTION on class CL_BPCA_TR_RT_MAPPER has no exception.
Method LOG_INIT_APPLICATION_LOG Signature
Method LOG_INIT_APPLICATION_LOG on class CL_BPCA_TR_RT_MAPPER has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BPCA_TR_RT_MAPPING | BPCA Mapping API Exception | 20100909 |
Method LOG_SAVE_LOG Signature
Method LOG_SAVE_LOG on class CL_BPCA_TR_RT_MAPPER has no parameter.
Method LOG_SAVE_LOG on class CL_BPCA_TR_RT_MAPPER has no exception.
Method LOG_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IMV_TEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | Text to Log | 20100824 |
Method LOG_TEXT on class CL_BPCA_TR_RT_MAPPER has no exception.
Method READ_FROM_BUFFER_NO_IMT_KEYS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EXT_KEYS | Call by reference | Type reference (TYPE) | E071K_T | CTS: Table Type for E071K | 20100827 | ||
2 | Exporting | EXT_MAPPING | Call by reference | Type reference (TYPE) | E071_T | CTS: Table Type for E071 | 20100827 | ||
3 | Importing | IMS_QUERY | Call by reference | Type reference (TYPE) | BPCA_MAPPING | 20100827 | |||
4 | Importing | IMV_STARTPOS | Call by reference | Type reference (TYPE) | I | 20100831 |
Method READ_FROM_BUFFER_NO_IMT_KEYS on class CL_BPCA_TR_RT_MAPPER has no exception.
Method READ_FROM_BUFFER_WITH_IMT_KEYS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EXT_KEYS | Call by reference | Type reference (TYPE) | E071K_T | CTS: Table Type for E071K | 20100827 | ||
2 | Exporting | EXT_MAPPING | Call by reference | Type reference (TYPE) | E071_T | CTS: Table Type for E071 | 20100827 | ||
3 | Importing | IMS_QUERY | Call by reference | Type reference (TYPE) | BPCA_MAPPING_K | 20100827 | |||
4 | Importing | IMT_KEYS | Call by reference | Type reference (TYPE) | TR_KEYS | Table Keys | 20100827 | ||
5 | Importing | IMV_STARTPOS | Call by reference | Type reference (TYPE) | I | 20100831 |
Method READ_FROM_BUFFER_WITH_IMT_KEYS on class CL_BPCA_TR_RT_MAPPER has no exception.
Method SAVE_MAPPING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IMT_KEYS | Call by reference | Type reference (TYPE) | MAPPING_T_TR_RT_KEYS | Key Mappings for TR Object(s) to RT Object(s) | 20100824 | ||
2 | Importing | IMT_OBJECTS | Call by reference | Type reference (TYPE) | MAPPING_T_TR_RT_OBJECTS | Mappings from Transport Object(s) to Runtime Object(s) | 20100824 | ||
3 | Importing | IMV_SET_INITAL_ENTRIES | Call by reference | Type reference (TYPE) | ABAP_BOOL | if True all existing Mappings are replaced/ Keys are updated | 20100824 | ||
4 | Returning | RTV_SUCCESSFUL | Value transfer | Type reference (TYPE) | I | 0 = Success | 20100824 |
Method SAVE_MAPPING on class CL_BPCA_TR_RT_MAPPER has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 703 |