SAP ABAP Class RS_BCT_PBPC_CAP_SVC (Service class to manage capped formulas in BRF)
Hierarchy
☛
BI_CONT (Software Component) Business Intelligence Content
⤷
BW-BCT-PSM (Application Component) Public Sector Management
⤷
UPYC_EN (Package) BW: Content BPS for Public Sector Management (English)
⤷
⤷
Properties
| Class | RS_BCT_PBPC_CAP_SVC | |
| Short Description | Service class to manage capped formulas in BRF | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | RSBCT_PBPC | |
| Program status | ||
| Category | 0 | |
| Package | UPYC_EN | BW: Content BPS for Public Sector Management (English) |
| Created | 20051202 | SAP |
| Last change | 20141101 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class RS_BCT_PBPC_CAP_SVC has no forward declaration.
Interfaces
Class RS_BCT_PBPC_CAP_SVC has no interface implemented.
Friends
Class RS_BCT_PBPC_CAP_SVC has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | BOOLE_D | 'X' | Boolean true | 20051202 | ||
| 2 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Dynamic itab to store individual totals | 20051202 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | RSBCT_PBPC_CAP_V | Basic cap config | 20051202 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | T_CAPGR | List of instances for factory method | 20051202 | |||
| 5 | Static Attribute | Protected | Type reference (TYPE) | T_INSTANCES | List of active instances for factory | 20051202 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | BRF_EXPRESSION | BRF Expression name | 20051202 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Apply the cap to the formula result | 20051202 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20051202 | |
| 3 | Instance method | Protected | Method | Dynamic data table allocation | 20051202 | |
| 4 | Instance method | Protected | Method | Empty data itab for an instance | 20051205 | |
| 5 | Static method | Public | Method | Clear all data in cap itabs | 20051205 | |
| 6 | Static method | Public | Method | Factory method | 20051202 | |
| 7 | Instance method | Protected | Method | Read customizing data about the cap | 20051202 |
Events
Class RS_BCT_PBPC_CAP_SVC has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_CAPGR | Protected | See coding | 20051202 | t_capgr TYPE STANDARD TABLE OF rsbct_pbpc_capgr
|
||
| 2 | T_INSTANCES | Protected | See coding | List of instances for factory method | 20051202 | t_instances TYPE STANDARD TABLE OF REF TO rs_bct_pbpc_cap_svc
|
Method Signatures
Method CAP_FORMULA_RESULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_FORMULA_RESULT | Call by reference | Type reference (TYPE) | ANY | Capped formula result | 20051202 | |||
| 2 | I_CAP_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | Currency for the min/max values | 20051214 | |||
| 3 | I_MAX_AMT | Call by reference | Type reference (TYPE) | RSPBPC_CAP_MAX | Capped Formula - Maximum Value | 20051202 | |||
| 4 | I_MIN_AMT | Call by reference | Type reference (TYPE) | RSPBPC_CAP_MIN | Capped Formula - Minimum Value | 20051202 | |||
| 5 | I_RESULT_CURRENCY | Call by reference | Type reference (TYPE) | RSPBPC_DEFAULT_CURR | Currency of the formula calculation | 20051214 | |||
| 6 | I_SUBSET_ROW | Call by reference | Type reference (TYPE) | ANY | Row of planning data | 20051202 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unable to convert currencies | 20051214 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CAP_ID | Call by reference | Type reference (TYPE) | RSPBPC_CAP_ID | PBPC Formula Cap | 20051202 | |||
| 2 | I_EXPRESSION | Call by reference | Type reference (TYPE) | BRF_EXPRESSION | BRF Expression | 20051202 | |||
| 3 | I_SCEN_ID | Call by reference | Type reference (TYPE) | RSPBPC_SCEN_ID | Personnel Budget Calculator Scenario ID | 20051202 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error accessing query/view data | 20051202 |
Method CREATE_DATA_TABLE Signature
Method CREATE_DATA_TABLE on class RS_BCT_PBPC_CAP_SVC has no parameter.
Method CREATE_DATA_TABLE on class RS_BCT_PBPC_CAP_SVC has no exception.
Method EMPTY_DATA_TABLE Signature
Method EMPTY_DATA_TABLE on class RS_BCT_PBPC_CAP_SVC has no parameter.
Method EMPTY_DATA_TABLE on class RS_BCT_PBPC_CAP_SVC has no exception.
Method EMPTY_DATA_TABLES Signature
Method EMPTY_DATA_TABLES on class RS_BCT_PBPC_CAP_SVC has no parameter.
Method EMPTY_DATA_TABLES on class RS_BCT_PBPC_CAP_SVC has no exception.
Method GET_CAP_PROVIDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CAP_ID | Call by reference | Type reference (TYPE) | RSPBPC_CAP_ID | PBPC Formula Cap | 20051202 | |||
| 2 | I_EXPRESSION | Call by reference | Type reference (TYPE) | BRF_EXPRESSION | BRF Expression | 20051202 | |||
| 3 | I_SCEN_ID | Call by reference | Type reference (TYPE) | RSPBPC_SCEN_ID | Personnel Budget Calculator Scenario ID | 20051202 | |||
| 4 | R_PROVIDER | Value transfer | Object reference (TYPE REF TO) | RS_BCT_PBPC_CAP_SVC | Instance | 20051202 |
Method GET_CAP_PROVIDER on class RS_BCT_PBPC_CAP_SVC has no exception.
Method LOAD_CAP_CONFIG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CAP_ID | Call by reference | Type reference (TYPE) | RSPBPC_CAP_ID | PBPC Formula Cap | 20051202 | |||
| 2 | I_SCEN_ID | Call by reference | Type reference (TYPE) | RSPBPC_SCEN_ID | Personnel Budget Calculator Scenario ID | 20051202 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Cap not found or not valid | 20051202 |
History
| Last changed by/on | SAP | 20141101 |
| SAP Release Created in | 703 |