SAP ABAP Class CL_RSL_UI_DATA_CLEANSING (Data Cleansing for file uploads)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-OT (Application Component) OLAP Technology
     RSL_UI (Package) CompositeProvider UI Package
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SERIALIZABLE_OBJECT Serializable Object 20121211
Properties
Class CL_RSL_UI_DATA_CLEANSING  
Short Description Data Cleansing for file uploads    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSL_UI   CompositeProvider UI Package 
Created 20121008   SAP 
Last change 20140121   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 CL_RSL_UI_FILE_READER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_SERIALIZABLE_OBJECT Serializable Object 20121211
Friends
# Friend Modeled only Created on Description
1 CL_RSL_UI_FILE_READER 20121024 File Read Superior Class
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_CS_ACTIONS Constant Public See coding 20121023
2 N_CS_CONVERSIONS Constant Public See coding 20121019
3 N_CS_DUPLICATES Constant Public See coding 20121019
4 N_CS_STATISTIC_PARTS Constant Public See coding 20121112
5 N_C_CLEANSING_ACTIVE Constant Public Type reference (TYPE) RS_BOOL RS_C_TRUE Boolean 20121024
6 N_C_FILTER_SEPERATOR Constant Public Type reference (TYPE) CHAR1 ';' Single-Character Flag 20121019
7 N_T_FETCHED_DATA Instance attribute Public Object reference (TYPE REF TO) DATA 20121126
8 O_AS_ACTIVE Instance attribute Protected Type reference (TYPE) RS_BOOL RS_C_FALSE Capture Actions and Statistics 20121126
9 O_ROW_OFFSET Instance attribute Protected Type reference (TYPE) INT4 Row offset 20121217
10 O_S_STATISTICS Instance attribute Protected Type reference (TYPE) RSL_UI_S_WSP_FILE_CLEANS_STAT Workspace: File Upload - Cleansing Statistics 20121024
11 O_T_PERFORMED_ACTIONS Instance attribute Protected Type reference (TYPE) RSL_UI_T_WSP_FILE_CLEANS_ACT_D Workspace: File Upload - Performed Cleansing Actions 20121023
12 O_T_PLANNED_ACTIONS Instance attribute Protected Type reference (TYPE) RSL_UI_T_WSP_FILE_CLEANS_ACT Workspace: File Upload - Planned Cleansing Actions 20121026
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ACTION_TO_STATS Instance method Protected Method Action was performed, add to statistics 20121026
2 ADD_PERFORMED_ACTIONS_FROM_SIM Instance method Public Method 20121217
3 ADD_STATS_FROM_SIM Instance method Public Method 20121217
4 CLEANSING_PERFORM_END Instance method Public Method E.g. Delete Duplicates - Last Steps 20121026
5 CLEANSING_PERFORM_MD_CHECKS Instance method Public Method Check Master Data for selected IObjs 20130213
6 CLEANSING_PERFORM_VARIOUS Instance method Public Method E.g. Replace 20121026
7 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20121206
8 CONVERT_FROM_DATE Instance method Protected Method Attempts to Convert from a Date 20130527
9 CONVERT_FROM_TIME Instance method Protected Method Attempts to Convert from a Time 20130529
10 CONVERT_TO_DATE Instance method Protected Method Attempts to Convert to a Date 20130527
11 CONVERT_TO_TIME Instance method Protected Method Attempts to Convert to a Time 20130527
12 END_CAPTURING_ACT_STATS Instance method Public Method 20121126
13 GET_PERFORMED_ACTIONS Instance method Public Method Get the list of all performed actions 20121023
14 GET_PLANNED_ACTIONS Instance method Public Method Returns the planned actions 20121108
15 GET_STATISTICS Instance method Public Method Get the collected statistic values 20121024
16 PERFORM_AGGREGATE_DUPLICATES Instance method Protected Method OBSOLET - Aggregate duplicate records 20121025
17 PERFORM_CHECK_MASTERDATA Instance method Protected Method Check if the corresponding masterdata exists 20121026
18 PERFORM_CONV_ERROR_HANDLING Instance method Public Method Delete row or initialize cell where conversion errors occ. 20121026
19 PERFORM_CUT_CHARS Instance method Protected Method Cuts down chars to the max. possible character length 20130416
20 PERFORM_DELETE_DUPLICATES Instance method Protected Method Delete duplicate records 20121025
21 PERFORM_REPLACE Instance method Protected Method Replace values 20121026
22 READ_FILE_PROPS_FOR_RELOAD Instance method Public Method Read cleansing from a previous file upload 20121206
23 REMOVE_SINGLE_ACTION Instance method Public Method Remove one action from planned actions 20121122
24 RESET_STATISTICS Instance method Public Method Reset 20121105
25 SET_ACTIONS Instance method Public Method Set Actions to be performed 20121026
26 SET_ROW_OFFSET Instance method Public Method 20121217
27 START_CAPTURING_ACT_STATS Instance method Public Method 20121126
Events
Class CL_RSL_UI_DATA_CLEANSING has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TN_T_STRING Public See coding 20121011 tn_t_string TYPE TABLE OF string WITH DEFAULT KEY
Method Signatures

