SAP ABAP Class CL_RSR_RRK0_STOCK_COVER (Stock Coverage calculation)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-BEX-OT (Application Component) OLAP Technology
⤷
RSROA_RT (Package) OLAP: Kernel Runtime
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RSR_RRK0_SERVICE_BASE | Basis for RRK0 Service Classes | 20121218 |
Properties
| Class | CL_RSR_RRK0_STOCK_COVER | |
| Short Description | Stock Coverage calculation | |
| Super Class | CL_RSR_RRK0_SERVICE_BASE | Basis for RRK0 Service Classes |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSROA_RT | OLAP: Kernel Runtime |
| Created | 20121218 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSR_RRK0_STOCK_COVER has no interface implemented.
Friends
Class CL_RSR_RRK0_STOCK_COVER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | PT_TS_FACTOR | 20130301 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | 20130808 | ||
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20121218 | |
| 3 | Instance method | Public | Method | 20130205 | ||
| 4 | Instance method | Public | Method | enhance table of BNR with stock and demand BNRs | 20130129 | |
| 5 | Instance method | Public | Method | filter WGR by stock cover time | 20121218 | |
| 6 | Instance method | Public | Method | 20130301 | ||
| 7 | Instance method | Public | Method | determine first period for which stock needs to cover demand | 20130710 | |
| 8 | Instance method | Public | Method | 20130208 | ||
| 9 | Instance method | Private | Method | 20130321 | ||
| 10 | Instance method | Public | Method | 20130228 | ||
| 11 | Instance method | Private | Method | Incrementing/Decrementing of the SID for a Time Char | 20121219 |
Events
Class CL_RSR_RRK0_STOCK_COVER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | PT_S_FACTOR | Private | See coding | 20130301 | BEGIN OF pt_s_factor,
bnr TYPE rrbnr,
factor TYPE rsroa_df,
END OF pt_s_factor
|
||
| 2 | PT_TS_FACTOR | Private | See coding | 20130301 | pt_ts_factor TYPE SORTED TABLE OF pt_s_factor WITH UNIQUE KEY bnr
|
Method Signatures
Method ADJUST_VALEXCP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_S_BDATA_STOCK_COVER | Call by reference | Type reference (TYPE) | IF_RSR_RRK0_DATA_TYPES=>TN_S_BDATA | 20130808 |
Method ADJUST_VALEXCP on class CL_RSR_RRK0_STOCK_COVER has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_QUERY_RUNTIME | Call by reference | Object reference (TYPE REF TO) | CL_RSR_RRK0_QUERY_RUNTIME | 20121218 |
Method CONSTRUCTOR on class CL_RSR_RRK0_STOCK_COVER has no exception.
Method COVER_DEMAND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_S_BDATA_STOCK | Call by reference | Type reference (TYPE) | IF_RSR_RRK0_DATA_TYPES=>TN_S_BDATA | 20130208 | ||||
| 2 | C_S_BDATA_STOCK_COVER | Call by reference | Type reference (TYPE) | IF_RSR_RRK0_DATA_TYPES=>TN_S_BDATA | 20130205 | ||||
| 3 | E_CONTINUE_CALCULATION | Call by reference | Type reference (TYPE) | RS_BOOL | continue calculation with next period | 20130208 | |||
| 4 | E_SCTSID_NEXT | Call by reference | Type reference (TYPE) | RSSID | Master data ID | 20130208 | |||
| 5 | I_R_AGGRGEN | Call by reference | Object reference (TYPE REF TO) | CL_RSR_RRK0_AGGRGEN | Generic Aggregation | 20130305 | |||
| 6 | I_SCTSID | Call by reference | Type reference (TYPE) | RSSID | Master data ID | 20130208 | |||
| 7 | I_S_BDATA_DEMAND | Call by reference | Type reference (TYPE) | IF_RSR_RRK0_DATA_TYPES=>TN_S_BDATA | 20130205 | ||||
| 8 | I_S_STOCK_COVER | Call by reference | Type reference (TYPE) | RRO01_S_STOCK_COVER | Stock Coverage | 20130208 |
Method COVER_DEMAND on class CL_RSR_RRK0_STOCK_COVER has no exception.
Method ENHANCE_TS_WANZ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_TS_WANZ | Call by reference | Type reference (TYPE) | RRSI_TS_SID | SID (or Integer) Table | 20130129 |
Method ENHANCE_TS_WANZ on class CL_RSR_RRK0_STOCK_COVER has no exception.
Method FILTER_WGR_BY_SCTSID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_WGR | Call by reference | Object reference (TYPE REF TO) | DATA | 20121218 | ||||
| 2 | I_SCTSID | Call by reference | Type reference (TYPE) | RSSID | stock cover time | 20121218 | |||
| 3 | I_SX_WGR | Call by reference | Type reference (TYPE) | RRO01_SX_WGR | Description of Storage and Aggregation Table | 20121218 | |||
| 4 | I_WGR | Call by reference | Type reference (TYPE) | DATA | 20121218 |
Method FILTER_WGR_BY_SCTSID on class CL_RSR_RRK0_STOCK_COVER has no exception.
Method GET_CONVERSION_FACTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BNR | Call by reference | Type reference (TYPE) | RRBNR | Absolute Number of the SP Storage Location | 20130301 | |||
| 2 | R_CONVERSION_FACTOR | Value transfer | Type reference (TYPE) | RSROA_DF | Decimal Float Value | 20130301 |
Method GET_CONVERSION_FACTOR on class CL_RSR_RRK0_STOCK_COVER has no exception.
Method GET_SCTSID_START Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SCTSID_START | Call by reference | Type reference (TYPE) | RSSID | first period for which stock needs to cover demand | 20130710 | |||
| 2 | I_SCTSID_STOCK | Call by reference | Type reference (TYPE) | RSSID | Master data ID | 20130710 | |||
| 3 | I_S_STOCK_COVER | Call by reference | Type reference (TYPE) | RRO01_S_STOCK_COVER | Stock Coverage | 20130710 |
Method GET_SCTSID_START on class CL_RSR_RRK0_STOCK_COVER has no exception.
Method INIT_BDATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_S_BDATA_STOCK_COVER | Call by reference | Type reference (TYPE) | IF_RSR_RRK0_DATA_TYPES=>TN_S_BDATA | 20130208 | ||||
| 2 | I_R_BDATA | Call by reference | Object reference (TYPE REF TO) | CL_RSR_RRK0_BDATA | bdata table (bnr values per setxx char value combination) | 20130228 | |||
| 3 | I_SCTSID_STOCK | Call by reference | Type reference (TYPE) | RSSID | Master data ID | 20130318 | |||
| 4 | I_S_BDATA_STOCK | Call by reference | Type reference (TYPE) | IF_RSR_RRK0_DATA_TYPES=>TN_S_BDATA | 20130208 | ||||
| 5 | I_S_STOCK_COVER | Call by reference | Type reference (TYPE) | RRO01_S_STOCK_COVER | Stock Coverage | 20130318 |
Method INIT_BDATA on class CL_RSR_RRK0_STOCK_COVER has no exception.
Method IS_EXTRA_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCTSID | Call by reference | Type reference (TYPE) | RSSID | Master data ID | 20130321 | |||
| 2 | I_S_STOCK_COVER | Call by reference | Type reference (TYPE) | RRO01_S_STOCK_COVER | Stock Coverage | 20130321 | |||
| 3 | R_EXTRA_PERIOD | Value transfer | Type reference (TYPE) | RS_BOOL | Boolean | 20130321 |
Method IS_EXTRA_PERIOD on class CL_RSR_RRK0_STOCK_COVER has no exception.
Method SET_FIXUNIT_IN_BDATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_TS_BDATA | Call by reference | Type reference (TYPE) | IF_RSR_RRK0_DATA_TYPES=>TN_T_BDATA | 20130228 |
Method SET_FIXUNIT_IN_BDATA on class CL_RSR_RRK0_STOCK_COVER has no exception.
Method TOBJ_SHIFT_SID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TIMSID | Call by reference | Type reference (TYPE) | RSD_SID | Value After Shift | 20121219 | |||
| 2 | I_EXTRA_PERIOD | Call by reference | Type reference (TYPE) | RS_BOOL | Boolean | 20121219 | |||
| 3 | I_SHIFT | Call by reference | Type reference (TYPE) | I | Shift (Pos. or Neg.) | 20121219 | |||
| 4 | I_TIMNM | Call by reference | Type reference (TYPE) | RSDIOBJ-IOBJNM | Name of Time Characteristic | 20121219 | |||
| 5 | I_TIMSID | Call by reference | Type reference (TYPE) | RSD_SID | Value of Time Characteristic | 20121219 |
Method TOBJ_SHIFT_SID on class CL_RSR_RRK0_STOCK_COVER has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |