SAP ABAP Class CL_RSPLS_CR_TIME_TREX (Time Relations in TREX/HDB)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-PLA (Application Component) Planning
     RSPLS (Package) Planning: General Services
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RS_BASE BW Basis 20101117
Properties
Class CL_RSPLS_CR_TIME_TREX  
Short Description Time Relations in TREX/HDB    
Super Class CL_RS_BASE BW Basis 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSPLS   Planning: General Services 
Created 20101117   SAP 
Last change 20130531   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 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSPLS_CR_TIME_TREX has no interface implemented.
Friends
Class CL_RSPLS_CR_TIME_TREX has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_C_PREFIX_LOG_IDX Constant Public See coding 'L_' Prefix for Logical Index 20101118
2 N_C_SPECIAL_PERIOD Constant Public Type reference (TYPE) RSIOBJNM 'SPECIAL_PERIOD' Field Name for 'Special Periods' Flag 20101117
3 N_C_TABNM_TIME Constant Public Type reference (TYPE) TABNAME 'RSR_REL_TIME' Name used for name of physical index 20101118
4 N_C_TABNM_TIME_PERIV Constant Public Type reference (TYPE) TABNAME 'RSR_REL_TIME_FIS' Name used for name of physical index 20101118
5 N_TS_FIELD Instance attribute Public Type reference (TYPE) TN_TS_FIELD Description of Work Structure P_R_CHAS->* 20101117
6 N_WITH_PERIV Instance attribute Public Type reference (TYPE) ABAP_BOOL Flag: Both 0CALDAY and 0FISVARNT as Source 20101117
7 P_LOG_INDEX Instance attribute Private Type reference (TYPE) TREXD_INDEX_ID Index ID of Logical Index 20101118
8 P_PHY_INDEX Instance attribute Private Type reference (TYPE) TREXD_INDEX_ID Index ID of Logical Index 20101118
9 P_R_PERIV Instance attribute Private Object reference (TYPE REF TO) DATA Field for Fiscal Year Variant 20101117
10 P_R_PERIV_CONST Instance attribute Private Object reference (TYPE REF TO) DATA Field for Fiscal Year Variant (if constant) 20101117
11 P_R_S_CHAS Instance attribute Private Object reference (TYPE REF TO) DATA Structure of Time Characteristics 20101117
12 P_R_TYPE Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Structure Description of P_R_S_CHAS 20101117
13 P_TS_REF Static Attribute Private See coding Manages instances of class 20101117
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20101117
2 CREATE Instance method Public Method Creates all combinations for selection 20101117
3 CREATE_DATA_CHAS Instance method Public Method Creates structure with all source fields and target fields 20101117
4 CREATE_FROM_CALDAY Instance method Private Method Fills all combinations derivable from 0CALDAY 20101117
5 CREATE_FROM_CALDAY_PERIV Instance method Private Method Fills all combinations derivable from 0CALDAY, 0FISCVARNT 20101117
6 CREATE_LOG_INDEX Instance method Public Method Creates logical index with time relations 20101118
7 CREATE_PHY_INDEX Instance method Public Method Creates physical index with time relations 20101118
8 DELETE_LOG_INDEX Instance method Public Method Deletes logical index with time relations 20101118
9 DELETE_PHY_INDEX Instance method Public Method Deletes physical index with time relations 20101118
10 EXISTS_LOG_INDEX Instance method Public Method Does logical index with time relations exist? 20101118
11 EXISTS_PHY_INDEX Instance method Public Method Does physical index with time relations exist? 20101118
12 FILL_SIDS Instance method Private Method Fills the SID fields for info objects 20101117
13 GET_ALL_PERIV Instance method Private Method Gets all fiscal year variants 20101117
14 GET_FISCPER_FOR_PERIV Instance method Private Method Get all fiscal periods for fiscal year variant 20101117
15 GET_INSTANCE Static method Public Method Factory Method 20101117
16 GET_VALID_FISCPER Instance method Private Method Get all periods for fiscal year variant and year 20101117
Events
Class CL_RSPLS_CR_TIME_TREX has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TN_S_FIELD Public See coding Field Description 20101117 BEGIN OF tn_s_field , iobjnm TYPE rsiobjnm, pos TYPE i, role TYPE if_rspls_cr_types=>tn_role, is_sid TYPE abap_bool, fieldnm TYPE rsfieldnm, "admissible name for DDIC attr TYPE c LENGTH 64,"attribute name in TREX/HDB END OF tn_s_field
2 TN_TS_FIELD Public See coding Table of Fields 20101117 tn_ts_field TYPE SORTED TABLE OF tn_s_field WITH UNIQUE KEY pos WITH NON-UNIQUE SORTED KEY iobj COMPONENTS iobjnm is_sid WITH NON-UNIQUE SORTED KEY attr COMPONENTS attr
3 TP_S_FISCPER Private See coding Structure for Fiscal Periods 20101117 BEGIN OF tp_s_fiscper, fiscper TYPE n LENGTH 7, special_period TYPE abap_bool, END OF tp_s_fiscper
4 TP_S_REF Private See coding Reference 20101117 BEGIN OF tp_s_ref, with_periv TYPE abap_bool, ref TYPE REF TO cl_rspls_cr_time_trex, END OF tp_s_ref
5 TP_T_FISCPER Private See coding Table for Fiscal Periods 20101117 tp_t_fiscper TYPE STANDARD TABLE OF tp_s_fiscper WITH DEFAULT KEY
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_WITH_PERIV Call by reference Type reference (TYPE) ABAP_BOOL Flag: 0CALDAY und 0FISCVARNT als Quelle 20101117

