Hierarchy
⤷
⤷
Properties
| Class | CL_DMC_NONSAP_EXEC | |
| Short Description | Class w/ process steps for nonsap connection | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CNV_DMC_CONFIGURATION | Package for managing configurations of MWB |
| Created | 20120622 | SAP |
| Last change | 20141030 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_DMC_NONSAP_EXEC has no forward declaration.
Interfaces
Class CL_DMC_NONSAP_EXEC has no interface implemented.
Friends
Class CL_DMC_NONSAP_EXEC has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_DMC_NONSAP_CONFIG | Configuration class for non-SAP connections to MWB | 20120622 | |||
| 2 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'MWB_CUST' | Application Log: Subobject | 20120622 | ||
| 3 | Constant | Public | Type reference (TYPE) | BALNREXT | 'CL_DMC_NONSAP_EXEC' | Application Log: External ID | 20120622 | ||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_DMC_LOG_HANDLER | Log handler for MWB/DTL | 20120622 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | DMC_MT_IDENTIFIER | MT_ID of the config because it is used to often | 20120626 | |||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_DMC_DB_DDIC_TOOLS | Tools to access Database System DDIC | 20120622 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Retrieve table list from source DB and add them to the conf | 20120622 | |
| 2 | Instance method | Public | Method | Closes the db connection | 20120622 | |
| 3 | Instance method | Public | Constructor | 20120622 | ||
| 4 | Static method | Public | Method | Factory | 20120622 | |
| 5 | Instance method | Private | Method | Create source synonym for one table | 20120622 | |
| 6 | Instance method | Public | Method | Create source synonyms | 20120622 | |
| 7 | Instance method | Private | Method | Create table index directly on the database | 20130322 | |
| 8 | Instance method | Private | Method | Create view for DB2 on database | 20130322 | |
| 9 | Instance method | Private | Method | Create view directly on the database | 20121214 | |
| 10 | Instance method | Private | Method | Create target table for one source table | 20120622 | |
| 11 | Instance method | Public | Method | Create target tables | 20120622 | |
| 12 | Instance method | Private | Method | Create target table with more than 16 keys | 20121214 | |
| 13 | Instance method | Public | Method | Delete an access plan | 20121123 | |
| 14 | Instance method | Private | Method | Delete the migration objects of a table | 20120719 | |
| 15 | Instance method | Public | Method | Delete the migration objects of this config | 20120719 | |
| 16 | Instance method | Private | Method | Delete one target table | 20120718 | |
| 17 | Instance method | Public | Method | Delete the target tables | 20120622 | |
| 18 | Instance method | Private | Method | Drop one source synonym | 20120622 | |
| 19 | Instance method | Public | Method | Drop source synonyms | 20120622 | |
| 20 | Instance method | Private | Method | Drop table index directly on the database | 20130322 | |
| 21 | Instance method | Private | Method | Drop view on Oracle database | 20130321 | |
| 22 | Instance method | Public | Method | Get list of all table fields | 20121206 | |
| 23 | Instance method | Private | Method | Get name of a view associated to a target table | 20121214 | |
| 24 | Instance method | Public | Method | Remove tables from config and do cleanup before | 20120718 | |
| 25 | Instance method | Private | Method | Remove a single table from the config | 20120904 | |
| 26 | Instance method | Public | Method | Reset the loaded flags of object and the access plan | 20121122 | |
| 27 | Instance method | Private | Method | Create and set a data element for a table field | 20120912 | |
| 28 | Instance method | Private | Method | Check if table and column names contain no " | 20131014 |
Events
Class CL_DMC_NONSAP_EXEC has no event.
Types
Class CL_DMC_NONSAP_EXEC has no local type.
Method Signatures
Method ADD_TABLES_FROM_SCHEMA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_IS_UPLOAD | Call by reference | Type reference (TYPE) | BOOLEAN | 'X' | Upload tables directly into the configuration? | 20120622 | ||
| 2 | IV_NUM_TABLES | Call by reference | Type reference (TYPE) | I | 0 | Number of tables that will be added | 20120626 | ||
| 3 | RT_TABLES | Value transfer | Type reference (TYPE) | TTTABNAME | List of all tables | 20120622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120622 |
Method CLOSE_DB_CONNECTION Signature
Method CLOSE_DB_CONNECTION on class CL_DMC_NONSAP_EXEC has no parameter.
Method CLOSE_DB_CONNECTION on class CL_DMC_NONSAP_EXEC has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONFIG | Call by reference | Object reference (TYPE REF TO) | CL_DMC_NONSAP_CONFIG | Configuration class for non-SAP connections to MWB | 20120622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120622 |
Method CREATE_EXEC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONFIG | Call by reference | Object reference (TYPE REF TO) | CL_DMC_NONSAP_CONFIG | Configuration class for non-SAP connections to MWB | 20120622 | |||
| 2 | RO_EXEC | Value transfer | Object reference (TYPE REF TO) | CL_DMC_NONSAP_EXEC | Class w/ process steps for nonsap connection | 20120622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120622 |
Method CREATE_SOURCE_SYNONYM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DBCON | Call by reference | Type reference (TYPE) | DBCON_NAME | Logical name for a database connection | 20120622 | |||
| 2 | IV_SCHEMA | Call by reference | Type reference (TYPE) | DBCON_UID | Database user | 20120622 | |||
| 3 | IV_SYNONYM_NAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120622 | |||
| 4 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120622 |
Method CREATE_SOURCE_SYNONYMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TAB_RANGE | Call by reference | Type reference (TYPE) | DMC_RANGES_TABNAME | Number of Tables | 20120622 | |||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120622 |
Method CREATE_SQL_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DD03P | Call by reference | Type reference (TYPE) | DMC_DD03P_TAB | DMC: Table type for the field list of a structure | 20130322 | |||
| 2 | IV_IS_UNIQUE_INDEX | Call by reference | Type reference (TYPE) | BOOLEAN | 'X' | Create unique index | 20130322 | ||
| 3 | IV_TARGET_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20130322 |
Method CREATE_SQL_VIEW_DB2 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DD03P | Call by reference | Type reference (TYPE) | DMC_DD03P_TAB | DMC: Table type for the field list of a structure | 20130322 | |||
| 2 | IV_TARGET_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130322 | |||
| 3 | IV_VIEW_NAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20130322 |
Method CREATE_SQL_VIEW_ORA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DD03P | Call by reference | Type reference (TYPE) | DMC_DD03P_TAB | DMC: Table type for the field list of a structure | 20121214 | |||
| 2 | IV_TARGET_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20121214 | |||
| 3 | IV_VIEW_NAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20121214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20121214 |
Method CREATE_TARGET_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SCHEMA | Call by reference | Type reference (TYPE) | DBCON_UID | Database user | 20120622 | |||
| 2 | IV_SRC_DBCON | Call by reference | Type reference (TYPE) | DBCON_NAME | Logical name for a database connection | 20120717 | |||
| 3 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120622 | |||
| 4 | IV_TARGET_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120622 |
Method CREATE_TARGET_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TAB_RANGE | Call by reference | Type reference (TYPE) | DMC_RANGES_TABNAME | Table Name | 20120622 | |||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120622 |
Method CREATE_TARGET_TABLE_EXT_KEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DD02V | Call by reference | Type reference (TYPE) | DD02V | Generated Table for View DD02V | 20121214 | |||
| 2 | IS_DD09L | Call by reference | Type reference (TYPE) | DD09L | DD: Technical settings of tables | 20121214 | |||
| 3 | IT_DD03P | Call by reference | Type reference (TYPE) | DMC_DD03P_TAB | DMC: Table type for the field list of a structure | 20121214 | |||
| 4 | IV_TARGET_RFC | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20121214 | |||
| 5 | IV_TARGET_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Name of the target table | 20121214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20121214 |
Method DELETE_ACCESS_PLAN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TAB_RANGE | Call by reference | Type reference (TYPE) | DMC_RANGES_TABNAME | Ranges Table for Table Name | 20121123 | |||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20121123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20121123 |
Method DELETE_MIGRATION_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SOURCE_SYNONYM | Call by reference | Type reference (TYPE) | TABNAME | Source synonym (Tabname used in DMC_MT_TABLES) | 20120719 | |||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Source tabname (tabname used in DMC_MT_TABLE_MAP) | 20120719 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120719 |
Method DELETE_MIGRATION_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TAB_RANGE | Call by reference | Type reference (TYPE) | DMC_RANGES_TABNAME | Number of Tables | 20120719 | |||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120719 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120719 |
Method DELETE_TARGET_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_IS_RESET_MIGS | Call by reference | Type reference (TYPE) | BOOLEAN | '-' | Reset dependent migration object? | 20120718 | ||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120718 | |||
| 3 | IV_TARGET_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120718 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120718 |
Method DELETE_TARGET_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TAB_RANGE | Call by reference | Type reference (TYPE) | DMC_RANGES_TABNAME | Number of Tables | 20120622 | |||
| 2 | IV_IS_RESET_MIGS | Call by reference | Type reference (TYPE) | BOOLEAN | '-' | Reset dependent migration objects? | 20120718 | ||
| 3 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120622 |
Method DROP_SOURCE_SYNONYM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_IS_RESET_MIGS | Call by reference | Type reference (TYPE) | BOOLEAN | '-' | Reset dependent migration objects? | 20120718 | ||
| 2 | IV_SCHEMA | Call by reference | Type reference (TYPE) | DBCON_UID | Database user | 20120622 | |||
| 3 | IV_SYNONYM_NAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120622 | |||
| 4 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120622 |
Method DROP_SOURCE_SYNONYMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TAB_RANGE | Call by reference | Type reference (TYPE) | DMC_RANGES_TABNAME | Number of Tables | 20120622 | |||
| 2 | IV_IS_RESET_MIGS | Call by reference | Type reference (TYPE) | BOOLEAN | '-' | Reset dependent migration objects? | 20120718 | ||
| 3 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120622 |
Method DROP_SQL_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TARGET_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20130322 |
Method DROP_SQL_VIEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VIEW_NAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20130321 |
Method GET_SOURCE_TABLE_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SCHEMA | Call by reference | Type reference (TYPE) | CHAR30 | Database schema | 20121206 | |||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20121206 | |||
| 3 | RT_DD03P | Value transfer | Type reference (TYPE) | DMC_DD03P_TAB | DMC: Table type for the field list of a structure | 20121206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20121206 |
Method GET_VIEW_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TARGET_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | only /1LT/ and /1CADMC/ namespaces permitted | 20121214 | |||
| 2 | RV_VIEW_NAME | Value transfer | Type reference (TYPE) | TABNAME | Table Name | 20121214 |
Method GET_VIEW_NAME on class CL_DMC_NONSAP_EXEC has no exception.
Method REMOVE_TABLES_FROM_CONFIG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TAB_RANGE | Call by reference | Type reference (TYPE) | DMC_RANGES_TABNAME | Ranges Table for Table Name | 20120718 | |||
| 2 | IV_IS_CLEAN_ALL | Call by reference | Type reference (TYPE) | BOOLEAN | '-' | boolean variable (X=true, -=false, space=unknown) | 20120718 | ||
| 3 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120718 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120718 |
Method REMOVE_TABLE_FROM_CONFIG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_TABLE | Call by reference | Type reference (TYPE) | DMC_MT_TABLE_MAP | Table Name | 20120904 | |||
| 2 | IV_IS_CLEAN_DEEP | Call by reference | Type reference (TYPE) | BOOLEAN | boolean variable (X=true, -=false, space=unknown) | 20120904 | |||
| 3 | IV_SCHEMA | Call by reference | Type reference (TYPE) | DBCON_UID | Database user | 20120904 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120904 |
Method RESET_LOADED_FLAGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TAB_RANGE | Call by reference | Type reference (TYPE) | DMC_RANGES_TABNAME | Ranges Table for Table Name | 20121122 | |||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20121122 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20131017 |
Method SET_DATA_ELEMENT_FOR_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_DD03P | Call by reference | Type reference (TYPE) | DD03P | Structure | 20120912 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20120912 |
Method VALIDATE_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DD03P | Call by reference | Type reference (TYPE) | DMC_DD03P_TAB | DMC: Table type for the field list of a structure | 20131014 | |||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20131014 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for MWB configuration classes | 20131014 |
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in | 2010_1_620 |