SAP ABAP Class CL_UPG_TABLE_SERVICE (Services for Upgrade Table Handling)
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_TABLE_SERVICE  
Short Description Services for Upgrade Table Handling    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SAUS   Transport Control (Repository Switch) 
Created 20130403   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)
Interfaces
Class CL_UPG_TABLE_SERVICE has no interface implemented.
Friends
Class CL_UPG_TABLE_SERVICE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MS_HEADER Instance attribute Private Type reference (TYPE) X030L Nametab Header, Database Structure DDNTT 20130403
2 MT_DDFIELDS Instance attribute Private Type reference (TYPE) TDDFIELDS Table of dictionary fields 20130404
3 MT_FIELDS Instance attribute Private Type reference (TYPE) DD_X031L_TABLE Table Type for X031L 20130403
4 MT_MESSAGES Instance attribute Public Type reference (TYPE) SUPG_MESSAGE_T Upgrade Tools Message Table 20130708
5 MV_REAL_TABNAME Instance attribute Private Type reference (TYPE) TABNAME Table Name 20130712
Methods
# Method Level Visibility Method type Description Created on
1 ADD_IDX_TO_TATAF Instance method Public Method Add Index statements to tataf 20130503
2 ADD_TO_TATAF Instance method Public Method Add CREATE statements to TATAF 20130403
3 BACKUP_PUTTB_SHD Instance method Public Method Save current PUTTB_SHD entry to backup table 20130517
4 CHECK4IDXWORKAROUND Instance method Private Method 20130708
5 ESCAPE_STATEMENTS Instance method Public Method Remove obsolete and empty lines 20130513
6 GET_ACTIVE_COMP_UPGRADE Instance method Private Method get upgrade start and target release 20130807
7 GET_CREATE_STATEMENTS Instance method Public Method Calculate CREATE Statements 20130510
8 GET_DB_FIELDS Instance method Public Method Returns the fieldinformation from DB 20130712
9 GET_FIELDLIST Instance method Public Method 20130517
10 GET_IDX_STATEMENTS Instance method Public Method Calculate Index Statements 20130507
11 GET_MERGED_FIELDLIST Instance method Public Method 20130524
12 GET_NAMETAB Instance method Public Method 20130517
13 GET_SRC_NAMETAB Instance method Public Method Returns the finametab of the original table in 2nd shadow 20130524
14 RESET_BACKUP Instance method Public Method Delete Backup table 20130517
15 RESTORE_PUTTB_SHD Instance method Public Method Restore PUTTB_SHD entry from backup and delete backup 20130517
16 SET_NAMETAB Instance method Public Method Set nametab 20130403
17 WRITE_DDIC_AND_NTAB Instance method Public Method Writes DDIC definition and Nametab 20130404
Events
Class CL_UPG_TABLE_SERVICE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_DBFIELD_T Public See coding 20130715 gty_dbfield_t type standard table of dbfield with default key
2 GTY_STATEMENT_S Public See coding 20130507 gty_statement_s type c length 72
3 GTY_STATEMENT_T Public See coding 20130507 gty_statement_t type standard table of gty_statement_s with default key
4 GTY_STRING_T Public See coding 20130515 gty_string_t type standard table of string with default key
Method Signatures

Method ADD_IDX_TO_TATAF Signature

Method ADD_IDX_TO_TATAF on class CL_UPG_TABLE_SERVICE has no parameter.
# Exception Resumable Description Created on
1 CX_UPG Standard Upgrade Tools Exception 20130503

Method ADD_TO_TATAF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DBSTORAGE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20130510
2 Importing IV_INDEX Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20130510
# Exception Resumable Description Created on
1 CX_UPG Standard Upgrade Tools Exception 20130403

Method BACKUP_PUTTB_SHD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130517

Method BACKUP_PUTTB_SHD on class CL_UPG_TABLE_SERVICE has no exception.

Method CHECK4IDXWORKAROUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_IDXNAME Call by reference Type reference (TYPE) INDEXID Unique Index ID in a Table 20130708
2 Returning RV_SKIP Value transfer Type reference (TYPE) ABAP_BOOL 20130708

Method CHECK4IDXWORKAROUND on class CL_UPG_TABLE_SERVICE has no exception.

