SAP ABAP Class CL_CNVMBTASF_NEWGL (Methods for new G/L settings/customizing)
Hierarchy
☛
DMIS (Software Component) DMIS 2011_1
⤷
CA-EUR (Application Component) European Monetary Union: Euro
⤷
CNVMBTASF (Package) Application Specific Functions
⤷
⤷
Properties
| Class | CL_CNVMBTASF_NEWGL | |
| Short Description | Methods for new G/L settings/customizing | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CNVMBTASF | Application Specific Functions |
| Created | 20100318 | SAP |
| Last change | 20141030 | |
| 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_CNVMBTASF_NEWGL has no interface implemented.
Friends
Class CL_CNVMBTASF_NEWGL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | FUNCNAME | 'FI_CURRENCY_INFORMATION' | Standard function to determine currency info of company code | 20100318 | ||
| 2 | Constant | Private | Type reference (TYPE) | FUNCNAME | 'FAGL_GET_ACTIVE_SCENARIO_RLDNR' | FAGL_GET_ACTIVE_SCENARIO_RLDNR | 20110512 | ||
| 3 | Constant | Private | Type reference (TYPE) | FUNCNAME | 'FAGL_CHECK_GLFLEX_ACTIVE' | Standard function to determine if new G/L is active | 20100318 | ||
| 4 | Constant | Private | Type reference (TYPE) | FUNCNAME | 'FAGL_GET_ALL_TABLES' | Standard function to determine new G/L table names | 20100319 | ||
| 5 | Constant | Private | Type reference (TYPE) | FUNCNAME | 'FAGL_GET_LEADING_LEDGER' | Standard function to determine the leading ledger in new G/L | 20100318 | ||
| 6 | Constant | Private | Type reference (TYPE) | FUNCNAME | 'FAGL_GET_OBJECT_TABLES' | Standard function to determine the object tables | 20100319 | ||
| 7 | Constant | Private | Type reference (TYPE) | TABNAME | 'FAGL_ACTIVEC' | Standard table with new G/L information | 20100318 | ||
| 8 | Constant | Private | Type reference (TYPE) | TABNAME | 'FAGL_SPLIT_ACTC' | Standard table with info of docsplit activation per BUKRS | 20100318 | ||
| 9 | Constant | Private | Type reference (TYPE) | TABNAME | 'FAGL_TLDGRP' | Standard table with ledger groups | 20100318 | ||
| 10 | Constant | Private | Type reference (TYPE) | TABNAME | 'FAGL_TLDGRP_MAP' | Standard table with ledger group mapping | 20100318 | ||
| 11 | Static Attribute | Private | Type reference (TYPE) | CNVMBTASF_T_NEWGL_SPLIT | Content of FAGL_SPLIT_ACTC | 20100318 | |||
| 12 | Static Attribute | Private | Type reference (TYPE) | CNVMBTASF_T_NEWGL_SPLIT_BUKRS | Information on company code level if docsplit is active | 20100318 | |||
| 13 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | Global flag if new G/L is active or not | 20100318 | |||
| 14 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | Global flag if new G/L activation is already checked | 20100318 | |||
| 15 | Static Attribute | Private | Type reference (TYPE) | CNVMBTASF_RLDNR | Leading ledger in new G/L | 20100318 | |||
| 16 | Static Attribute | Private | Type reference (TYPE) | TABNAME | Totals table of leading ledger in new G/L | 20100318 | |||
| 17 | Static Attribute | Private | Type reference (TYPE) | CHAR10 | Splitmethod used for document splitting | 20100318 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Get Active Scenarios for a Ledger | 20110512 | |
| 2 | Static method | Public | Method | Determine all existing new G/L ledgers | 20100318 | |
| 3 | Static method | Public | Method | Determine all assigned ledgers of given company code | 20100318 | |
| 4 | Static method | Public | Method | Determine all available new G/L tables | 20100319 | |
| 5 | Static method | Public | Method | Get all ledger groups containing a certain ledger | 20100318 | |
| 6 | Static method | Public | Method | Get all settings of the company codes (RLDNR, PERIV etc.) | 20100318 | |
| 7 | Static method | Public | Method | Get leading ledger of new G/L | 20100318 | |
| 8 | Static method | Public | Method | Get all ledgers of given ledger group | 20100318 | |
| 9 | Static method | Public | Method | Determine object tables of a given new G/L totals table | 20100319 | |
| 10 | Static method | Public | Method | Determine representative ledger of ledger group | 20100318 | |
| 11 | Static method | Public | Method | Determine information of given ledger | 20100318 | |
| 12 | Static method | Public | Method | Determine tables of given ledger | 20100318 | |
| 13 | Static method | Public | Method | Check if document splitting (within new G/L) is active | 20100318 | |
| 14 | Static method | Public | Method | Check if new G/L is active | 20100318 |
Events
Class CL_CNVMBTASF_NEWGL has no event.
Types
Class CL_CNVMBTASF_NEWGL has no local type.
Method Signatures
Method GET_ACTIVE_SCENARIO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FIELDS | Call by reference | Type reference (TYPE) | CNVMBTASF_T_FIELDLIST | Field List | 20110512 | |||
| 2 | ET_SCENARIO | Call by reference | Type reference (TYPE) | CNVMBTASF_T_GLFLEX_SCENARIO | Table of Scenarios | 20110512 | |||
| 3 | IV_LDGRP | Call by reference | Type reference (TYPE) | CNVMBTASF_NEWGL_LDGRP | Ledger group of new G/L | 20110512 | |||
| 4 | IV_RLDNR | Call by reference | Type reference (TYPE) | CNVMBTASF_RLDNR | Ledger | 20110512 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error occurred | 20110512 | ||
| 2 | Ledger or Ledgergroup must be filled | 20110512 | ||
| 3 | New GL is not active | 20110512 |
Method GET_ALL_LEDGERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_LEDGERS | Value transfer | Type reference (TYPE) | CNVMBTASF_T_NEWGL_RLDNR | Table with ledgers | 20100318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | an error occured | 20100318 | ||
| 2 | new G/L is not active | 20100318 |
Method GET_ALL_LEDGERS_IN_BUKRS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BUKRS | Value transfer | Type reference (TYPE) | BUKRS | Company Code | 20100318 | |||
| 2 | RT_LEDGERS | Value transfer | Type reference (TYPE) | CNVMBTASF_T_NEWGL_RLDNR | Table with ledgers | 20100318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | error occured | 20100318 | ||
| 2 | new G/L is not active | 20100318 |
Method GET_ALL_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ONLY_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 'X' | only active tables? | 20100319 | ||
| 2 | RT_TABNAMES | Value transfer | Type reference (TYPE) | CNVMBTASF_T_NEWGL_TABNAMES | Table for CNVMBTASF_S_NEWGL_TABNAMES | 20100319 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | General error occured | 20100319 | ||
| 2 | Functionality of new G/L is not available | 20100319 |
Method GET_GROUPS_WITH_LEDGER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_RLDNR | Value transfer | Type reference (TYPE) | CNVMBTASF_RLDNR | Ledger | 20100318 | |||
| 2 | RT_GROUPS | Value transfer | Type reference (TYPE) | CNVMBTASF_T_NEWGL_LDGRP | Table with new G/L ledger groups | 20100318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | error occured | 20100318 | ||
| 2 | new G/L is not active | 20100318 |
Method GET_INFO_OF_ALL_BUKRS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_BUKRS | Value transfer | Type reference (TYPE) | CNVMBTASF_T_NEWGL_BUKRS | Table with information per company code and ledger | 20100318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | General error during method call | 20100318 | ||
| 2 | New G/L is not active at all | 20100318 |
Method GET_LEADING_LEDGER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_LEADING_LEDGER | Value transfer | Type reference (TYPE) | CNVMBTASF_RLDNR | Leading ledger in new G/L | 20100318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error during determination routine | 20100318 | ||
| 2 | New G/L is not active | 20100318 |
Method GET_LEDGER_FROM_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LDGRP | Value transfer | Type reference (TYPE) | CNVMBTASF_NEWGL_LDGRP | Ledger group of new G/L | 20100318 | |||
| 2 | RT_LEDGERS | Value transfer | Type reference (TYPE) | CNVMBTASF_T_NEWGL_RLDNR | Table with ledgers | 20100318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | error occured | 20100318 | ||
| 2 | new G/L is not active | 20100318 |
Method GET_OBJECT_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TOTALS_TABLE | Value transfer | Type reference (TYPE) | TABNAME | Totals table for which the object tables shall be determined | 20100319 | |||
| 2 | RT_OBJECT_TABLES | Value transfer | Type reference (TYPE) | CNVMBTASF_T_NEWGL_STRUCNAMES | Table with all object tables | 20100319 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | General error occured | 20100319 | ||
| 2 | New G/L function is not available | 20100319 |
Method GET_REPRESENTATIVE_LEDGER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LDGRP | Value transfer | Type reference (TYPE) | CNVMBTASF_NEWGL_LDGRP | Ledger group of new G/L | 20100318 | |||
| 2 | RV_REPRESENTATIVE_LEDGER | Value transfer | Type reference (TYPE) | CNVMBTASF_RLDNR | Ledger | 20100318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | error occured | 20100318 | ||
| 2 | new G/L is not active | 20100318 |
Method GET_RLDNR_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BUKRS | Value transfer | Type reference (TYPE) | BUKRS | Company Code | 20100318 | |||
| 2 | IV_RLDNR | Value transfer | Type reference (TYPE) | CNVMBTASF_RLDNR | Ledger | 20100318 | |||
| 3 | RS_RLDNR_INFO | Value transfer | Type reference (TYPE) | CNVMBTASF_S_NEWGL_RLDNR_INFO | Information of a ledger | 20100318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | error occured | 20100318 | ||
| 2 | Ledger is not assigned to company code | 20100318 | ||
| 3 | new G/L is not active | 20100318 |
Method GET_TABLES_OF_RLDNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_PI_TABLE | Value transfer | Type reference (TYPE) | TABNAME | Line item table (Plan data) | 20100318 | |||
| 2 | EV_SI_TABLE | Value transfer | Type reference (TYPE) | TABNAME | Line item table (Actuals) | 20100318 | |||
| 3 | EV_TOT_TABLE | Value transfer | Type reference (TYPE) | TABNAME | Totals table | 20100318 | |||
| 4 | IV_RLDNR | Value transfer | Type reference (TYPE) | CNVMBTASF_RLDNR | Ledger, for which info shall be determined | 20100318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No information for given ledger found | 20100318 |
Method IS_DOCSPLIT_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SPLIT_BUKRS | Value transfer | Type reference (TYPE) | CNVMBTASF_T_NEWGL_SPLIT_BUKRS | table with ALL BUKRS and their individual split status | 20100318 | |||
| 2 | EV_SPLIT_IS_GLOBAL_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 'X' = document splitting is active on client level | 20100318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Document splitting could not be checked | 20100318 | ||
| 2 | New G/L is not active | 20100318 |
Method IS_NEWGL_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 'X' = new G/L is active | 20100318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | new G/L info could not be determined | 20100318 |
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in | 2006_1_46C |