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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Constant | Public | Type reference (TYPE) | CHAR30 | 'ALTER_REQUIRED' | 30 Characters | 20121214 | ||
| 2 | Constant | Public | Type reference (TYPE) | CHAR30 | 'COMPLEX' | 30 Characters | 20121214 | ||
| 3 | Constant | Public | Type reference (TYPE) | CHAR30 | 'FIELD_DELETED' | 30 Characters | 20130405 | ||
| 4 | Constant | Public | Type reference (TYPE) | CHAR30 | 'NEW_FIELD_NOTNULL' | 30 Characters | 20130315 | ||
| 5 | Constant | Public | Type reference (TYPE) | CHAR30 | 'NEW_FIELD_NULL' | 30 Characters | 20130315 | ||
| 6 | Constant | Public | Type reference (TYPE) | CHAR30 | 'NEW_ORDER' | 30 Characters | 20121214 | ||
| 7 | Constant | Public | Type reference (TYPE) | CHAR30 | 'NULL2NOTNULL' | 30 Characters | 20130315 | ||
| 8 | Constant | Public | Type reference (TYPE) | CHAR30 | 'POSSIBLE_DATALOSS' | 30 Characters | 20130321 | ||
| 9 | Constant | Public | Type reference (TYPE) | CHAR30 | 'WIDER' | 30 Characters | 20121214 | ||
| 10 | Instance attribute | Private | Type reference (TYPE) | GTY_UPGSTRANA_T | 20130305 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | GTY_UPGSTRANA_T | 20130731 | ||||
| 12 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20130110 | ||||
| 13 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20130423 | ||||
| 14 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20130423 | ||||
| 15 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20130423 | ||||
| 16 | Instance attribute | Private | Type reference (TYPE) | CHAR30 | 30 Characters | 20121214 | |||
| 17 | Instance attribute | Private | Object reference (TYPE REF TO) | LIF_FILE_INTF | 20121217 | ||||
| 18 | Instance attribute | Private | Type reference (TYPE) | CL_UPG_STRUCT_ANALYZER=>GTY_NTAB_FIELDS | 20120924 | ||||
| 19 | Instance attribute | Private | Type reference (TYPE) | CL_UPG_STRUCT_ANALYZER=>GTY_NTAB_FIELDS | 20120924 | ||||
| 20 | Instance attribute | Private | Type reference (TYPE) | CL_UPG_STRUCT_ANALYZER=>GTY_NTAB_HEADER | 20120924 | ||||
| 21 | Instance attribute | Private | Type reference (TYPE) | CL_UPG_STRUCT_ANALYZER=>GTY_NTAB_HEADER | 20120924 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20121214 | ||
| 2 | Instance method | Public | Method | 20120920 | ||
| 3 | Instance method | Public | Method | Cleanup all exiting entries from previous runs | 20130710 | |
| 4 | Instance method | Public | Constructor | CONSTRUCTOR | 20121004 | |
| 5 | Instance method | Public | Method | 20121214 | ||
| 6 | Instance method | Public | Method | Checks if source nametab contains no longer supported dtype. | 20130408 | |
| 7 | Instance method | Public | Method | Are Keyfields deleted or shortened in target | 20130321 | |
| 8 | Instance method | Private | Method | 20130730 | ||
| 9 | Instance method | Public | Method | 20120924 | ||
| 10 | 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 | IV_PARAMETER | Call by reference | Type reference (TYPE) | CHAR30 | 30 Characters | 20121214 | |||
| 2 | IV_VALUE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20121214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Standard Upgrade Tools Exception | 20121217 |
Method ANALYZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | 20120920 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20121214 | |||
| 2 | RT_PARAMETERS | Value transfer | Type reference (TYPE) | GTY_PARAMETERS_T | 20121214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | 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 | 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 | I_NTAB_FIELDS | Call by reference | Type reference (TYPE) | CL_UPG_STRUCT_ANALYZER=>GTY_NTAB_FIELDS | 20120924 | ||||
| 2 | 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 | I_NTAB_FIELDS | Call by reference | Type reference (TYPE) | CL_UPG_STRUCT_ANALYZER=>GTY_NTAB_FIELDS | 20120924 | ||||
| 2 | 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 |