SAP ABAP Class CL_RS_TIME_DERIVE (Derivation and Consistency Check from Times)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-OT (Application Component) OLAP Technology
     RS_TIME (Package) Time Functions
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RS_BASE BW Basis 20051222
Properties
Class CL_RS_TIME_DERIVE  
Short Description Derivation and Consistency Check from Times    
Super Class CL_RS_BASE BW Basis 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RS_TIME   Time Functions 
Created 20051201   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_RS_TIME_DERIVE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 RRSI Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 RSRV Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
6 RSTIM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RS_TIME_DERIVE has no interface implemented.
Friends
Class CL_RS_TIME_DERIVE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_TIMNM_FROM Instance attribute Public Type reference (TYPE) RSCHANM Characteristic 20051212
2 N_T_TIMNM_TO Instance attribute Public Type reference (TYPE) RSD_T_IOBJNM List of InfoObjects 20051213
3 P_EXISTS_FINEST_TIM Instance attribute Private Type reference (TYPE) RS_BOOL Is there a finest tim-cha which can be used to derive others 20130326
4 P_NCUMTIM_POSIT Instance attribute Private Type reference (TYPE) RSPOSIT Position des Feldes in der Struktur / Tabelle 20070124
5 P_NOTIMDIM Instance attribute Private Type reference (TYPE) RS_BOOL Does Time Dimension for InfoCubes Exist? 20061108
6 P_R_INFOPROV Instance attribute Private Object reference (TYPE REF TO) IF_RSD_INFOPROV InfoProvider Runtime Metadata 20130312
7 P_R_TH_BUFFER Instance attribute Private Object reference (TYPE REF TO) DATA 20130325
8 P_SID Instance attribute Protected Type reference (TYPE) RS_BOOL Boolean 20051206
9 P_TABLNM Instance attribute Private Type reference (TYPE) RSD_FIELDNM 20070213
10 P_TS_TIMEDERIVE Instance attribute Protected Type reference (TYPE) RSR_TS_TIMEDERIVE Table of Possible Time Derivations 20051214
11 P_T_IOBJ_POSIT Instance attribute Protected Type reference (TYPE) NT_T_IOBJ_POSIT InfoObjects in ODS Object 20051206
12 P_T_TIMNM_SID Instance attribute Protected Type reference (TYPE) RSD_T_IOBJNM List of InfoObjects 20051208
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ALL Instance method Public Method Executes Consistency Check for table 20051207
2 CHECK_LINE Instance method Public Method Check Individual Line 20051207
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20051205
4 _BUILD_DERIVABLE_TAB Instance method Protected Method Build Table of Times to be Derived 20051205
5 _CHECK_INFOPROV_TYPE Instance method Protected Method Determine InfoProvider Type 20051201
6 _CHECK_LINE_CHAVL Instance method Private Method Check the time consistency of a single line (chavl) 20130430
7 _CHECK_LINE_CHAVL_WO_FINEST Instance method Private Method Check a single line (chavl) if there is no finest time-cha 20130515
8 _CHECK_LINE_CHAVL_W_FINEST Instance method Private Method Check a single line (chavl) if there is a finest time-cha 20130515
9 _CHECK_LINE_SID Instance method Private Method Check the time consistency of a single line (sid) 20130430
10 _CHECK_PART_TIME_WO_FINEST Instance method Private Method Check the partial times (chavl) if there is no finest time 20130516
11 _COMPARE_TIMES Instance method Private Method Compare Time Values 20051215
12 _FILL_BUFFER Instance method Private Method Derive the values from given charact. and value 20051215
13 _NCUM_CHECK_INITIALIZATION Instance method Private Method Check whether line is valuit init-line 20130430
14 _NCUM_IS_HIGHVAL Instance method Private Method checks whether line is a ncum init (ncumtim = maxval) 20130312
15 _REPAIR_LINE_CHAVL Instance method Private Method Repair a inconsistent line (chavl) 20130502
16 _REPAIR_LINE_SID Instance method Private Method Repair a inconsistent line (sid) 20130502
Events
Class CL_RS_TIME_DERIVE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 NT_S_FALSE Public See coding 20060921 BEGIN OF nt_s_false, line TYPE i, msgid TYPE symsgid, msgty TYPE symsgty, msgno TYPE symsgno, msgv1 TYPE symsgv, msgv2 TYPE symsgv, msgv3 TYPE symsgv, msgv4 TYPE symsgv, ddicstr TYPE rsd_fieldnm, r_data TYPE REF TO data, END OF nt_s_false
2 NT_S_IOBJ_POSIT Public See coding 20051207 BEGIN OF nt_s_iobj_posit, iobjnm TYPE rsiobjnm, posit TYPE rsposit, maxsid TYPE rsd_sid, maxval TYPE rschavl, END OF nt_s_iobj_posit
3 NT_T_FALSE Public See coding 20051207 nt_t_false TYPE STANDARD TABLE OF nt_s_false
4 NT_T_IOBJ_POSIT Public See coding 20051207 nt_t_iobj_posit TYPE STANDARD TABLE OF nt_s_iobj_posit WITH KEY iobjnm
5 PT_SX_DERIVE_BUFFER Private See coding 20051201 BEGIN OF pt_sx_derive_buffer, timnm TYPE rschanm, fiscvarnt TYPE t009b-periv, timvl TYPE rsd_sid, to_table TYPE pt_t_to_value, END OF pt_sx_derive_buffer
6 PT_S_TO_VALUE Private See coding 20051201 BEGIN OF pt_s_to_value, timnm TYPE rsiobjnm, fiscvarnt TYPE t009b-periv, from TYPE rsd_sid, to TYPE rsd_sid, lineindex TYPE i, END OF pt_s_to_value
7 PT_T_TO_VALUE Private See coding 20051201 pt_t_to_value TYPE STANDARD TABLE OF pt_s_to_value WITH KEY timnm fiscvarnt
Method Signatures

