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 | ![]() |
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 | ![]() |
Instance attribute | Public | Type reference (TYPE) | MGR_S_STATS | 20120529 | |||
2 | ![]() |
Instance attribute | Private | Type reference (TYPE) | CHAR512 | File system folder for output files | 20110222 | ||
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | 20120529 | |||
4 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CL_SMIGRATION | Instance of the calss | 20110222 | ||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | 20120529 | |||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TABCLASS | Data class in technical settings | 20110222 | ||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TABNAME | Table Name | 20110222 | ||
8 | ![]() |
Instance attribute | Private | Type reference (TYPE) | MGR_S_DB_INFO | Target DB information | 20110222 | ||
9 | ![]() |
Instance attribute | Public | Type reference (TYPE) | SMIGRATIONERRORTAB | 20110511 | |||
10 | ![]() |
Instance attribute | Private | Type reference (TYPE) | C | Indicates unicode migration | 20110222 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Checks if output directory exits | 20110610 |
2 | ![]() |
Instance method | Private | Method | Generates the DDL statements and writes it to files | 20110512 |
3 | ![]() |
Static method | Public | Method | Returns the target DB system and release if a migration runs | 20110222 |
4 | ![]() |
Static method | Public | Method | Get an instance of CL_SMIGRATION | 20110222 |
5 | ![]() |
Instance method | Public | Method | 20120529 | |
6 | ![]() |
Instance method | Public | Method | Starts the DDL export | 20110512 |
7 | ![]() |
Instance method | Private | Method | Writes the header of the .SQL file including time, target .. | 20120522 |
8 | ![]() |
Instance method | Private | Method | Extracts data from table MGRDDL and writes it to files | 20110512 |
9 | ![]() |
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 | ![]() |
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 | ![]() |
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 | ![]() |
I_CURRENT_INSTANCE_ONLY | Call by reference | Type reference (TYPE) | C | ' ' | returns the current instance without overwriting anything | 20110511 | |
2 | ![]() |
I_OUTPUT_FOLDER | Call by reference | Type reference (TYPE) | CHAR512 | File system path for output files | 20110222 | ||
3 | ![]() |
I_TABART | Call by reference | Type reference (TYPE) | TABART | ' ' | Data class in technical settings | 20110222 | |
4 | ![]() |
I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | ' ' | Table Name | 20110222 | |
5 | ![]() |
I_TARGET_DB | Call by reference | Type reference (TYPE) | MGR_S_DB_INFO | Target DB system and release | 20110222 | ||
6 | ![]() |
I_UNICODE_MIGRATION | Call by reference | Type reference (TYPE) | C | Indicates unicode migration | 20110222 | ||
7 | ![]() |
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 | ![]() |
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 | ![]() |
I_FILE | Value transfer | Type reference (TYPE) | STRING | 20120522 | |||
2 | ![]() |
I_WRITE_FILE_LIST | Value transfer | Type reference (TYPE) | C | ' ' | 20120522 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
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 |