SAP ABAP Class CL_UPG_STRUCT_ANALYZER (Upgrade Tools Table Structure Analyzer)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-UPG-TLS-TLA (Application Component) Upgrade Tools for ABAP
     SAUS (Package) Transport Control (Repository Switch)
Properties
Class CL_UPG_STRUCT_ANALYZER  
Short Description Upgrade Tools Table Structure Analyzer    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SAUS   Transport Control (Repository Switch) 
Created 20120920   SAP 
Last change 20140120   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 DDV Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_UPG_STRUCT_ANALYZER has no interface implemented.
Friends
Class CL_UPG_STRUCT_ANALYZER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ALTER_REQUIRED Constant Public Type reference (TYPE) CHAR30 'ALTER_REQUIRED' 30 Characters 20121214
2 GC_COMPLEX Constant Public Type reference (TYPE) CHAR30 'COMPLEX' 30 Characters 20121214
3 GC_FIELD_DELETED Constant Public Type reference (TYPE) CHAR30 'FIELD_DELETED' 30 Characters 20130405
4 GC_NEW_FIELD_NOTNULL Constant Public Type reference (TYPE) CHAR30 'NEW_FIELD_NOTNULL' 30 Characters 20130315
5 GC_NEW_FIELD_NULL Constant Public Type reference (TYPE) CHAR30 'NEW_FIELD_NULL' 30 Characters 20130315
6 GC_NEW_ORDER Constant Public Type reference (TYPE) CHAR30 'NEW_ORDER' 30 Characters 20121214
7 GC_NULL2NOTNULL Constant Public Type reference (TYPE) CHAR30 'NULL2NOTNULL' 30 Characters 20130315
8 GC_POSSIBLE_DATALOSS Constant Public Type reference (TYPE) CHAR30 'POSSIBLE_DATALOSS' 30 Characters 20130321
9 GC_WIDER Constant Public Type reference (TYPE) CHAR30 'WIDER' 30 Characters 20121214
10 MT_PARAMETERS_ACTIVE Instance attribute Private Type reference (TYPE) GTY_UPGSTRANA_T 20130305
11 MT_UPGSTRANA Instance attribute Private Type reference (TYPE) GTY_UPGSTRANA_T 20130731
12 MV_INIT Instance attribute Private Type reference (TYPE) ABAP_BOOL 20130110
13 MV_POOLORCLUSTER Instance attribute Private Type reference (TYPE) ABAP_BOOL 20130423
14 MV_POOLORCLUSTER_SRC Instance attribute Private Type reference (TYPE) ABAP_BOOL 20130423
15 MV_POOLORCLUSTER_TGT Instance attribute Private Type reference (TYPE) ABAP_BOOL 20130423
16 MV_USECASE Instance attribute Private Type reference (TYPE) CHAR30 30 Characters 20121214
17 M_FILE_INTF Instance attribute Private Object reference (TYPE REF TO) LIF_FILE_INTF 20121217
18 M_NTAB_FIELDS_SRC Instance attribute Private Type reference (TYPE) CL_UPG_STRUCT_ANALYZER=>GTY_NTAB_FIELDS 20120924
19 M_NTAB_FIELDS_TGT Instance attribute Private Type reference (TYPE) CL_UPG_STRUCT_ANALYZER=>GTY_NTAB_FIELDS 20120924
20 M_NTAB_HEADER_SRC Instance attribute Private Type reference (TYPE) CL_UPG_STRUCT_ANALYZER=>GTY_NTAB_HEADER 20120924
21 M_NTAB_HEADER_TGT Instance attribute Private Type reference (TYPE) CL_UPG_STRUCT_ANALYZER=>GTY_NTAB_HEADER 20120924
Methods
# Method Level Visibility Method type Description Created on
1 ADD_PARAMETER Instance method Private Method 20121214
2 ANALYZE Instance method Public Method 20120920
3 CLEANUP Instance method Public Method Cleanup all exiting entries from previous runs 20130710
4 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20121004
5 GET_ALL_PARAMETERS Instance method Public Method 20121214
6 IS_DTYPE_DEPRECATED Instance method Public Method Checks if source nametab contains no longer supported dtype. 20130408
7 IS_KEYFIELD_REDUCTION Instance method Public Method Are Keyfields deleted or shortened in target 20130321
8 SET_DEFAULT Instance method Private Method 20130730
9 SET_NAMETAB_SRC Instance method Public Method 20120924
10 SET_NAMETAB_TGT Instance method Public Method 20120924
Events
Class CL_UPG_STRUCT_ANALYZER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_DDFIELDS_T Public See coding 20120920 gty_ddfields_t type standard table of ddfield
2 GTY_DDMTF_T Public See coding 20120920 gty_ddmtf_t type standard table of ddmtf
3 GTY_DDMTT_T Public See coding 20120920 gty_ddmtt_t type standard table of ddmtt
4 GTY_NTAB_FIELDS Public See coding 20120920 gty_ntab_fields type standard table of x031l
5 GTY_NTAB_HEADER Public Type reference (TYPE) X030L 20120920
6 GTY_PARAMETERS_T Public See coding 20121214 gty_parameters_t type standard table of gty_parameter_s with default key
7 GTY_PARAMETER_S Public See coding 20121214 begin of gty_parameter_s, parameter type char30, value type abap_bool, end of gty_parameter_s
8 GTY_STATEMENTS_T Public See coding 20120920 gty_statements_t type standard table of char80
9 GTY_UPGSTRANA_T Public See coding 20121214 gty_upgstrana_t type sorted table of upgstrana with unique key usecase tabname attribute
Method Signatures