Method ADD_ACTION_TO_STATS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTION Call by reference Type reference (TYPE) CHAR2 Pass Action manually 20121129
2 Importing I_ACTION_IDX Call by reference Type reference (TYPE) INT4 20121119
3 Importing I_COLUMN Call by reference Type reference (TYPE) INT4 Column 20121026
4 Importing I_NEW_VALUE Call by reference Type reference (TYPE) STRING New Value 20121116
5 Importing I_ORIGINAL_VALUE Call by reference Type reference (TYPE) STRING Original Value 20121026
6 Importing I_ROW Call by reference Type reference (TYPE) INT4 Row 20121026

Method ADD_ACTION_TO_STATS on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method ADD_PERFORMED_ACTIONS_FROM_SIM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_T_ACTIONS Call by reference Type reference (TYPE) RSL_UI_T_WSP_FILE_CLEANS_ACT_D Workspace: File Upload - Performed Cleansing Actions 20121217

Method ADD_PERFORMED_ACTIONS_FROM_SIM on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method ADD_STATS_FROM_SIM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_STATS Call by reference Type reference (TYPE) RSL_UI_S_WSP_FILE_CLEANS_STAT Workspace: File Upload - Cleansing Statistics 20121217

Method ADD_STATS_FROM_SIM on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method CLEANSING_PERFORM_END Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_DATA Call by reference Type reference (TYPE) STANDARD TABLE Data to be cleansed 20121108

Method CLEANSING_PERFORM_END on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method CLEANSING_PERFORM_MD_CHECKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ROW_INDEX Call by reference Type reference (TYPE) SYTABIX 20130213
2 Importing I_R_FILE_ROW Call by reference Object reference (TYPE REF TO) DATA 20130214

Method CLEANSING_PERFORM_MD_CHECKS on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method CLEANSING_PERFORM_VARIOUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_FILE_ROW Call by reference Type reference (TYPE) TN_T_STRING 20121108
2 Importing I_ROW_INDEX Call by reference Type reference (TYPE) SYTABIX Index of Internal Tables 20121026

Method CLEANSING_PERFORM_VARIOUS on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_OBJNM Call by reference Type reference (TYPE) RSL_UI_AINX_NAME 20121206

Method CONSTRUCTOR on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method CONVERT_FROM_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_VALUE Call by reference Type reference (TYPE) DATS Field of type DATS 20130527
2 Returning R_STRING Value transfer Type reference (TYPE) STRING 20130527

Method CONVERT_FROM_DATE on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method CONVERT_FROM_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TIMS Call by reference Type reference (TYPE) TIMS Field of Type TIMS 20130529
2 Returning R_TIME Value transfer Type reference (TYPE) STRING 20130529

Method CONVERT_FROM_TIME on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method CONVERT_TO_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_VALUE Call by reference Type reference (TYPE) STRING 20130527
2 Returning R_DATE Value transfer Type reference (TYPE) DATS DATS Field Type 20130527

Method CONVERT_TO_DATE on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method CONVERT_TO_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TIME Call by reference Type reference (TYPE) STRING 20130527
2 Returning R_TIMS Value transfer Type reference (TYPE) TIMS Field of Type TIMS 20130527

Method CONVERT_TO_TIME on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method END_CAPTURING_ACT_STATS Signature

Method END_CAPTURING_ACT_STATS on class CL_RSL_UI_DATA_CLEANSING has no parameter.
Method END_CAPTURING_ACT_STATS on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method GET_PERFORMED_ACTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTION Call by reference Type reference (TYPE) RSL_UI_CLEANS_ACTION Data Cleansing Actions during Upload 20121023
2 Importing I_COUNT_ONLY Call by reference Type reference (TYPE) ABAP_BOOL Determine the count of each action 20121112
3 Returning R_T_ACTIONS Value transfer Type reference (TYPE) RSL_UI_T_WSP_FILE_CLEANS_ACT_D Actions performed 20121023