Method CONSTRUCTOR on class CL_RSPLS_CR_TIME_TREX has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_CHAS Call by reference Type reference (TYPE) STANDARD TABLE Tabelle mit Kombinationen 20101117

Method CREATE on class CL_RSPLS_CR_TIME_TREX has no exception.

Method CREATE_DATA_CHAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_R_S_CHAS Value transfer Object reference (TYPE REF TO) DATA Struktur für Kombinationen 20101117

Method CREATE_DATA_CHAS on class CL_RSPLS_CR_TIME_TREX has no exception.

Method CREATE_FROM_CALDAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_CHAS Call by reference Type reference (TYPE) STANDARD TABLE Tabelle mit Kombinationen 20101117

Method CREATE_FROM_CALDAY on class CL_RSPLS_CR_TIME_TREX has no exception.

Method CREATE_FROM_CALDAY_PERIV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_CHAS Call by reference Type reference (TYPE) STANDARD TABLE Tabelle mit Kombinationen 20101117

Method CREATE_FROM_CALDAY_PERIV on class CL_RSPLS_CR_TIME_TREX has no exception.

Method CREATE_LOG_INDEX Signature

Method CREATE_LOG_INDEX on class CL_RSPLS_CR_TIME_TREX has no parameter.
# Exception Resumable Description Created on
1 CX_RSPLS_FAILED Methode ist fehlgeschlagen 20101118

Method CREATE_PHY_INDEX Signature

Method CREATE_PHY_INDEX on class CL_RSPLS_CR_TIME_TREX has no parameter.
# Exception Resumable Description Created on
1 CX_RSPLS_FAILED Methode ist fehlgeschlagen 20101118

Method DELETE_LOG_INDEX Signature

Method DELETE_LOG_INDEX on class CL_RSPLS_CR_TIME_TREX has no parameter.
Method DELETE_LOG_INDEX on class CL_RSPLS_CR_TIME_TREX has no exception.

Method DELETE_PHY_INDEX Signature

Method DELETE_PHY_INDEX on class CL_RSPLS_CR_TIME_TREX has no parameter.
Method DELETE_PHY_INDEX on class CL_RSPLS_CR_TIME_TREX has no exception.

Method EXISTS_LOG_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_BOOL Value transfer Type reference (TYPE) ABAP_BOOL Existiert der logische Index? 20101118

Method EXISTS_LOG_INDEX on class CL_RSPLS_CR_TIME_TREX has no exception.

Method EXISTS_PHY_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_BOOL Value transfer Type reference (TYPE) ABAP_BOOL Existiert der pyhsische Index? 20101118

Method EXISTS_PHY_INDEX on class CL_RSPLS_CR_TIME_TREX has no exception.

Method FILL_SIDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_CHAS Call by reference Type reference (TYPE) STANDARD TABLE Tabelle mit Kombinationen 20101117

Method FILL_SIDS on class CL_RSPLS_CR_TIME_TREX has no exception.

Method GET_ALL_PERIV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_PERIV Call by reference Type reference (TYPE) STANDARD TABLE Tabelle mit Geschäftsjahresvarianten 20101117

Method GET_ALL_PERIV on class CL_RSPLS_CR_TIME_TREX has no exception.

Method GET_FISCPER_FOR_PERIV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_FISCPER Call by reference Type reference (TYPE) TP_T_FISCPER Perioden zu einer Geschäftsjahresvariante 20101117
2 Importing I_FISCVARNT Call by reference Type reference (TYPE) C Geschäftsjahresvariante 20101117

Method GET_FISCPER_FOR_PERIV on class CL_RSPLS_CR_TIME_TREX has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_WITH_PERIV Value transfer Type reference (TYPE) ABAP_BOOL Flag: 0CALDAY und 0FISCVARNT als Quelle 20101117
2 Returning R_R_REF Value transfer Object reference (TYPE REF TO) CL_RSPLS_CR_TIME_TREX Zeitrelationen in TREX/HDB laden 20101117

Method GET_INSTANCE on class CL_RSPLS_CR_TIME_TREX has no exception.

Method GET_VALID_FISCPER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_FISCPER Call by reference Type reference (TYPE) TP_T_FISCPER Perioden zu einer Geschäftsjahresvariante 20101117
2 Importing I_FISCVARNT Call by reference Type reference (TYPE) PERIV Geschäftsjahresvariante 20101117
3 Importing I_FISCYEAR Call by reference Type reference (TYPE) GJAHR Geschäftsjahr 20101117

Method GET_VALID_FISCPER on class CL_RSPLS_CR_TIME_TREX has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 730