Method CHECK_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_IS_CONSISTENT Value transfer Type reference (TYPE) RS_BOOL =true <=> all entries are consistent concering time 20130502
2 Exporting E_T_FALSE Call by reference Type reference (TYPE) NT_T_FALSE Table with messages of wrong entries 20130502
3 Exporting E_T_REPAIRED_LINE Call by reference Type reference (TYPE) STANDARD TABLE for each line in e_t_wrong_line the repaired line 20130502
4 Exporting E_T_WRONG_LINE Call by reference Type reference (TYPE) STANDARD TABLE all lines with inconsistent time cha 20130502
5 Importing I_DEFAULT_FISCV Call by reference Type reference (TYPE) PERIV only needed if i_with_repair = true 20130503
6 Importing I_WITH_REPAIR Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Should method try to repair wrong entries? 20130502

Method CHECK_ALL on class CL_RS_TIME_DERIVE has no exception.

Method CHECK_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_FALSE Call by reference Type reference (TYPE) NT_T_FALSE Table with messages of wrong entries 20130503
2 Exporting E_IS_CONSISTENT Value transfer Type reference (TYPE) RS_BOOL =true <=> all char are consistent concering time 20130502
3 Exporting E_S_REPAIRED_VALUE Call by reference Type reference (TYPE) ANY if not consistent, then contains the repaired line 20130502
4 Importing I_ALLOW_NUM_INIT_LINE Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20130430
5 Importing I_DEFAULT_FISCV Call by reference Type reference (TYPE) PERIV only needed if i_with_repair = true 20130503
6 Importing I_ID Call by reference Type reference (TYPE) I 20130430
7 Importing I_S_LINE Call by reference Type reference (TYPE) ANY 20051207
8 Importing I_WITH_REPAIR Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Should method try to repair wrong entries? 20130502

