SAP ABAP Class RS_BCT_PBPC_SCEN_DB (BBPC Scenario database access)
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_SCEN_DB | |
| Short Description | BBPC Scenario database access | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | UPYC_EN | BW: Content BPS for Public Sector Management (English) |
| Created | 20051118 | SAP |
| Last change | 20141101 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class RS_BCT_PBPC_SCEN_DB has no forward declaration.
Interfaces
Class RS_BCT_PBPC_SCEN_DB has no interface implemented.
Friends
Class RS_BCT_PBPC_SCEN_DB has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | BOOLEAN | 'X' | Boolean true | 20051118 | ||
| 2 | Constant | Protected | Type reference (TYPE) | RSIOBJNM | '0PSM_PBPCVC' | Infoobject for Calculation Variant | 20051206 | ||
| 3 | Instance attribute | Public | Type reference (TYPE) | T_INFOOBJECT_LIST | Table of infoobject names/texts | 20051118 | |||
| 4 | Static Attribute | Protected | Type reference (TYPE) | T_INSTANCES | Instances of scenario providers | 20051118 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | T_PBPC_CAPGR | 20051212 | ||||
| 6 | Instance attribute | Public | Type reference (TYPE) | T_PBPC_IOBJ | Infoobject usage in the scenario | 20051125 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | BRF_APPLCLASS | BRF Application Class | 20051125 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | RSBCT_PBPC_SCEN | Scenario db entry | 20051130 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | RSPBPC_SCEN_ID | Scenario ID | 20051118 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | RSPBPC_SCEN_TEXT | Scenario name | 20051118 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20051118 | |
| 2 | Static method | Public | Method | Convert infoobject metadata to BRF result type, length etc | 20051222 | |
| 3 | Instance method | Public | Method | Convert infoobject metadata to BRF result type, length etc | 20051118 | |
| 4 | Instance method | Public | Method | Get Infoobject names and texts for a scenario | 20051118 | |
| 5 | Static method | Public | Method | Factory method to get a provider for a Scenario | 20051118 | |
| 6 | Instance method | Public | Method | Give the Unit reference infoobject name for an infoobject | 20051214 | |
| 7 | Instance method | Protected | Method | Read all data for a scenario | 20051118 |
Events
Class RS_BCT_PBPC_SCEN_DB has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | INFOOBJECT_FOR_BRF | Public | See coding | TBRF150 style attributes for an Infoobject | 20051118 | BEGIN OF infoobject_for_brf,
iobjnm TYPE rsiobjnm,
type TYPE rsiobjtp,
textshort TYPE rstxtsh,
result_type TYPE brf_result_type,
result_length TYPE brf_result_length,
result_out_len TYPE brf_result_output_length,
result_decimals TYPE brf_result_decimals,
uninm TYPE rsuninm,
END OF infoobject_for_brf
|
|
| 2 | INFOOBJECT_LIST | Public | See coding | Infoobject name and texts | 20051118 | BEGIN OF infoobject_list,
iobjnm TYPE rsiobjnm,
txtlg TYPE rstxtlg,
txtsh TYPE rstxtsh,
sort_nbr type rspbpc_sort_nbr,
uninm type rsuninm,
END OF infoobject_list
|
|
| 3 | T_INFOOBJECT_LIST | Public | See coding | Table of infoobject names/texts | 20051118 | t_infoobject_list TYPE STANDARD TABLE OF infoobject_list
|
|
| 4 | T_INSTANCES | Protected | See coding | Table of instances for factory method | 20051130 | T_INSTANCES type standard table of ref to rs_bct_pbpc_scen_db
|
|
| 5 | T_PBPC_CAPGR | Public | See coding | Table of infoobjects for cap groupings | 20051212 | T_PBPC_CAPGR type standard table of rsbct_pbpc_capgr
|
|
| 6 | T_PBPC_IOBJ | Public | See coding | Table of scenario infoobject usage data | 20051125 | T_PBPC_IOBJ type standard table of rsbct_pbpc_iobj
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCEN_ID | Call by reference | Type reference (TYPE) | RSPBPC_SCEN_ID | Personnel Budget Calculator Scenario ID | 20051118 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error reading scenario | 20051118 |
Method GET_BRF_ATTRIBUTES_BY_IOBJNM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_INFOOBJECT_FOR_BRF | Call by reference | Type reference (TYPE) | INFOOBJECT_FOR_BRF | TBRF150 style attributes for an Infoobject | 20051222 | |||
| 2 | I_INFOOBJECT | Call by reference | Type reference (TYPE) | RSIOBJNM | InfoObject | 20051222 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Encountered data type that method cannot translate | 20051222 |
Method GET_INFOOBJECT_BRF_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_INFOOBJECT_FOR_BRF | Call by reference | Type reference (TYPE) | INFOOBJECT_FOR_BRF | TBRF150 style attributes for an Infoobject | 20051118 | |||
| 2 | I_INFOOBJECT | Call by reference | Type reference (TYPE) | RSIOBJNM | InfoObject | 20051118 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Requested Infoobject is not defined for the Scenario | 20051121 | ||
| 2 | Encountered data type that method cannot translate | 20051118 |
Method GET_LIST_INFOOBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_INFOOBJECTS | Call by reference | Type reference (TYPE) | T_INFOOBJECT_LIST | Infoobject names/texts in the scenario | 20051118 |
Method GET_LIST_INFOOBJECTS on class RS_BCT_PBPC_SCEN_DB has no exception.
Method GET_SCEN_PROVIDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_PROVIDER | Call by reference | Object reference (TYPE REF TO) | RS_BCT_PBPC_SCEN_DB | PBC Scenario database access | 20051118 | |||
| 2 | I_APPLCLASS | Call by reference | Type reference (TYPE) | BRF_APPLCLASS | BRF: Application Class | 20051118 | |||
| 3 | I_IMPORT_STATUS | Call by reference | Type reference (TYPE) | BRF_IMPORT_STATUS | BRF: Import Status | 20051118 | |||
| 4 | I_SCEN_ID | Call by reference | Type reference (TYPE) | RSPBPC_SCEN_ID | Single-Character Flag | 20051118 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Requested BRF Applclass is not assigned to PBC Scenario | 20051118 | ||
| 2 | No parameters were passed | 20051118 | ||
| 3 | Requested PBC Scenario does not exist | 20051118 |
Method GET_UNINM_FOR_INFOOBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_IOBJNM | Call by reference | Type reference (TYPE) | RSIOBJNM | Currency or quantity type InfoObject | 20051214 | |||
| 2 | R_UNINM | Value transfer | Type reference (TYPE) | RSIOBJNM | InfoObject with currency or unit of measure | 20051214 |
Method GET_UNINM_FOR_INFOOBJECT on class RS_BCT_PBPC_SCEN_DB has no exception.
Method READ_FULL_SCENARIO Signature
Method READ_FULL_SCENARIO on class RS_BCT_PBPC_SCEN_DB has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Scenario is corrupt: maybe infoobject no longer exists | 20051118 |
History
| Last changed by/on | SAP | 20141101 |
| SAP Release Created in | 703 |