Method GET_PERFORMED_ACTIONS on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method GET_PLANNED_ACTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COLUMN Call by reference Type reference (TYPE) INT4 Only actions for a particular column 20121205
2 Returning R_T_PLANNED_ACTIONS Value transfer Type reference (TYPE) RSL_UI_T_WSP_FILE_CLEANS_ACT Workspace: File Upload - Planned Cleansing Actions 20121108

Method GET_PLANNED_ACTIONS on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method GET_STATISTICS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_S_STATISTICS Value transfer Type reference (TYPE) RSL_UI_S_WSP_FILE_CLEANS_STAT Workspace: File Upload - Cleansing Statistics 20121024

Method GET_STATISTICS on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method PERFORM_AGGREGATE_DUPLICATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_DATA Call by reference Type reference (TYPE) STANDARD TABLE Data to be cleansed 20121109

Method PERFORM_AGGREGATE_DUPLICATES on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method PERFORM_CHECK_MASTERDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ROW_INDEX Call by reference Type reference (TYPE) SYTABIX Index of Internal Tables 20130211
2 Importing I_R_FILE_ROW Call by reference Object reference (TYPE REF TO) DATA 20130214
3 Importing I_S_ACTION Call by reference Type reference (TYPE) RSL_UI_S_WSP_FILE_CLEANS_ACT What needs to be done 20130211

Method PERFORM_CHECK_MASTERDATA on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method PERFORM_CONV_ERROR_HANDLING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DELETE_ENTIRE_ROW Value transfer Type reference (TYPE) RS_BOOL Boolean 20121112
2 Importing I_COLUMN Call by reference Type reference (TYPE) INT4 Natural number 20121026
3 Importing I_ORIGINAL_VALUE Call by reference Type reference (TYPE) STRING 20121026
4 Importing I_ROW Call by reference Type reference (TYPE) INT4 Natural number 20121026
# Exception Resumable Description Created on
1 NO_HANDLING_DEFINED 20121026

Method PERFORM_CUT_CHARS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_FILE_ROW Call by reference Type reference (TYPE) TN_T_STRING 20130416
2 Importing I_ROW_INDEX Call by reference Type reference (TYPE) SYTABIX Index of Internal Tables 20130416

Method PERFORM_CUT_CHARS on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method PERFORM_DELETE_DUPLICATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_DATA Call by reference Type reference (TYPE) STANDARD TABLE Data to be cleansed 20121108
2 Importing I_CLEANS_ACTIONS Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20121108

Method PERFORM_DELETE_DUPLICATES on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method PERFORM_REPLACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_FILE_ROW Call by reference Type reference (TYPE) TN_T_STRING 20121108
2 Importing I_ROW_INDEX Call by reference Type reference (TYPE) SYTABIX Index of Internal Tables 20121026
3 Importing I_S_ACTION Call by reference Type reference (TYPE) RSL_UI_S_WSP_FILE_CLEANS_ACT What needs to be done 20121026

Method PERFORM_REPLACE on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method READ_FILE_PROPS_FOR_RELOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_OBJNM Call by reference Type reference (TYPE) RSL_UI_AINX_NAME 20121206

Method READ_FILE_PROPS_FOR_RELOAD on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method REMOVE_SINGLE_ACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_ACTION Call by reference Type reference (TYPE) RSL_UI_S_WSP_FILE_CLEANS_ACT 20121122

Method REMOVE_SINGLE_ACTION on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method RESET_STATISTICS Signature

Method RESET_STATISTICS on class CL_RSL_UI_DATA_CLEANSING has no parameter.
Method RESET_STATISTICS on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method SET_ACTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COLUMN Call by reference Type reference (TYPE) INT4 Column Index 20121122
2 Importing I_T_ACTIONS Call by reference Type reference (TYPE) RSL_UI_T_WSP_FILE_CLEANS_ACT Workspace: File Upload - Planned Cleansing Actions 20121107
3 Returning R_ACTIONS_CHANGED Value transfer Type reference (TYPE) RS_BOOL Boolean 20121213

Method SET_ACTIONS on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method SET_ROW_OFFSET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_OFFSET Call by reference Type reference (TYPE) INT4 Row Offset 20121217

Method SET_ROW_OFFSET on class CL_RSL_UI_DATA_CLEANSING has no exception.

Method START_CAPTURING_ACT_STATS Signature

Method START_CAPTURING_ACT_STATS on class CL_RSL_UI_DATA_CLEANSING has no parameter.
Method START_CAPTURING_ACT_STATS on class CL_RSL_UI_DATA_CLEANSING has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740