SAP ABAP Class CL_RSR_TIME_RELATION_HDB (Time Relations in TREX/HDB)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-WHM-DBA (Application Component) Data Basis
⤷
RSR_CORE (Package) Processor for Core Objects Reporting
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RS_BASE | BW Basis | 20110527 |
Properties
| Class | CL_RSR_TIME_RELATION_HDB | |
| 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 | RSR_CORE | Processor for Core Objects Reporting |
| Created | 20110527 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSR_TIME_RELATION_HDB has no interface implemented.
Friends
Class CL_RSR_TIME_RELATION_HDB has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | 'L_' | Prefix for Logical Index | 20110527 | |||
| 2 | Constant | Public | Type reference (TYPE) | RSIOBJNM | 'SPECIAL_PERIOD' | Field Name for 'Special Periods' Flag | 20110527 | ||
| 3 | Constant | Public | Type reference (TYPE) | TABNAME16 | 'RSR_REL_TIME' | Name used for name of physical index | 20110527 | ||
| 4 | Constant | Public | Type reference (TYPE) | TABNAME16 | 'RSR_REL_TIME_FIS' | Name used for name of physical index | 20110527 | ||
| 5 | Instance attribute | Public | Type reference (TYPE) | TN_TS_FIELD | Description of Work Structure P_R_CHAS->* | 20110527 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Flag: Both 0CALDAY and 0FISVARNT as Source | 20110527 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | TREXD_INDEX_ID | Index ID of Logical Index | 20110527 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | TREXD_INDEX_ID | Index ID of Logical Index | 20110527 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Field for Fiscal Year Variant | 20110527 | |||
| 10 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Field for Fiscal Year Variant (if constant) | 20110527 | |||
| 11 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Structure of Time Characteristics | 20110527 | |||
| 12 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Structure Description of P_R_S_CHAS | 20110527 | |||
| 13 | Static Attribute | Private | See coding | Manages instances of class | 20110527 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20110527 | |
| 2 | Instance method | Public | Method | Creates all combinations for selection | 20110527 | |
| 3 | Instance method | Public | Method | Creates structure with all source fields and target fields | 20110527 | |
| 4 | Instance method | Public | Method | Creates physical index with time relations | 20110527 | |
| 5 | Instance method | Private | Method | Fills all combinations derivable from 0CALDAY | 20110527 | |
| 6 | Instance method | Private | Method | Fills all combinations derivable from 0CALDAY, 0FISCVARNT | 20110527 | |
| 7 | Instance method | Private | Method | Fills the SID fields for info objects | 20110527 | |
| 8 | Instance method | Private | Method | Gets all fiscal year variants | 20110527 | |
| 9 | Instance method | Private | Method | Get all fiscal periods for fiscal year variant | 20110527 | |
| 10 | Instance method | Private | Method | Get all periods for fiscal year variant and year | 20110527 | |
| 11 | Static method | Public | Method | 20110527 |
Events
Class CL_RSR_TIME_RELATION_HDB has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TN_S_FIELD | Public | See coding | Field Description | 20110527 | 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 | 20110527 | 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 | 20110527 | 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 | 20110527 | BEGIN OF tp_s_ref,
with_periv TYPE abap_bool,
ref TYPE REF TO CL_RSR_TIME_RELATION_HDB,
END OF tp_s_ref
|
|
| 5 | TP_T_FISCPER | Private | See coding | Table for Fiscal Periods | 20110527 | 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 | I_WITH_PERIV | Call by reference | Type reference (TYPE) | ABAP_BOOL | Flag: 0CALDAY und 0FISCVARNT als Quelle | 20110527 |
Method CONSTRUCTOR on class CL_RSR_TIME_RELATION_HDB has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_CHAS | Call by reference | Type reference (TYPE) | STANDARD TABLE | Tabelle mit Kombinationen | 20110527 |
Method CREATE on class CL_RSR_TIME_RELATION_HDB has no exception.
Method CREATE_DATA_CHAS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_R_S_CHAS | Value transfer | Object reference (TYPE REF TO) | DATA | Struktur für Kombinationen | 20110527 |
Method CREATE_DATA_CHAS on class CL_RSR_TIME_RELATION_HDB has no exception.
Method CREATE_DB_CONTENT Signature
Method CREATE_DB_CONTENT on class CL_RSR_TIME_RELATION_HDB has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110527 |
Method CREATE_FROM_CALDAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_CHAS | Call by reference | Type reference (TYPE) | STANDARD TABLE | Tabelle mit Kombinationen | 20110527 |
Method CREATE_FROM_CALDAY on class CL_RSR_TIME_RELATION_HDB has no exception.
Method CREATE_FROM_CALDAY_PERIV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_CHAS | Call by reference | Type reference (TYPE) | STANDARD TABLE | Tabelle mit Kombinationen | 20110527 |
Method CREATE_FROM_CALDAY_PERIV on class CL_RSR_TIME_RELATION_HDB has no exception.
Method FILL_SIDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_CHAS | Call by reference | Type reference (TYPE) | STANDARD TABLE | Tabelle mit Kombinationen | 20110527 |
Method FILL_SIDS on class CL_RSR_TIME_RELATION_HDB has no exception.
Method GET_ALL_PERIV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_PERIV | Call by reference | Type reference (TYPE) | STANDARD TABLE | Tabelle mit Geschäftsjahresvarianten | 20110527 |
Method GET_ALL_PERIV on class CL_RSR_TIME_RELATION_HDB has no exception.
Method GET_FISCPER_FOR_PERIV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_FISCPER | Call by reference | Type reference (TYPE) | TP_T_FISCPER | Perioden zu einer Geschäftsjahresvariante | 20110527 | |||
| 2 | I_FISCVARNT | Call by reference | Type reference (TYPE) | C | Geschäftsjahresvariante | 20110527 |
Method GET_FISCPER_FOR_PERIV on class CL_RSR_TIME_RELATION_HDB has no exception.
Method GET_VALID_FISCPER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_FISCPER | Call by reference | Type reference (TYPE) | TP_T_FISCPER | Perioden zu einer Geschäftsjahresvariante | 20110527 | |||
| 2 | I_FISCVARNT | Call by reference | Type reference (TYPE) | PERIV | Geschäftsjahresvariante | 20110527 | |||
| 3 | I_FISCYEAR | Call by reference | Type reference (TYPE) | GJAHR | Geschäftsjahr | 20110527 |
Method GET_VALID_FISCPER on class CL_RSR_TIME_RELATION_HDB has no exception.
Method S_GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_WITH_PERIV | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110527 | ||||
| 2 | R_R_REF | Value transfer | Object reference (TYPE REF TO) | CL_RSR_TIME_RELATION_HDB | 20110527 |
Method S_GET_INSTANCE on class CL_RSR_TIME_RELATION_HDB has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 730 |