Method ESCAPE_STATEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_LINES Call by reference Type reference (TYPE) GTY_STATEMENT_T 20130513
2 Returning RT_STATEMENTS Value transfer Type reference (TYPE) GTY_STRING_T 20130515

Method ESCAPE_STATEMENTS on class CL_UPG_TABLE_SERVICE has no exception.

Method GET_ACTIVE_COMP_UPGRADE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting RV_BASIS_START_RELEASE Call by reference Type reference (TYPE) SY-SAPRL ABAP-Systemfeld: Release-Stand des SAP-Systems 20130807
2 Exporting RV_BASIS_TARGET_RELEASE Call by reference Type reference (TYPE) SY-SAPRL ABAP-Systemfeld: Release-Stand des SAP-Systems 20130807
# Exception Resumable Description Created on
1 CX_UPG Standard Upgrade Tools Exception 20130807

Method GET_CREATE_STATEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DBSTORAGE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20130510
2 Importing IV_INDEX Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20130510
3 Returning RT_STATEMENTS Value transfer Type reference (TYPE) GTY_STATEMENT_T 20130510
# Exception Resumable Description Created on
1 CX_UPG Standard Upgrade Tools Exception 20130510

Method GET_DB_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130712
2 Returning RT_FIELDS Value transfer Type reference (TYPE) GTY_DBFIELD_T 20130712
# Exception Resumable Description Created on
1 CX_UPG Standard Upgrade Tools Exception 20130712

Method GET_FIELDLIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SOURCE Call by reference Type reference (TYPE) TDDFIELDS Table of dictionary fields 20130517
2 Exporting ET_TARGET Call by reference Type reference (TYPE) TDDFIELDS Table of dictionary fields 20130517
3 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130517
# Exception Resumable Description Created on
1 CX_UPG Standard Upgrade Tools Exception 20130517

Method GET_IDX_STATEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ORIGINAL Call by reference Type reference (TYPE) ABAP_BOOL Table Name 20130523
2 Returning RT_STATEMENTS Value transfer Type reference (TYPE) GTY_STATEMENT_T 20130507
# Exception Resumable Description Created on
1 CX_UPG Standard Upgrade Tools Exception 20130507

Method GET_MERGED_FIELDLIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130524
2 Returning RT_FIELDS Value transfer Type reference (TYPE) TDDFIELDS Table of dictionary fields 20130524
# Exception Resumable Description Created on
1 CX_UPG Standard Upgrade Tools Exception 20130524

Method GET_NAMETAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HEADER Call by reference Type reference (TYPE) X030L Nametab Header, Database Structure DDNTT 20130517
2 Exporting ET_FIELDS Call by reference Type reference (TYPE) DD_X031L_TABLE Table Type for X031L 20130517
3 Importing IV_ORIGINAL Call by reference Type reference (TYPE) ABAP_BOOL 20130517
4 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130517
# Exception Resumable Description Created on
1 CX_UPG Standard Upgrade Tools Exception 20130517

Method GET_SRC_NAMETAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_X030L Call by reference Type reference (TYPE) X030L Nametab Header, Database Structure DDNTT 20130524
2 Exporting ET_X031L Call by reference Type reference (TYPE) DDX031LTAB Nametab Fields 20130524
3 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130524
# Exception Resumable Description Created on
1 CX_UPG Standard Upgrade Tools Exception 20130524

Method RESET_BACKUP Signature

Method RESET_BACKUP on class CL_UPG_TABLE_SERVICE has no parameter.
Method RESET_BACKUP on class CL_UPG_TABLE_SERVICE has no exception.

Method RESTORE_PUTTB_SHD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130517

Method RESTORE_PUTTB_SHD on class CL_UPG_TABLE_SERVICE has no exception.

Method SET_NAMETAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HEADER Call by reference Type reference (TYPE) X030L Nametab Header, Database Structure DDNTT 20130403
2 Importing IT_FIELDS Call by reference Type reference (TYPE) DD_X031L_TABLE Table Type for X031L 20130403
3 Importing IV_REAL_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130712

Method SET_NAMETAB on class CL_UPG_TABLE_SERVICE has no exception.

Method WRITE_DDIC_AND_NTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTIVE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20130404
2 Importing IV_ORIGINAL_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130404
# Exception Resumable Description Created on
1 CX_UPG Standard Upgrade Tools Exception 20130404
History
Last changed by/on SAP  20140120 
SAP Release Created in 740