SAP ABAP Class CL_MIGRATE_QUERY_VARIANTS (Migrate Query variants (3.x <--> 2004s))
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-ET (Application Component) End User Technology
     RSR_PARAMETRISATION (Package) Persistance Layer of Parametrisation objects
Properties
Class CL_MIGRATE_QUERY_VARIANTS  
Short Description Migrate Query variants (3.x <--> 2004s)    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSR_PARAMETRISATION   Persistance Layer of Parametrisation objects 
Created 20060926   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RRX1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 RSR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 RSSG Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 RZD1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_MIGRATE_QUERY_VARIANTS has no interface implemented.
Friends
Class CL_MIGRATE_QUERY_VARIANTS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_04S_VAR Constant Public Type reference (TYPE) CHAR3 '04S' 04S Migration Type 20060926
2 C_3X_VAR Constant Public Type reference (TYPE) CHAR3 '3.X' 3.X Migration Type 20060926
3 C_ALL Constant Public Type reference (TYPE) CHAR3 'ALL' Migration of all Query Variants 20060926
4 C_PREFIX_PERSONAL_VARIANT Constant Public Type reference (TYPE) CHAR5 '!PERS' 04S Variant Prefix 20060926
5 C_QUE Constant Public Type reference (TYPE) CHAR3 'QUE' Migration of all Variants for a Single Query 20060926
6 C_QUERY_PARENT_COMP Constant Public Type reference (TYPE) RSAPPCOMPNM '01' Component of a Parametrization 20060926
7 C_VAR Constant Public Type reference (TYPE) CHAR3 'VAR' Migration of a Single Variant 20060926
8 C_VAR_TABLE_VERSION Constant Public Type reference (TYPE) I 1 Table Version 20060926
9 PS_REPKEY Instance attribute Private Type reference (TYPE) RSR_S_COMPKEY 20070129
10 PS_RSRPARAMETRIZA Instance attribute Private Type reference (TYPE) RSRPARAMETRIZA 20060926
11 PS_RSRPARAMETRIZAT Instance attribute Private Type reference (TYPE) RSRPARAMETRIZAT 20060926
12 PS_RSRVARIANT Instance attribute Private Type reference (TYPE) RSRVARIANT 20060926
13 PS_RSRVARIANTTXT Instance attribute Private Type reference (TYPE) RSRVARIANTTXT 20060926
14 PT_LOOKUP Instance attribute Private Type reference (TYPE) TT_COMPID_LOOKUP 20060926
15 PT_RSRPARAMETRIZA Instance attribute Private See coding 20060926
16 PT_RSRPARAMETRIZAT Instance attribute Private See coding 20060926
17 PT_RSRVARIANT Instance attribute Private See coding 20060926
18 PT_RSRVARIANTDIR Instance attribute Private See coding 20060926
19 PT_RSRVARIANTTXT Instance attribute Private See coding 20060926
20 P_DIRECTION Instance attribute Private Type reference (TYPE) CHAR3 Variant Type '04s' or '3.X' 20060926
21 P_GLOBAL Instance attribute Private Type reference (TYPE) RS_BOOL 'X' Global Variant (for 04s variants only) 20060926
22 P_MODE Instance attribute Private Type reference (TYPE) CHAR3 Mode 20060926
23 P_SUCCESSFULL Instance attribute Private Type reference (TYPE) RS_BOOL 'X' Whether the migration successful 20061127
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_INPUTS Instance method Private Method 20060926
2 CHECK_NAME Static method Public Method Check technical name of the variant 20070412
3 COMPARE_QUERYS Static method Private Method Compare 3.x variant comp_id and 7.0 variant comp_id 20070413
4 CONSTRUCTOR Instance method Public Constructor 20060926
5 CONVERT_NAME Static method Public Method Replace all non-allowed characters with '_' 20070412
6 DELETE_MIGRATED_VARIANTS Static method Public Method Delete all migrated variants 20070411
7 F4_HELP_04S_VARIANT Static method Public Method 20060926
8 F4_HELP_3X_VARIANT Static method Public Method 20060926
9 F4_HELP_BI_QUERYS Static method Public Method 20060926
10 GET_PARAMNM Instance method Private Method 20060926
11 MESSAGE_TYPE_X Instance method Private Method 20060926
12 MIGRATE Instance method Public Method 20060926
13 MIGRATE_TO_04S Instance method Private Method 20060926
14 MIGRATE_TO_3X Instance method Private Method 20060926
15 STORE_04S_VALUES Instance method Private Method 20060926
Events
Class CL_MIGRATE_QUERY_VARIANTS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TN_SX_VAR Public See coding 20060926 BEGIN OF tn_sx_var, vnam TYPE rszvnam, container TYPE rsbolap_object_name, protected TYPE rs_bool, no_import TYPE rs_bool, invisible TYPE rs_bool, range TYPE tn_t_range, END OF tn_sx_var
2 TN_S_RANGE Public Type reference (TYPE) RRRANGE 20060926
3 TN_S_TEXT Public See coding 20060926 BEGIN OF tn_s_text, langu TYPE sylangu, text TYPE rstxtlg, END OF tn_s_text
4 TN_TX_VAR Public See coding 20060926 tn_tx_var TYPE STANDARD TABLE OF tn_sx_var WITH NON-UNIQUE KEY vnam container
5 TN_T_RANGE Public See coding 20060926 tn_t_range TYPE STANDARD TABLE OF tn_s_range WITH DEFAULT KEY
6 TN_T_TEXT Public See coding 20060926 tn_t_text TYPE STANDARD TABLE OF tn_s_text WITH DEFAULT KEY INITIAL SIZE 1
7 TS_COMPID_LOOKUP Public See coding 20060926 BEGIN OF ts_compid_lookup, paramnm TYPE rsrparametriza-paramnm, compuid TYPE rsrrepdir-compuid, END OF ts_compid_lookup
8 TT_COMPID_LOOKUP Public See coding 20060926 tt_compid_lookup TYPE TABLE OF ts_compid_lookup
9 T_SX_INT_VAR_VALUE Public See coding 20060926 BEGIN OF t_sx_int_var_value, vnam TYPE rszvnam, " var_id type t_var_id, data_prov TYPE string, " range TYPE STANDARD TABLE OF rrrange WITH DEFAULT KEY INITIAL SIZE 1, range TYPE STANDARD TABLE OF rrrangec WITH DEFAULT KEY INITIAL SIZE 1, END OF t_sx_int_var_value
10 T_SX_INT_VAR_VALUE_FRO Public See coding 20060926 BEGIN OF t_sx_int_var_value_fro, vnam TYPE rszvnam, var_id TYPE t_var_id, data_prov TYPE string, range TYPE STANDARD TABLE OF rrrange WITH DEFAULT KEY INITIAL SIZE 1, END OF t_sx_int_var_value_fro
11 T_TX_INT_VAR_VALUE Public See coding 20060926 t_tx_int_var_value TYPE STANDARD TABLE OF t_sx_int_var_value WITH DEFAULT KEY INITIAL SIZE 1
12 T_TX_INT_VAR_VALUE_FRO Public See coding 20060926 t_tx_int_var_value_fro TYPE STANDARD TABLE OF t_sx_int_var_value_fro WITH DEFAULT KEY INITIAL SIZE 1
13 T_VAR_ID Public See coding 20060926 BEGIN OF t_var_id, vnam TYPE rszvnam, handle TYPE numc4, END OF t_var_id
Method Signatures

