SAP ABAP Class CL_FMRB_DB_ACCESS (RIB - read access tools)
Hierarchy
☛
EA-PS (Software Component) SAP Enterprise Extension Public Services
⤷
PSM-FM-BCS-BU (Application Component) Budgeting
⤷
FMBMA_E (Package) Budgeting Rules, BCS
⤷
⤷
Properties
| Class | CL_FMRB_DB_ACCESS | |
| Short Description | RIB - read access tools | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | FMBMA_E | Budgeting Rules, BCS |
| Created | 20030401 | SAP |
| Last change | 20050428 | 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) |
Interfaces
Class CL_FMRB_DB_ACCESS has no interface implemented.
Friends
Class CL_FMRB_DB_ACCESS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | I | '5000' | Max. buffer size | 20050107 | ||
| 2 | Constant | Protected | Type reference (TYPE) | I | '5000' | Max. buffer size | 20050107 | ||
| 3 | Static Attribute | Protected | Type reference (TYPE) | FIKRS | Financial Management Area | 20050107 | |||
| 4 | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_FMRB_IDX | Index for RIB objects | 20050107 | |||
| 5 | Static Attribute | Protected | Type reference (TYPE) | T_ADDRESSES_PER_RIB_RULE | Table of RIB rules with assigned budget addresses | 20050107 | |||
| 6 | Static Attribute | Protected | Type reference (TYPE) | T_CONTRIBUTORS_PER_RIB_RULE | Table of RIB rules with contributing budget addresses | 20050406 | |||
| 7 | Static Attribute | Protected | Type reference (TYPE) | T_RIB_RULES_PER_ADDRESS | Table of budget addresses with assigned RIB rules | 20050107 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Determine all contributing budget addresses of a RIB Rule | 20050406 | |
| 2 | Static method | Public | Method | Read all Budget Addresses Belonging to a RIB Rule | 20050106 | |
| 3 | Static method | Public | Method | Read all RIB Rules for a Budget Address | 20050106 | |
| 4 | Static method | Public | Method | Read a RIB object (one piece) | 20050106 | |
| 5 | Static method | Public | Method | Refresh buffers | 20050425 | |
| 6 | Static method | Public | Method | Select annual total values for RIB objects | 20050404 | |
| 7 | Static method | Private | Method | Select totals values from RIB totals table (raw values) | 20050404 |
Events
Class CL_FMRB_DB_ACCESS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_ADDRESSES_PER_RIB_RULE | Protected | See coding | Structure of RIB rule with assigned budget addresses | 20050107 | BEGIN OF s_addresses_per_rib_rule,
fm_area TYPE fikrs,
ldnr TYPE burb_rbbldnr,
fiscyear TYPE gjahr,
rib_object TYPE fmku_s_dimpart,
rbbobjnr TYPE bubas_objnr,
address_tab TYPE fmrb_t_assigned_address,
END OF s_addresses_per_rib_rule
|
|
| 2 | S_CONTRIBUTORS_PER_RIB_RULE | Protected | See coding | Structure of RIB rule with contributing budget addresses | 20050406 | BEGIN OF s_contributors_per_rib_rule,
fm_area TYPE fikrs,
ldnr TYPE burb_rbbldnr,
fiscyear TYPE gjahr,
rib_object TYPE fmku_s_dimpart,
rbbobjnr TYPE bubas_objnr,
address_tab TYPE fmku_t_dimpart,
END OF s_contributors_per_rib_rule
|
|
| 3 | S_RIB_RULES_PER_ADDRESS | Protected | See coding | Structure of budget address with assigned RIB rules | 20050107 | BEGIN OF s_rib_rules_per_address,
fm_area TYPE fikrs,
ldnr TYPE burb_rbbldnr,
fiscyear TYPE gjahr,
address TYPE fmku_s_dimpart,
role TYPE fmrb_rule_address_role,
rule_tab TYPE fmrb_t_assigned_rib_rule,
END OF s_rib_rules_per_address
|
|
| 4 | T_ADDRESSES_PER_RIB_RULE | Protected | See coding | Table of RIB rules with assigned budget addresses | 20050107 | t_addresses_per_rib_rule TYPE SORTED TABLE
OF s_addresses_per_rib_rule
WITH UNIQUE KEY fm_area ldnr
fiscyear rib_object
|
|
| 5 | T_CONTRIBUTORS_PER_RIB_RULE | Protected | See coding | Table of RIB rules with contributing budget addresses | 20050406 | t_contributors_per_rib_rule TYPE SORTED TABLE
OF s_contributors_per_rib_rule
WITH UNIQUE KEY fm_area ldnr
fiscyear rib_object
|
|
| 6 | T_RIB_RULES_PER_ADDRESS | Protected | See coding | Table of budget addresses with assigned RIB rules | 20050107 | t_rib_rules_per_address TYPE SORTED TABLE
OF s_rib_rules_per_address
WITH UNIQUE KEY fm_area ldnr
fiscyear address
|
Method Signatures
Method GET_ALL_CONTRIB_FOR_RIB_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_RBBOBJNR | Call by reference | Type reference (TYPE) | BUBAS_OBJNR | Fill if you know objnr (you get address) | 20050406 | |||
| 2 | C_S_RIB_OBJECT | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | Fill if you know address (you get objnr) | 20050406 | |||
| 3 | E_T_CONTRIB_ADDRESSES | Call by reference | Type reference (TYPE) | FMKU_T_DIMPART | Table with FM account assignments | 20050406 | |||
| 4 | E_UPDFILT | Call by reference | Type reference (TYPE) | FMRB_UPDFILT | FM Filter Profile for Posting Data (RIB) | 20050406 | |||
| 5 | IM_FISCYEAR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20050406 | |||
| 6 | IM_FLG_BYPASS_BUFFER | Call by reference | Type reference (TYPE) | XFELD | ' ' | Flag: By-pass Buffer | 20050406 | ||
| 7 | IM_FM_AREA | Call by reference | Type reference (TYPE) | FIKRS | Financial Management Area | 20050406 | |||
| 8 | IM_LDNR | Call by reference | Type reference (TYPE) | BURB_RBBLDNR | Budget Category for Revenue Increasing the Budget | 20050406 | |||
| 9 | IM_RBBGRANT_NBR | Call by reference | Type reference (TYPE) | GM_GRANT_NBR | Grant | 20050406 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid RIB rule | 20050406 |
Method READ_ALL_ADDR_FOR_RIB_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_RBBOBJNR | Call by reference | Type reference (TYPE) | BUBAS_OBJNR | Fill if you know objnr (you get address) | 20050106 | |||
| 2 | C_S_RIB_OBJECT | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | Fill if you know address (you get objnr) | 20050106 | |||
| 3 | E_T_ASSIGNED_ADDRESSES | Call by reference | Type reference (TYPE) | FMRB_T_ASSIGNED_ADDRESS | Budget Addresses That Are Assigned to a RIB Rule | 20050106 | |||
| 4 | IM_FISCYEAR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20050106 | |||
| 5 | IM_FLG_BYPASS_BUFFER | Call by reference | Type reference (TYPE) | XFELD | ' ' | Flag: By-pass Buffer | 20050106 | ||
| 6 | IM_FM_AREA | Call by reference | Type reference (TYPE) | FIKRS | Financial Management Area | 20050106 | |||
| 7 | IM_LDNR | Call by reference | Type reference (TYPE) | BURB_RBBLDNR | Budget Category for Revenue Increasing the Budget | 20050106 | |||
| 8 | IM_RBBGRANT_NBR | Call by reference | Type reference (TYPE) | GM_GRANT_NBR | Grant | 20050106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid RIB rule | 20050106 |
Method READ_ALL_RIB_RULES_FOR_ADDR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_RULE_ADDRESS_ROLE | Call by reference | Type reference (TYPE) | FMRB_RULE_ADDRESS_ROLE | Fill if you know: Role of Budget Address in a RIB Rule | 20050106 | |||
| 2 | E_T_ASSIGNED_RIB_RULES | Call by reference | Type reference (TYPE) | FMRB_T_ASSIGNED_RIB_RULE | Table of RIB Rules That Are Assigned to a Budget Address | 20050106 | |||
| 3 | IM_FISCYEAR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20050106 | |||
| 4 | IM_FLG_BYPASS_BUFFER | Call by reference | Type reference (TYPE) | XFELD | ' ' | Flag: By-pass buffer | 20050106 | ||
| 5 | IM_FM_AREA | Call by reference | Type reference (TYPE) | FIKRS | Financial Management Area | 20050106 | |||
| 6 | IM_LDNR | Call by reference | Type reference (TYPE) | BURB_RBBLDNR | Budget Category for Revenue Increasing the Budget | 20050106 | |||
| 7 | IM_S_ADDRESS | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | Budget Address | 20050106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid RIB rule | 20050106 |
Method READ_RIB_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_RBBOBJNR | Call by reference | Type reference (TYPE) | BUBAS_OBJNR | Fill if you know objnr (you get address) | 20050106 | |||
| 2 | C_S_RIB_OBJECT | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | Fill if you know address (you get objnr) | 20050106 | |||
| 3 | E_BM_EXPENDIT_PART | Call by reference | Type reference (TYPE) | FMRB_TXTTEMPL_BM_EXPENDIT_PART | Budget Memo (Template) for RIB Rules: Expenditure Addresses | 20050106 | |||
| 4 | E_BM_REVENUE_PART | Call by reference | Type reference (TYPE) | FMRB_TXTTEMPL_BM_REVENUE_PART | Budget Memo (Template) for RIB Rules: Revenue Addresses | 20050106 | |||
| 5 | E_CALCRULE | Call by reference | Type reference (TYPE) | BURB_CALCRULE | Calculation Rule for Revenue Increasing the Budget | 20050106 | |||
| 6 | E_MANUALCHECKIND | Call by reference | Type reference (TYPE) | FMRB_MANUALCHECKIND | Indicator for Checks on Manual RIB Documents | 20050106 | |||
| 7 | E_RB_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050106 | |||
| 8 | E_RESAMNTIND | Call by reference | Type reference (TYPE) | BURB_RESAMNTIND | Indicator for Residual Amounts (RIB): Use Surplus Amount? | 20050106 | |||
| 9 | E_ROACTSTAT | Call by reference | Type reference (TYPE) | BURB_ROACTSTAT | Activation Status of Reference Object for RIB | 20050106 | |||
| 10 | E_UPDFILT | Call by reference | Type reference (TYPE) | FMRB_UPDFILT | FM Filter Profile for Posting Data (RIB) | 20050106 | |||
| 11 | E_USERLOG | Call by reference | Type reference (TYPE) | BUKU_S_USERLOG | Kernel Utilities - User Log | 20050106 | |||
| 12 | IM_FISCYEAR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20050106 | |||
| 13 | IM_FM_AREA | Call by reference | Type reference (TYPE) | FIKRS | Financial Management Area | 20050106 | |||
| 14 | IM_LDNR | Call by reference | Type reference (TYPE) | BURB_RBBLDNR | Budget Category for Revenue Increasing the Budget | 20050106 | |||
| 15 | IM_RBBGRANT_NBR | Call by reference | Type reference (TYPE) | GM_GRANT_NBR | Grant | 20050106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20050106 |
Method REFRESH_READ_BUFFERS Signature
Method REFRESH_READ_BUFFERS on class CL_FMRB_DB_ACCESS has no parameter.
Method REFRESH_READ_BUFFERS on class CL_FMRB_DB_ACCESS has no exception.
Method SELECT_ANNUAL_TOTALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_ANNUAL_TOTALS | Call by reference | Type reference (TYPE) | FMRB_T_RIB_OBJ_ANNUAL_TOTALS | Table of Annual Total Values for RIB Objects | 20050404 | |||
| 2 | I_FISCYEAR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20050404 | |||
| 3 | I_FM_AREA | Call by reference | Type reference (TYPE) | FIKRS | Financial Management Area | 20050404 | |||
| 4 | I_RIB_LEDGER | Call by reference | Type reference (TYPE) | BURB_RBBLDNR | Budget Category for Revenue Increasing the Budget | 20050404 | |||
| 5 | I_T_RIB_OBJECTS | Call by reference | Type reference (TYPE) | FMRB_T_RIB_OBJECT | Table of RIB Objects | 20050404 | |||
| 6 | I_T_RIB_OBJ_SEL | Call by reference | Type reference (TYPE) | GUSL_T_SELECTION | Table of select ranges for RIB objects | 20050404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Access failure during database access | 20050404 |
Method SELECT_DB_TOTALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_FMRBT | Call by reference | Type reference (TYPE) | FMRB_T_FMRBT | Lines of FMRBT | 20050404 | |||
| 2 | I_FISCYEAR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20050404 | |||
| 3 | I_FM_AREA | Call by reference | Type reference (TYPE) | FIKRS | Financial Management Area | 20050404 | |||
| 4 | I_RIB_LEDGER | Call by reference | Type reference (TYPE) | BURB_RBBLDNR | Budget Category for Revenue Increasing the Budget | 20050404 | |||
| 5 | I_T_RIB_OBJECTS | Call by reference | Type reference (TYPE) | FMRB_T_RIB_OBJECT | Table of RIB Objects | 20050404 | |||
| 6 | I_T_RIB_OBJ_SEL | Call by reference | Type reference (TYPE) | GUSL_T_SELECTION | Select-options for RIB Objects | 20050404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Access to database failed | 20050404 |
History
| Last changed by/on | SAP | 20050428 |
| SAP Release Created in | 200 |