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
⤷ 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 | ABAP | 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 | PC_FI_FUNC_CURRENCY_INFO | Constant | Private | Type reference (TYPE) | FUNCNAME | 'FI_CURRENCY_INFORMATION' | Standard function to determine currency info of company code | 20100318 | |
2 | PC_GET_ACTIVE_SCENARIO | Constant | Private | Type reference (TYPE) | FUNCNAME | 'FAGL_GET_ACTIVE_SCENARIO_RLDNR' | FAGL_GET_ACTIVE_SCENARIO_RLDNR | 20110512 | |
3 | PC_NEWGL_FUNC_ACTIVE | Constant | Private | Type reference (TYPE) | FUNCNAME | 'FAGL_CHECK_GLFLEX_ACTIVE' | Standard function to determine if new G/L is active | 20100318 | |
4 | PC_NEWGL_FUNC_ALL_TABLES | Constant | Private | Type reference (TYPE) | FUNCNAME | 'FAGL_GET_ALL_TABLES' | Standard function to determine new G/L table names | 20100319 | |
5 | PC_NEWGL_FUNC_LEADING_LEDGER | Constant | Private | Type reference (TYPE) | FUNCNAME | 'FAGL_GET_LEADING_LEDGER' | Standard function to determine the leading ledger in new G/L | 20100318 | |
6 | PC_NEWGL_FUNC_OBJECT_TABLE | Constant | Private | Type reference (TYPE) | FUNCNAME | 'FAGL_GET_OBJECT_TABLES' | Standard function to determine the object tables | 20100319 | |
7 | PC_NEWGL_TAB_FAGL_ACTIVEC | Constant | Private | Type reference (TYPE) | TABNAME | 'FAGL_ACTIVEC' | Standard table with new G/L information | 20100318 | |
8 | PC_NEWGL_TAB_FAGL_SPLIT_ACTC | Constant | Private | Type reference (TYPE) | TABNAME | 'FAGL_SPLIT_ACTC' | Standard table with info of docsplit activation per BUKRS | 20100318 | |
9 | PC_NEWGL_TAB_FAGL_TLDGRP | Constant | Private | Type reference (TYPE) | TABNAME | 'FAGL_TLDGRP' | Standard table with ledger groups | 20100318 | |
10 | PC_NEWGL_TAB_FAGL_TLDGRP_MAP | Constant | Private | Type reference (TYPE) | TABNAME | 'FAGL_TLDGRP_MAP' | Standard table with ledger group mapping | 20100318 | |
11 | PT_NEWGL_SPLIT_ACTC | Static Attribute | Private | Type reference (TYPE) | CNVMBTASF_T_NEWGL_SPLIT | Content of FAGL_SPLIT_ACTC | 20100318 | ||
12 | PT_NEWGL_SPLIT_BUKRS | Static Attribute | Private | Type reference (TYPE) | CNVMBTASF_T_NEWGL_SPLIT_BUKRS | Information on company code level if docsplit is active | 20100318 | ||
13 | PV_NEWGL_IS_ACTIVE | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | Global flag if new G/L is active or not | 20100318 | ||
14 | PV_NEWGL_IS_CHECKED | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | Global flag if new G/L activation is already checked | 20100318 | ||
15 | PV_NEWGL_LEADING_LEDGER | Static Attribute | Private | Type reference (TYPE) | CNVMBTASF_RLDNR | Leading ledger in new G/L | 20100318 | ||
16 | PV_NEWGL_LEADING_LEDGER_TAB | Static Attribute | Private | Type reference (TYPE) | TABNAME | Totals table of leading ledger in new G/L | 20100318 | ||
17 | PV_NEWGL_SPLITMETHD | Static Attribute | Private | Type reference (TYPE) | CHAR10 | Splitmethod used for document splitting | 20100318 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | GET_ACTIVE_SCENARIO | Static method | Public | Method | Get Active Scenarios for a Ledger | 20110512 |
2 | GET_ALL_LEDGERS | Static method | Public | Method | Determine all existing new G/L ledgers | 20100318 |
3 | GET_ALL_LEDGERS_IN_BUKRS | Static method | Public | Method | Determine all assigned ledgers of given company code | 20100318 |
4 | GET_ALL_TABLES | Static method | Public | Method | Determine all available new G/L tables | 20100319 |
5 | GET_GROUPS_WITH_LEDGER | Static method | Public | Method | Get all ledger groups containing a certain ledger | 20100318 |
6 | GET_INFO_OF_ALL_BUKRS | Static method | Public | Method | Get all settings of the company codes (RLDNR, PERIV etc.) | 20100318 |
7 | GET_LEADING_LEDGER | Static method | Public | Method | Get leading ledger of new G/L | 20100318 |
8 | GET_LEDGER_FROM_GROUP | Static method | Public | Method | Get all ledgers of given ledger group | 20100318 |
9 | GET_OBJECT_TABLES | Static method | Public | Method | Determine object tables of a given new G/L totals table | 20100319 |
10 | GET_REPRESENTATIVE_LEDGER | Static method | Public | Method | Determine representative ledger of ledger group | 20100318 |
11 | GET_RLDNR_INFO | Static method | Public | Method | Determine information of given ledger | 20100318 |
12 | GET_TABLES_OF_RLDNR | Static method | Public | Method | Determine tables of given ledger | 20100318 |
13 | IS_DOCSPLIT_ACTIVE | Static method | Public | Method | Check if document splitting (within new G/L) is active | 20100318 |
14 | IS_NEWGL_ACTIVE | 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 | Exporting | ET_FIELDS | Call by reference | Type reference (TYPE) | CNVMBTASF_T_FIELDLIST | Field List | 20110512 | ||
2 | Exporting | ET_SCENARIO | Call by reference | Type reference (TYPE) | CNVMBTASF_T_GLFLEX_SCENARIO | Table of Scenarios | 20110512 | ||
3 | Importing | IV_LDGRP | Call by reference | Type reference (TYPE) | CNVMBTASF_NEWGL_LDGRP | Ledger group of new G/L | 20110512 | ||
4 | Importing | IV_RLDNR | Call by reference | Type reference (TYPE) | CNVMBTASF_RLDNR | Ledger | 20110512 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | Error occurred | 20110512 | |
2 | MISSING_PARAMETER | Ledger or Ledgergroup must be filled | 20110512 | |
3 | NEWGL_NOT_ACTIVE | 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 | Returning | RT_LEDGERS | Value transfer | Type reference (TYPE) | CNVMBTASF_T_NEWGL_RLDNR | Table with ledgers | 20100318 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | an error occured | 20100318 | |
2 | NEWGL_NOT_ACTIVE | 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 | Importing | IV_BUKRS | Value transfer | Type reference (TYPE) | BUKRS | Company Code | 20100318 | ||
2 | Returning | RT_LEDGERS | Value transfer | Type reference (TYPE) | CNVMBTASF_T_NEWGL_RLDNR | Table with ledgers | 20100318 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | error occured | 20100318 | |
2 | NEWGL_NOT_ACTIVE | 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 | Importing | IV_ONLY_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 'X' | only active tables? | 20100319 | |
2 | Returning | RT_TABNAMES | Value transfer | Type reference (TYPE) | CNVMBTASF_T_NEWGL_TABNAMES | Table for CNVMBTASF_S_NEWGL_TABNAMES | 20100319 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | General error occured | 20100319 | |
2 | NEWGL_NOT_AVAILABLE | 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 | Importing | IV_RLDNR | Value transfer | Type reference (TYPE) | CNVMBTASF_RLDNR | Ledger | 20100318 | ||
2 | Returning | 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 | error occured | 20100318 | |
2 | NEWGL_NOT_ACTIVE | 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 | Returning | 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 | ERROR | General error during method call | 20100318 | |
2 | NEWGL_NOT_ACTIVE | 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 | Returning | RV_LEADING_LEDGER | Value transfer | Type reference (TYPE) | CNVMBTASF_RLDNR | Leading ledger in new G/L | 20100318 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | Error during determination routine | 20100318 | |
2 | NEWGL_NOT_ACTIVE | 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 | Importing | IV_LDGRP | Value transfer | Type reference (TYPE) | CNVMBTASF_NEWGL_LDGRP | Ledger group of new G/L | 20100318 | ||
2 | Returning | RT_LEDGERS | Value transfer | Type reference (TYPE) | CNVMBTASF_T_NEWGL_RLDNR | Table with ledgers | 20100318 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | error occured | 20100318 | |
2 | NEWGL_NOT_ACTIVE | 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 | Importing | IV_TOTALS_TABLE | Value transfer | Type reference (TYPE) | TABNAME | Totals table for which the object tables shall be determined | 20100319 | ||
2 | Returning | RT_OBJECT_TABLES | Value transfer | Type reference (TYPE) | CNVMBTASF_T_NEWGL_STRUCNAMES | Table with all object tables | 20100319 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | General error occured | 20100319 | |
2 | NEWGL_NOT_AVAILABLE | 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 | Importing | IV_LDGRP | Value transfer | Type reference (TYPE) | CNVMBTASF_NEWGL_LDGRP | Ledger group of new G/L | 20100318 | ||
2 | Returning | RV_REPRESENTATIVE_LEDGER | Value transfer | Type reference (TYPE) | CNVMBTASF_RLDNR | Ledger | 20100318 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | error occured | 20100318 | |
2 | NEWGL_NOT_ACTIVE | 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 | Importing | IV_BUKRS | Value transfer | Type reference (TYPE) | BUKRS | Company Code | 20100318 | ||
2 | Importing | IV_RLDNR | Value transfer | Type reference (TYPE) | CNVMBTASF_RLDNR | Ledger | 20100318 | ||
3 | Returning | 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 | error occured | 20100318 | |
2 | LEDGER_NOT_ASSIGNED | Ledger is not assigned to company code | 20100318 | |
3 | NEWGL_NOT_ACTIVE | 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 | Exporting | EV_PI_TABLE | Value transfer | Type reference (TYPE) | TABNAME | Line item table (Plan data) | 20100318 | ||
2 | Exporting | EV_SI_TABLE | Value transfer | Type reference (TYPE) | TABNAME | Line item table (Actuals) | 20100318 | ||
3 | Exporting | EV_TOT_TABLE | Value transfer | Type reference (TYPE) | TABNAME | Totals table | 20100318 | ||
4 | Importing | IV_RLDNR | Value transfer | Type reference (TYPE) | CNVMBTASF_RLDNR | Ledger, for which info shall be determined | 20100318 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | LEDGER_SETTINGS_NOT_FOUND | 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 | Exporting | ET_SPLIT_BUKRS | Value transfer | Type reference (TYPE) | CNVMBTASF_T_NEWGL_SPLIT_BUKRS | table with ALL BUKRS and their individual split status | 20100318 | ||
2 | Exporting | 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 | ERROR | Document splitting could not be checked | 20100318 | |
2 | NEWGL_NOT_ACTIVE | 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 | Returning | RV_IS_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 'X' = new G/L is active | 20100318 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | new G/L info could not be determined | 20100318 |
History
Last changed by/on | SAP | 20141030 |
SAP Release Created in | 2006_1_46C |