SAP ABAP Class CL_SMIGRATION_BASE (General base class for Basis and BW migration)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DB (Application Component) Database Interface, Database Platforms
⤷
SMIGR (Package) Homogeneous and Non-Homogeneous DB System Migration

⤷

⤷

Meta Relationship - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_RSMIGRATION_DDL | DB independent DDL generation for BW tables | 20110223 |
2 | Inheritance (c INHERITING FROM c_ref) | CL_SMIGRATION_DDL | DB independent DDL generation for Non-BW tables | 20110222 |
Properties
Class | CL_SMIGRATION_BASE | |
Short Description | General base class for Basis and BW migration | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SMIGR | Homogeneous and Non-Homogeneous DB System Migration |
Created | 20110222 | SAP |
Last change | 20130531 | 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_SMIGRATION_BASE has no interface implemented.
Friends
Class CL_SMIGRATION_BASE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | MGR_S_DB_INFO | Source DB release | 20110321 | ||
2 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | TABART | Data class in technical settings | 20110222 | ||
3 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | TABNAME | Table Name | 20110222 | ||
4 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | MGR_S_DB_INFO | Target DB release | 20110321 | ||
5 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | MGR_T_DD03P | Table Columns | 20110808 | ||
6 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | MGR_T_DD12V | Table indexes | 20110808 | ||
7 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | MGR_T_DD17V | Table index columns | 20110808 | ||
8 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | SMIGRATIONERRORTAB | 20120529 | |||
9 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | MGR_T_DD17V | List of unique indexes and their fields | 20110808 | ||
10 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | C | Unicode conversion | 20110222 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Protected | Method | Appends statements right after the CREATE TABLE statement | 20120522 |
2 | ![]() |
Instance method | Protected | Method | Writes an index dummy entry to table MGRDDL | 20110222 |
3 | ![]() |
Instance method | Protected | Method | Writes index storage entries in a homogeneous system copy | 20110222 |
4 | ![]() |
Instance method | Protected | Method | Writes table storage entries in a homogeneous system copy | 20110222 |
5 | ![]() |
Instance method | Protected | Method | Writes dummy entries for indexes of other platforms | 20110504 |
6 | ![]() |
Instance method | Public | Method | Triggers DDL generation (main method) | 20110222 |
7 | ![]() |
Instance method | Protected | Method | Generates DDL statements base on index storage entries | 20110222 |
8 | ![]() |
Instance method | Protected | Method | Returns the value of option that belongs to the target relea | 20110321 |
9 | ![]() |
Instance method | Protected | Method | Generates DDL statements base on table storage entries | 20110222 |
10 | ![]() |
Instance method | Protected | Method | Logs waring or error into CL_SMIGRATION attrib. p_t_errorlog | 20110511 |
11 | ![]() |
Instance method | Protected | Method | Save the DDL statements in table MGRDDL | 20110222 |
Events
Class CL_SMIGRATION_BASE has no event.
Types
Class CL_SMIGRATION_BASE has no local type.
Method Signatures
Method APPEND_AFTER_CREATE_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_INSERT_AT_POS_0 | Value transfer | Type reference (TYPE) | C | ' ' | 20120522 | ||
2 | ![]() |
I_SQL_STATEMENTS | Value transfer | Type reference (TYPE) | MGR_T_SQL_STATEMENTS | 20120522 |
Method APPEND_AFTER_CREATE_TABLE on class CL_SMIGRATION_BASE has no exception.
Method CREATE_INDEX_DUMMY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DBINDEX | Call by reference | Type reference (TYPE) | DD12L-DBINDEX | Database index | 20110222 | ||
2 | ![]() |
INDEXNAME | Call by reference | Type reference (TYPE) | DD12L-INDEXNAME | Unique Index ID in a Table | 20110222 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception during execution of SMIGR_CREATE_DDL | 20110222 |
Method DDSTORAGE_FOR_SYSTEM_COPY_IDX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_T_EXCLUDE_INDEXES | Call by reference | Type reference (TYPE) | MGR_T_DD12V | 20110222 |
Method DDSTORAGE_FOR_SYSTEM_COPY_IDX on class CL_SMIGRATION_BASE has no exception.
Method DDSTORAGE_FOR_SYSTEM_COPY_TBL Signature
Method DDSTORAGE_FOR_SYSTEM_COPY_TBL on class CL_SMIGRATION_BASE has no parameter.
Method DDSTORAGE_FOR_SYSTEM_COPY_TBL on class CL_SMIGRATION_BASE has no exception.
Method EXCLUDE_FOREIGN_INDEXES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_T_DD12V | Call by reference | Type reference (TYPE) | MGR_T_DD12V | 20110504 | |||
2 | ![]() |
E_T_DD12V | Value transfer | Type reference (TYPE) | MGR_T_DD12V | 20110504 |
Method EXCLUDE_FOREIGN_INDEXES on class CL_SMIGRATION_BASE has no exception.
Method GET_DDL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_T_ERRORS | Call by reference | Type reference (TYPE) | SMIGRATIONERRORTAB | 20120529 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Breaks processing while running SMIGR_CREATE_DDL | 20110222 | |
2 | ![]() |
Exception during execution of SMIGR_CREATE_DDL | 20110222 |
Method GET_INDEXES_DDL_FROM_DDSTORAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_T_DD12V | Call by reference | Type reference (TYPE) | MGR_T_DD12V | R/3 S_SECINDEX: secondary indexes, header; | 20110222 | ||
2 | ![]() |
C_T_DD17V | Call by reference | Type reference (TYPE) | MGR_T_DD17V | R/3 S_SECINDEX: secondary indexes, fields | 20110222 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception during execution of SMIGR_CREATE_DDL | 20110222 |
Method GET_MIGRATION_OPTION_BY_KEY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_KEY | Call by reference | Type reference (TYPE) | STRING | 20110321 | |||
2 | ![]() |
R_VALUE | Value transfer | Type reference (TYPE) | STRING | 20110321 |
Method GET_MIGRATION_OPTION_BY_KEY on class CL_SMIGRATION_BASE has no exception.
Method GET_TABLE_DDL_FROM_DDSTORAGE Signature
Method GET_TABLE_DDL_FROM_DDSTORAGE on class CL_SMIGRATION_BASE has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception during execution of SMIGR_CREATE_DDL | 20110222 |
Method LOG_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_DBINDEXNAME | Call by reference | Type reference (TYPE) | DD12L-DBINDEX | Database index | 20110511 | ||
2 | ![]() |
I_INDEXNAME | Call by reference | Type reference (TYPE) | DD12L-INDEXNAME | Unique Index ID in a Table | 20110511 | ||
3 | ![]() |
I_MSG | Call by reference | Type reference (TYPE) | STRING | 20110511 | |||
4 | ![]() |
I_MSG_TYPE | Call by reference | Type reference (TYPE) | C | 'W' | 20110511 | ||
5 | ![]() |
I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20110511 |
Method LOG_MESSAGE on class CL_SMIGRATION_BASE has no exception.
Method SAVE_STATEMENTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_MGR_DDL | Call by reference | Type reference (TYPE) | MGR_S_DDL | Generated MGRDLL table entry | 20110222 | ||
2 | ![]() |
I_DBINDEXNAME | Call by reference | Type reference (TYPE) | DD12L-DBINDEX | '' | Database index | 20110222 | |
3 | ![]() |
I_INDEXNAME | Call by reference | Type reference (TYPE) | DD12L-INDEXNAME | '' | Unique Index ID in a Table | 20110222 | |
4 | ![]() |
I_SQL_STATEMENTS | Call by reference | Type reference (TYPE) | MGR_T_SQL_STATEMENTS | SQL statements to be saved | 20110222 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception during execution of SMIGR_CREATE_DDL | 20110222 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 731 |