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 MGR 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 P_SOURCE_DBINFO Instance attribute Protected Type reference (TYPE) MGR_S_DB_INFO Source DB release 20110321
2 P_TABART Instance attribute Protected Type reference (TYPE) TABART Data class in technical settings 20110222
3 P_TABNAME Instance attribute Protected Type reference (TYPE) TABNAME Table Name 20110222
4 P_TARGET_DBINFO Instance attribute Protected Type reference (TYPE) MGR_S_DB_INFO Target DB release 20110321
5 P_T_DD03P Instance attribute Protected Type reference (TYPE) MGR_T_DD03P Table Columns 20110808
6 P_T_DD12V Instance attribute Protected Type reference (TYPE) MGR_T_DD12V Table indexes 20110808
7 P_T_DD17V Instance attribute Protected Type reference (TYPE) MGR_T_DD17V Table index columns 20110808
8 P_T_ERRORS Instance attribute Protected Type reference (TYPE) SMIGRATIONERRORTAB 20120529
9 P_T_UNIQUE_INDEX_FIELDS Instance attribute Protected Type reference (TYPE) MGR_T_DD17V List of unique indexes and their fields 20110808
10 P_UNICODE_CONV Instance attribute Protected Type reference (TYPE) C Unicode conversion 20110222
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_AFTER_CREATE_TABLE Instance method Protected Method Appends statements right after the CREATE TABLE statement 20120522
2 CREATE_INDEX_DUMMY Instance method Protected Method Writes an index dummy entry to table MGRDDL 20110222
3 DDSTORAGE_FOR_SYSTEM_COPY_IDX Instance method Protected Method Writes index storage entries in a homogeneous system copy 20110222
4 DDSTORAGE_FOR_SYSTEM_COPY_TBL Instance method Protected Method Writes table storage entries in a homogeneous system copy 20110222
5 EXCLUDE_FOREIGN_INDEXES Instance method Protected Method Writes dummy entries for indexes of other platforms 20110504
6 GET_DDL Instance method Public Method Triggers DDL generation (main method) 20110222
7 GET_INDEXES_DDL_FROM_DDSTORAGE Instance method Protected Method Generates DDL statements base on index storage entries 20110222
8 GET_MIGRATION_OPTION_BY_KEY Instance method Protected Method Returns the value of option that belongs to the target relea 20110321
9 GET_TABLE_DDL_FROM_DDSTORAGE Instance method Protected Method Generates DDL statements base on table storage entries 20110222
10 LOG_MESSAGE Instance method Protected Method Logs waring or error into CL_SMIGRATION attrib. p_t_errorlog 20110511
11 SAVE_STATEMENTS 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 Importing I_INSERT_AT_POS_0 Value transfer Type reference (TYPE) C ' ' 20120522
2 Importing 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 Importing DBINDEX Call by reference Type reference (TYPE) DD12L-DBINDEX Database index 20110222
2 Importing INDEXNAME Call by reference Type reference (TYPE) DD12L-INDEXNAME Unique Index ID in a Table 20110222
# Exception Resumable Description Created on
1 CX_SMIGRATION_EXCEPTION 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 Importing 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 Changing C_T_DD12V Call by reference Type reference (TYPE) MGR_T_DD12V 20110504
2 Exporting 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 Exporting E_T_ERRORS Call by reference Type reference (TYPE) SMIGRATIONERRORTAB 20120529
# Exception Resumable Description Created on
1 CX_SMIGRATION_BREAK_EXCEPTION Breaks processing while running SMIGR_CREATE_DDL 20110222
2 CX_SMIGRATION_EXCEPTION 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 Changing C_T_DD12V Call by reference Type reference (TYPE) MGR_T_DD12V R/3 S_SECINDEX: secondary indexes, header; 20110222
2 Changing 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 CX_SMIGRATION_EXCEPTION 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 Importing I_KEY Call by reference Type reference (TYPE) STRING 20110321
2 Returning 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 CX_SMIGRATION_EXCEPTION 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 Importing I_DBINDEXNAME Call by reference Type reference (TYPE) DD12L-DBINDEX Database index 20110511
2 Importing I_INDEXNAME Call by reference Type reference (TYPE) DD12L-INDEXNAME Unique Index ID in a Table 20110511
3 Importing I_MSG Call by reference Type reference (TYPE) STRING 20110511
4 Importing I_MSG_TYPE Call by reference Type reference (TYPE) C 'W' 20110511
5 Importing 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 Exporting E_MGR_DDL Call by reference Type reference (TYPE) MGR_S_DDL Generated MGRDLL table entry 20110222
2 Importing I_DBINDEXNAME Call by reference Type reference (TYPE) DD12L-DBINDEX '' Database index 20110222
3 Importing I_INDEXNAME Call by reference Type reference (TYPE) DD12L-INDEXNAME '' Unique Index ID in a Table 20110222
4 Importing 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 CX_SMIGRATION_EXCEPTION Exception during execution of SMIGR_CREATE_DDL 20110222
History
Last changed by/on SAP  20130531 
SAP Release Created in 731