SAP ABAP Class CL_SMIGRATION (Interface between SMIGR_CREATE_DLL and DB implementations)
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
Properties
Class CL_SMIGRATION  
Short Description Interface between SMIGR_CREATE_DLL and DB implementations    
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 has no interface implemented.
Friends
Class CL_SMIGRATION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_MIGR_STATS Instance attribute Public Type reference (TYPE) MGR_S_STATS 20120529
2 P_OUTPUT_FOLDER Instance attribute Private Type reference (TYPE) CHAR512 File system folder for output files 20110222
3 P_RCV_JOBS Instance attribute Private Type reference (TYPE) I 20120529
4 P_SMIGRATION_OBJ Static Attribute Private Object reference (TYPE REF TO) CL_SMIGRATION Instance of the calss 20110222
5 P_SND_JOBS Instance attribute Private Type reference (TYPE) I 20120529
6 P_TABART Instance attribute Private Type reference (TYPE) TABCLASS Data class in technical settings 20110222
7 P_TABNAME Instance attribute Private Type reference (TYPE) TABNAME Table Name 20110222
8 P_TARGET_DB Instance attribute Private Type reference (TYPE) MGR_S_DB_INFO Target DB information 20110222
9 P_T_ERRORLOG Instance attribute Public Type reference (TYPE) SMIGRATIONERRORTAB 20110511
10 P_UNICODE_MIGRATION Instance attribute Private Type reference (TYPE) C Indicates unicode migration 20110222
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_OUTPUT_DIRECTORY Instance method Public Method Checks if output directory exits 20110610
2 GEN_DDL_TO_MIGRDDL Instance method Private Method Generates the DDL statements and writes it to files 20110512
3 GET_DB_RELEASE Static method Public Method Returns the target DB system and release if a migration runs 20110222
4 GET_INSTANCE Static method Public Method Get an instance of CL_SMIGRATION 20110222
5 ON_PACKAGE_FINISHED Instance method Public Method 20120529
6 RUN_DDL_EXPORT Instance method Public Method Starts the DDL export 20110512
7 WRITE_FILE_HEADER_INFORMATION Instance method Private Method Writes the header of the .SQL file including time, target .. 20120522
8 WRITE_MIGRDDL_TO_FILES Instance method Private Method Extracts data from table MGRDDL and writes it to files 20110512
9 WRITE_SUMMARY_TO_SCREEN Instance method Private Method Prints warnings/errors and statistics of the program run 20110512
Events
Class CL_SMIGRATION has no event.
Types
Class CL_SMIGRATION has no local type.
Method Signatures

Method CHECK_OUTPUT_DIRECTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_MESSAGE Value transfer Type reference (TYPE) STRING contains error message 20110610

Method CHECK_OUTPUT_DIRECTORY on class CL_SMIGRATION has no exception.

Method GEN_DDL_TO_MIGRDDL Signature

Method GEN_DDL_TO_MIGRDDL on class CL_SMIGRATION has no parameter.
Method GEN_DDL_TO_MIGRDDL on class CL_SMIGRATION has no exception.

Method GET_DB_RELEASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_DBINFO Call by reference Type reference (TYPE) MGR_S_DB_INFO 20110222

Method GET_DB_RELEASE on class CL_SMIGRATION has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CURRENT_INSTANCE_ONLY Call by reference Type reference (TYPE) C ' ' returns the current instance without overwriting anything 20110511
2 Importing I_OUTPUT_FOLDER Call by reference Type reference (TYPE) CHAR512 File system path for output files 20110222
3 Importing I_TABART Call by reference Type reference (TYPE) TABART ' ' Data class in technical settings 20110222
4 Importing I_TABNAME Call by reference Type reference (TYPE) TABNAME ' ' Table Name 20110222
5 Importing I_TARGET_DB Call by reference Type reference (TYPE) MGR_S_DB_INFO Target DB system and release 20110222
6 Importing I_UNICODE_MIGRATION Call by reference Type reference (TYPE) C Indicates unicode migration 20110222
7 Returning R_INSTANCE Value transfer Object reference (TYPE REF TO) CL_SMIGRATION general smigr class 20110222

Method GET_INSTANCE on class CL_SMIGRATION has no exception.

Method ON_PACKAGE_FINISHED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_TASK Value transfer Type reference (TYPE) CLIKE 20120529

Method ON_PACKAGE_FINISHED on class CL_SMIGRATION has no exception.

Method RUN_DDL_EXPORT Signature

Method RUN_DDL_EXPORT on class CL_SMIGRATION has no parameter.
Method RUN_DDL_EXPORT on class CL_SMIGRATION has no exception.

Method WRITE_FILE_HEADER_INFORMATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FILE Value transfer Type reference (TYPE) STRING 20120522
2 Importing I_WRITE_FILE_LIST Value transfer Type reference (TYPE) C ' ' 20120522
# Exception Resumable Description Created on
1 CX_SMIGRATION_EXCEPTION 20120522

Method WRITE_MIGRDDL_TO_FILES Signature

Method WRITE_MIGRDDL_TO_FILES on class CL_SMIGRATION has no parameter.
# Exception Resumable Description Created on
1 CX_SMIGRATION_EXCEPTION Program Error: Generate DDL for Migration 20110512

Method WRITE_SUMMARY_TO_SCREEN Signature

Method WRITE_SUMMARY_TO_SCREEN on class CL_SMIGRATION has no parameter.
Method WRITE_SUMMARY_TO_SCREEN on class CL_SMIGRATION has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 731