Method CHECK_INPUTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_QUERY Value transfer Type reference (TYPE) RSRREPDIR-GENUNIID 20060926
2 Importing I_VARI Value transfer Type reference (TYPE) RSRVARIANT-VARI 20060926

Method CHECK_INPUTS on class CL_MIGRATE_QUERY_VARIANTS has no exception.

Method CHECK_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUBRC Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20070412
2 Importing I_NAME Call by reference Type reference (TYPE) STRING 20070412

Method CHECK_NAME on class CL_MIGRATE_QUERY_VARIANTS has no exception.

Method COMPARE_QUERYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUBRC Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20070413
2 Importing I_COMPUID_3X Call by reference Type reference (TYPE) SYSUUID_25 3.x variant compuid 20070413
3 Importing I_ELTUID_70 Call by reference Type reference (TYPE) RSZCOMPID 7.0 variant compid 20070413

Method COMPARE_QUERYS on class CL_MIGRATE_QUERY_VARIANTS has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DIRECTION Value transfer Type reference (TYPE) CHAR3 20060926
2 Importing I_GENUNIID Value transfer Type reference (TYPE) RSRREPDIR-GENUNIID 20060926
3 Importing I_GLOBAL Value transfer Type reference (TYPE) RS_BOOL 20060926
4 Importing I_MODE Value transfer Type reference (TYPE) CHAR3 20060926
5 Importing I_VARI Value transfer Type reference (TYPE) RSRVARIANT-VARI 20060926

