SAP ABAP Class RS_BCT_PBPC_LOOKUP_SVC (Service class to access other infoproviders)
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_LOOKUP_SVC | |
| Short Description | Service class to access other infoproviders | |
| 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 | 20051124 | SAP |
| Last change | 20141101 | |
| 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 RS_BCT_PBPC_LOOKUP_SVC has no interface implemented.
Friends
Class RS_BCT_PBPC_LOOKUP_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 | 20051124 | ||
| 2 | Constant | Public | Type reference (TYPE) | BRF_VR_FIELD | 'REF_DATE' | Dummy field for ref date | 20080423 | ||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | 20051201 | ||||
| 4 | Instance attribute | Public | Object reference (TYPE REF TO) | DATA | Infoprovider data as flat itab | 20051201 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | RSD_S_DTA | Basic info about infoprovider | 20051124 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | RSD_T_DTA_IOBJ | List of infoobjects | 20051124 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | RSD_T_DTA_PRO | Infoobject properties | 20051124 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | T_INFOOBJECT_LIST | List of infoobjects available | 20051124 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | T_INFOPROVIDER_DATA | Infoprovider data | 20080423 | |||
| 10 | Static Attribute | Protected | Type reference (TYPE) | T_INSTANCES | List of active instances for factory | 20051124 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | RSD_T_IOBJ_CMP | Compounding of InfoObjects | 20080423 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | RSDRI_TH_SFC | Characteristics to load | 20051130 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | RSDRI_TH_SFK | Key figures to load | 20051130 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | BOOLE_D | Indicator if we've tried to read the data | 20051201 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20051124 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | RSPBPC_LOOKUP_ID | PBPC: Identifies buffer settings to use for lookups | 20051214 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | RSDRC_SRDATE | Reference Date | 20080423 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | G_TYPE_REF_DATE_USED | Reference date used cnt | 20080423 | |||
| 19 | Instance attribute | Protected | Type reference (TYPE) | RSPBPC_SCEN_ID | Personnel Budget Calculator Scenario ID | 20051214 | |||
| 20 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Is Master Data | 20080423 | |||
| 21 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Is time dependent | 20080423 | |||
| 22 | Instance attribute | Public | Type reference (TYPE) | BOOLE_D | Indicator that query/view has no data | 20051124 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Change the reference date | 20080423 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20051124 | |
| 3 | Instance method | Protected | Method | Dynamic data table allocation | 20051130 | |
| 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 | Instance method | Public | Method | Get the data table of the infoprovider | 20051130 | |
| 7 | Instance method | Public | Method | Convert infoobject metadata to BRF result type, length etc | 20051201 | |
| 8 | Instance method | Public | Method | Pass back infoprovider | 20080423 | |
| 9 | Instance method | Public | Method | Return a list of infobject names and texts | 20051124 | |
| 10 | Static method | Public | Method | Factory method | 20051124 | |
| 11 | Instance method | Public | Method | Get the current reference date | 20080423 | |
| 12 | Instance method | Public | Method | Return unit of measure/currency reference field name | 20051214 | |
| 13 | Instance method | Protected | Method | Get value from a BW variable for buffer filtering | 20051214 | |
| 14 | Instance method | Protected | Method | Load data about the infoprovider into global itabs | 20051124 | |
| 15 | Instance method | Protected | Method | Read data from the infoprovider | 20051130 |
Events
Class RS_BCT_PBPC_LOOKUP_SVC has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | INFOOBJECT_FOR_BRF | Public | See coding | 20051201 | 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 | List infoobject names and texts for F4 help | 20051124 | BEGIN OF infoobject_list,
iobjnm TYPE rsiobjnm,
txtlg TYPE rstxtlg,
uninm type rsuninm,
END OF infoobject_list
|
|
| 3 | INFOPROVIDER_DATA | Public | See coding | 20080423 | begin of infoprovider_data,
ref_date type rsdrc_srdate,
r_data_tab type ref to data,
end of infoprovider_data
|
||
| 4 | T_INFOOBJECT_LIST | Public | See coding | List infoobject names and texts for F4 help - table | 20051124 | t_infoobject_list TYPE STANDARD TABLE OF infoobject_list
|
|
| 5 | T_INFOPROVIDER_DATA | Public | See coding | 20080423 | t_infoprovider_data type sorted table of infoprovider_data
with unique key ref_date
|
||
| 6 | T_INSTANCES | Protected | See coding | List of instances for factory method | 20051124 | T_INSTANCES type standard table of ref to rs_bct_pbpc_lookup_svc
|
Method Signatures
Method CHANGE_REFERENCE_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_REF_DATE | Call by reference | Type reference (TYPE) | RSDRC_SRDATE | 20080423 |
Method CHANGE_REFERENCE_DATE on class RS_BCT_PBPC_LOOKUP_SVC has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_INFOPROVIDER | Call by reference | Type reference (TYPE) | RSINFOPROV | Infoprovider | 20051124 | |||
| 2 | I_LOOKUP_ID | Call by reference | Type reference (TYPE) | RSPBPC_LOOKUP_ID | PBPC: Identifies buffer settings to use for lookups | 20051214 | |||
| 3 | I_SCEN_ID | Call by reference | Type reference (TYPE) | RSPBPC_SCEN_ID | Personnel Budget Calculator Scenario ID | 20051214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error accessing query/view data | 20051124 |
Method CREATE_DATA_TABLE Signature
Method CREATE_DATA_TABLE on class RS_BCT_PBPC_LOOKUP_SVC has no parameter.
Method CREATE_DATA_TABLE on class RS_BCT_PBPC_LOOKUP_SVC has no exception.
Method EMPTY_DATA_TABLE Signature
Method EMPTY_DATA_TABLE on class RS_BCT_PBPC_LOOKUP_SVC has no parameter.
Method EMPTY_DATA_TABLE on class RS_BCT_PBPC_LOOKUP_SVC has no exception.
Method EMPTY_DATA_TABLES Signature
Method EMPTY_DATA_TABLES on class RS_BCT_PBPC_LOOKUP_SVC has no parameter.
Method EMPTY_DATA_TABLES on class RS_BCT_PBPC_LOOKUP_SVC has no exception.
Method GET_DATA_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATA_TAB | Call by reference | Object reference (TYPE REF TO) | DATA | Reference to data table | 20051206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error reading infoprovicer | 20051130 | ||
| 2 | Infoprovider has no data available | 20051201 |
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 | 20051201 | |||
| 2 | I_INFOOBJECT | Call by reference | Type reference (TYPE) | RSIOBJNM | InfoObject | 20051201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Requested Infoobject is not defined for the Scenario | 20051201 | ||
| 2 | Encountered data type that method cannot translate | 20051201 |
Method GET_INFOPROVIDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_INFOPROVIDER | Value transfer | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20080423 |
Method GET_INFOPROVIDER on class RS_BCT_PBPC_LOOKUP_SVC has no exception.
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 | List infoobject names and texts for F4 help - table | 20051124 |
Method GET_LIST_INFOOBJECTS on class RS_BCT_PBPC_LOOKUP_SVC has no exception.
Method GET_LOOKUP_PROVIDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_INFOPROVIDER | Call by reference | Type reference (TYPE) | RSINFOPROV | Infoprovider | 20051124 | |||
| 2 | I_LOOKUP_ID | Call by reference | Type reference (TYPE) | RSPBPC_LOOKUP_ID | PBPC: Identifies buffer settings to use for lookups | 20051214 | |||
| 3 | I_SCEN_ID | Call by reference | Type reference (TYPE) | RSPBPC_SCEN_ID | Personnel Budget Calculator Scenario ID | 20051214 | |||
| 4 | R_PROVIDER | Value transfer | Object reference (TYPE REF TO) | RS_BCT_PBPC_LOOKUP_SVC | Instance | 20051201 |
Method GET_LOOKUP_PROVIDER on class RS_BCT_PBPC_LOOKUP_SVC has no exception.
Method GET_REFERENCE_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_REFERENCE_DATE | Value transfer | Type reference (TYPE) | RSDRC_SRDATE | 20080423 |
Method GET_REFERENCE_DATE on class RS_BCT_PBPC_LOOKUP_SVC has no exception.
Method GET_UNINM_FOR_IOBJNM 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 | InfoObject | 20051214 | |||
| 2 | R_UNINM | Value transfer | Type reference (TYPE) | RSUNINM | Unit InfoObject (currency/unit) | 20051214 |
Method GET_UNINM_FOR_IOBJNM on class RS_BCT_PBPC_LOOKUP_SVC has no exception.
Method GET_VARIABLE_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_VALUE | Call by reference | Type reference (TYPE) | RSCHAVL | BW Data Manager: Range | 20051214 | |||
| 2 | I_IOBJNM | Call by reference | Type reference (TYPE) | RSIOBJNM | InfoObject | 20051214 | |||
| 3 | I_PERIV | Call by reference | Type reference (TYPE) | PERIV | Fiscal Year Variant | 20051214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error getting variable value | 20051214 |
Method LOAD_INFOPROVIDER_METADATA Signature
Method LOAD_INFOPROVIDER_METADATA on class RS_BCT_PBPC_LOOKUP_SVC has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Could not access info about the infoprovider | 20051124 |
Method READ_INFOPROVIDER_DATA Signature
Method READ_INFOPROVIDER_DATA on class RS_BCT_PBPC_LOOKUP_SVC has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No data in Infoprovider | 20051201 | ||
| 2 | Error reading data | 20051130 |
History
| Last changed by/on | SAP | 20141101 |
| SAP Release Created in | 703 |