Method CHECK_LINE on class CL_RS_TIME_DERIVE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV 20051213
2 Importing I_SID Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE 20051219
3 Importing I_S_LINE Call by reference Type reference (TYPE) ANY Structure to be checked (otherwise used assigned ddic-struct 20130314
# Exception Resumable Description Created on
1 CX_RS_ACTION_NOT_ALLOWED Die Aktion ist an dieser Stelle nicht erlaubt 20070124
2 CX_RS_TIME_INPUT_INVALID 20060104

Method _BUILD_DERIVABLE_TAB Signature

Method _BUILD_DERIVABLE_TAB on class CL_RS_TIME_DERIVE has no parameter.
Method _BUILD_DERIVABLE_TAB on class CL_RS_TIME_DERIVE has no exception.

Method _CHECK_INFOPROV_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20130314
2 Importing I_S_LINE Call by reference Type reference (TYPE) ANY 20130325
# Exception Resumable Description Created on
1 CX_RS_ACTION_NOT_ALLOWED Die Aktion ist an dieser Stelle nicht erlaubt 20070124
2 CX_RS_TIME_INPUT_INVALID 20060104

Method _CHECK_LINE_CHAVL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_FALSE Call by reference Type reference (TYPE) NT_T_FALSE Table with messages of wrong entries 20130503
2 Exporting E_IS_CONSISTENT Value transfer Type reference (TYPE) RS_BOOL =true <=> all times are consistent 20130502
3 Exporting E_S_REPAIRED_VALUE Call by reference Type reference (TYPE) ANY if not consistent, then contains the repaired line 20130502
4 Importing I_DEFAULT_FISCV Call by reference Type reference (TYPE) PERIV only needed if i_with_repair = true 20130503
5 Importing I_ID Call by reference Type reference (TYPE) I 20130430
6 Importing I_S_VALUE Call by reference Type reference (TYPE) ANY Structure with all the values to be checked 20130430
7 Importing I_WITH_REPAIR Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Try to repair if inconsistent? 20130502

Method _CHECK_LINE_CHAVL on class CL_RS_TIME_DERIVE has no exception.

Method _CHECK_LINE_CHAVL_WO_FINEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_FALSE Call by reference Type reference (TYPE) NT_T_FALSE 20130515
2 Exporting E_IS_CONSISTENT Call by reference Type reference (TYPE) RS_BOOL Boolean 20130515
3 Importing I_FISCVARNT Call by reference Type reference (TYPE) PERIV Fiscal Year Variant 20130515
4 Importing I_ID Call by reference Type reference (TYPE) I 20130515
5 Importing I_S_VALUE Call by reference Type reference (TYPE) ANY 20130515

Method _CHECK_LINE_CHAVL_WO_FINEST on class CL_RS_TIME_DERIVE has no exception.

Method _CHECK_LINE_CHAVL_W_FINEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_FALSE Call by reference Type reference (TYPE) NT_T_FALSE 20130515
2 Exporting E_IS_CONSISTENT Call by reference Type reference (TYPE) RS_BOOL Boolean 20130515
3 Importing I_FISCVARNT Call by reference Type reference (TYPE) PERIV Fiscal Year Variant 20130515
4 Importing I_ID Call by reference Type reference (TYPE) I 20130515
5 Importing I_S_VALUE Call by reference Type reference (TYPE) ANY 20130515

Method _CHECK_LINE_CHAVL_W_FINEST on class CL_RS_TIME_DERIVE has no exception.

Method _CHECK_LINE_SID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_FALSE Call by reference Type reference (TYPE) NT_T_FALSE Table with messages of wrong entries 20130503
2 Exporting E_IS_CONSISTENT Value transfer Type reference (TYPE) RS_BOOL =true <=> all times are consistent 20130502
3 Exporting E_S_REPAIRED_VALUE Call by reference Type reference (TYPE) ANY if not consistent, then contains the repaired line 20130502
4 Importing I_DEFAULT_FISCV Call by reference Type reference (TYPE) PERIV only needed if i_with_repair = true 20130503
5 Importing I_ID Call by reference Type reference (TYPE) I 20130430
6 Importing I_S_VALUE Call by reference Type reference (TYPE) ANY Structure with all the values to be checked 20130430
7 Importing I_WITH_REPAIR Call by reference Type reference (TYPE) RS_BOOL Should method try to repair wrong entries? 20130502

Method _CHECK_LINE_SID on class CL_RS_TIME_DERIVE has no exception.

Method _CHECK_PART_TIME_WO_FINEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_FALSE Call by reference Type reference (TYPE) NT_T_FALSE 20130516
2 Exporting E_IS_CONSISTENT Call by reference Type reference (TYPE) RS_BOOL Boolean 20130516
3 Importing I_FISCVARNT Call by reference Type reference (TYPE) PERIV Fiscal Year Variant 20130516
4 Importing I_HIGH_MIN Call by reference Type reference (TYPE) I 20130516
5 Importing I_ID Call by reference Type reference (TYPE) I 20130516
6 Importing I_LOW_MAX Call by reference Type reference (TYPE) I 20130516
7 Importing I_S_VALUE Call by reference Type reference (TYPE) ANY 20130516
8 Importing I_T_IOBJ_POSIT_PARTIAL Call by reference Type reference (TYPE) NT_T_IOBJ_POSIT 20130516

Method _CHECK_PART_TIME_WO_FINEST on class CL_RS_TIME_DERIVE has no exception.

Method _COMPARE_TIMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_FALSE Call by reference Type reference (TYPE) NT_T_FALSE 20130503
2 Exporting E_IS_CONSISTENT Value transfer Type reference (TYPE) RS_BOOL 20130503
3 Importing I_ID Call by reference Type reference (TYPE) I 20070124
4 Importing I_SX_DERIVE_BUFFER Call by reference Type reference (TYPE) PT_SX_DERIVE_BUFFER 20051215
5 Importing I_S_TIMVL_TO Call by reference Type reference (TYPE) ANY 20051215
6 Importing I_TIMNM_FROM Call by reference Type reference (TYPE) RSCHANM 20051220
7 Importing I_TIMVL_FROM Call by reference Type reference (TYPE) RSD_SID 20051220

Method _COMPARE_TIMES on class CL_RS_TIME_DERIVE has no exception.

Method _FILL_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TIMNM_FROM Call by reference Type reference (TYPE) RSCHANM 20051215
2 Importing I_TIMVL_FROM Call by reference Type reference (TYPE) RSD_SID 20051215
3 Importing I_T_TIMNM_TO Call by reference Type reference (TYPE) RSD_T_IOBJNM 20051215
4 Importing I_VARNT Call by reference Type reference (TYPE) T009B-PERIV 20051215
5 Returning R_SX_DERIVE_BUFFER Value transfer Type reference (TYPE) PT_SX_DERIVE_BUFFER 20051215

Method _FILL_BUFFER on class CL_RS_TIME_DERIVE has no exception.

Method _NCUM_CHECK_INITIALIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_VALUE Call by reference Type reference (TYPE) ANY 20130430
2 Returning R_IS_CONSISTENT Value transfer Type reference (TYPE) RS_BOOL Boolean 20130430

Method _NCUM_CHECK_INITIALIZATION on class CL_RS_TIME_DERIVE has no exception.

Method _NCUM_IS_HIGHVAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_VALUE Call by reference Type reference (TYPE) ANY 20130312
2 Returning R_IS_HIGHVAL Value transfer Type reference (TYPE) RS_BOOL Boolean 20130312

Method _NCUM_IS_HIGHVAL on class CL_RS_TIME_DERIVE has no exception.

Method _REPAIR_LINE_CHAVL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_REPAIRED_VALUE Call by reference Type reference (TYPE) ANY 20130502
2 Importing I_DEFAULT_FISCV Call by reference Type reference (TYPE) PERIV Fiscal Year Variant 20130503
3 Importing I_S_VALUE Call by reference Type reference (TYPE) ANY 20130502

Method _REPAIR_LINE_CHAVL on class CL_RS_TIME_DERIVE has no exception.

Method _REPAIR_LINE_SID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_REPAIRED_VALUE Call by reference Type reference (TYPE) ANY 20130502
2 Importing I_SX_DERIVE_BUFFER Call by reference Type reference (TYPE) PT_SX_DERIVE_BUFFER 20130502
3 Importing I_S_VALUE Call by reference Type reference (TYPE) ANY 20130502

Method _REPAIR_LINE_SID on class CL_RS_TIME_DERIVE has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 710