Method CONSTRUCTOR on class CL_MIGRATE_QUERY_VARIANTS has no exception.

Method CONVERT_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_NAME Call by reference Type reference (TYPE) STRING 20070412

Method CONVERT_NAME on class CL_MIGRATE_QUERY_VARIANTS has no exception.

Method DELETE_MIGRATED_VARIANTS Signature

Method DELETE_MIGRATED_VARIANTS on class CL_MIGRATE_QUERY_VARIANTS has no parameter.
Method DELETE_MIGRATED_VARIANTS on class CL_MIGRATE_QUERY_VARIANTS has no exception.

Method F4_HELP_04S_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ES_VARIANT Value transfer Type reference (TYPE) RSOD_S_CHAVL_TXTLG 20060926
2 Importing I_GENUNIID Value transfer Type reference (TYPE) RSRREPDIR-GENUNIID 20060926

Method F4_HELP_04S_VARIANT on class CL_MIGRATE_QUERY_VARIANTS has no exception.

Method F4_HELP_3X_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_VARIANT Value transfer Type reference (TYPE) RSVAR-VARIANT 20060926
2 Importing I_GENUNIID Value transfer Type reference (TYPE) RSR_S_COMPKEY-GENUNIID 20060926

Method F4_HELP_3X_VARIANT on class CL_MIGRATE_QUERY_VARIANTS has no exception.

Method F4_HELP_BI_QUERYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_QUERY Value transfer Type reference (TYPE) RSRREPDIR-GENUNIID 20060926

Method F4_HELP_BI_QUERYS on class CL_MIGRATE_QUERY_VARIANTS has no exception.

Method GET_PARAMNM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_NAME Value transfer Type reference (TYPE) STRING 20060926

Method GET_PARAMNM on class CL_MIGRATE_QUERY_VARIANTS has no exception.

Method MESSAGE_TYPE_X Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_METH Value transfer Type reference (TYPE) STRING 20060926
2 Importing I_NUM Value transfer Type reference (TYPE) NUMC2 20060926

Method MESSAGE_TYPE_X on class CL_MIGRATE_QUERY_VARIANTS has no exception.

Method MIGRATE Signature

Method MIGRATE on class CL_MIGRATE_QUERY_VARIANTS has no parameter.
Method MIGRATE on class CL_MIGRATE_QUERY_VARIANTS has no exception.

Method MIGRATE_TO_04S Signature

Method MIGRATE_TO_04S on class CL_MIGRATE_QUERY_VARIANTS has no parameter.
Method MIGRATE_TO_04S on class CL_MIGRATE_QUERY_VARIANTS has no exception.

Method MIGRATE_TO_3X Signature

Method MIGRATE_TO_3X on class CL_MIGRATE_QUERY_VARIANTS has no parameter.
Method MIGRATE_TO_3X on class CL_MIGRATE_QUERY_VARIANTS has no exception.

Method STORE_04S_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONTENT Value transfer Type reference (TYPE) STRING 20060926
2 Importing I_NAME Value transfer Type reference (TYPE) STRING 20060926
3 Importing I_OWNER Value transfer Type reference (TYPE) RS_OWNER SY-UNAME 20061207
4 Importing I_T_VARIANT_TEXT Value transfer Attribute reference (LIKE) PT_RSRVARIANTTXT 20070410

Method STORE_04S_VALUES on class CL_MIGRATE_QUERY_VARIANTS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 700