Method ADD_PARAMETER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PARAMETER Call by reference Type reference (TYPE) CHAR30 30 Characters 20121214
2 Importing IV_VALUE Call by reference Type reference (TYPE) ABAP_BOOL 20121214
# Exception Resumable Description Created on
1 CX_UPG Standard Upgrade Tools Exception 20121217

Method ANALYZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABNAME Call by reference Type reference (TYPE) TABNAME 20120920
# Exception Resumable Description Created on
1 CX_UPG 20120920

Method CLEANUP Signature

Method CLEANUP on class CL_UPG_STRUCT_ANALYZER has no parameter.
Method CLEANUP on class CL_UPG_STRUCT_ANALYZER has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_USECASE Call by reference Type reference (TYPE) CHAR30 30 Characters 20121214

Method CONSTRUCTOR on class CL_UPG_STRUCT_ANALYZER has no exception.

Method GET_ALL_PARAMETERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20121214
2 Returning RT_PARAMETERS Value transfer Type reference (TYPE) GTY_PARAMETERS_T 20121214
# Exception Resumable Description Created on
1 CX_UPG Standard Upgrade Tools Exception 20121217

Method IS_DTYPE_DEPRECATED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_DEPRECATED Value transfer Type reference (TYPE) ABAP_BOOL 20130408

Method IS_DTYPE_DEPRECATED on class CL_UPG_STRUCT_ANALYZER has no exception.

Method IS_KEYFIELD_REDUCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_DATALOSS_POSSIBLE Value transfer Type reference (TYPE) ABAP_BOOL 20130321

Method IS_KEYFIELD_REDUCTION on class CL_UPG_STRUCT_ANALYZER has no exception.

Method SET_DEFAULT Signature

Method SET_DEFAULT on class CL_UPG_STRUCT_ANALYZER has no parameter.
# Exception Resumable Description Created on
1 CX_UPG Standard Upgrade Tools Exception 20130730

Method SET_NAMETAB_SRC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NTAB_FIELDS Call by reference Type reference (TYPE) CL_UPG_STRUCT_ANALYZER=>GTY_NTAB_FIELDS 20120924
2 Importing I_NTAB_HEADER Call by reference Type reference (TYPE) CL_UPG_STRUCT_ANALYZER=>GTY_NTAB_HEADER 20120924

Method SET_NAMETAB_SRC on class CL_UPG_STRUCT_ANALYZER has no exception.

Method SET_NAMETAB_TGT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NTAB_FIELDS Call by reference Type reference (TYPE) CL_UPG_STRUCT_ANALYZER=>GTY_NTAB_FIELDS 20120924
2 Importing I_NTAB_HEADER Call by reference Type reference (TYPE) CL_UPG_STRUCT_ANALYZER=>GTY_NTAB_HEADER 20120924

Method SET_NAMETAB_TGT on class CL_UPG_STRUCT_ANALYZER has no exception.
History
Last changed by/on SAP  20140120 
SAP Release Created in 740