SAP ABAP Class CL_COA_CO_TOTALS (Manages CO Totals Records)
Hierarchy
☛
ECC-DIMP (Software Component) DIMP
⤷
CO-PC-OBJ (Application Component) Cost Object Controlling
⤷
DM_COA (Package) Cost Object Analyzer
⤷
⤷
Properties
| Class | CL_COA_CO_TOTALS | |
| Short Description | Manages CO Totals Records | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | DM_COA | Cost Object Analyzer |
| Created | 19991116 | SAP |
| Last change | 20050301 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_COA_CO_TOTALS has no forward declaration.
Interfaces
Class CL_COA_CO_TOTALS has no interface implemented.
Friends
Class CL_COA_CO_TOTALS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | COA_TOTALS_BY_SUM_LEVEL | Entry Last Accessed by ADD/RETRIEVE | 19991229 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | SY-TABIX | Item in Table Last Accessed by FIRST/NEXT | 19991116 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | LT_FILLED_TCATS | Totals Record Categories for Which Entries Exist | 19991230 | |||
| 4 | Instance attribute | Private | See coding | Totals Record Table by Summarization Level | 19991116 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Adds Quantity and/or Values for Totals Record Category | 19991116 | |
| 2 | Instance method | Public | Method | Sets Internal Index to 1 and Returns First Entry | 19991116 | |
| 3 | Instance method | Public | Method | Calls Transferred Method for All Entries | 19991116 | |
| 4 | Instance method | Public | Method | Check Whether Values Exist for a Totals Record Category | 19991228 | |
| 5 | Instance method | Public | Method | Returns Next Entry and Increments Internal Index | 19991116 | |
| 6 | Instance method | Public | Method | Outputs Contents as ALV List if Not Empty | 19991118 | |
| 7 | Instance method | Public | Method | Returns Entry if One Exists, Otherwise Initial | 19991116 | |
| 8 | Instance method | Public | Method | Returns Entry if One Exists; Otherwise Creates Entry | 19991116 | |
| 9 | Instance method | Public | Method | Enter That Values Exist for a Totals Record Category | 19991228 | |
| 10 | Instance method | Public | Method | Summation of CO Totals | 20001030 | |
| 11 | Instance method | Public | Method | Outputs Content as Single-Level List | 19991116 |
Events
Class CL_COA_CO_TOTALS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LT_FILLED_TCATS | Private | See coding | 19991230 | |
||
| 2 | LT_FILLED_TOTALS | Private | See coding | 19991230 | |
Method Signatures
Method ADD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CATEGORY | Call by reference | Type reference (TYPE) | COA_TCAT | Summensatzkategorie | 19991116 | |||
| 2 | FILL_ACC | Call by reference | Type reference (TYPE) | BOOLE_D | Fülle Attribute für kumulierte Daten, nicht Periodenänderung | 19991228 | |||
| 3 | QUANTITY | Call by reference | Object reference (TYPE REF TO) | CL_COA_QUANTITY | Menge | 19991116 | |||
| 4 | SUBCAT | Call by reference | Type reference (TYPE) | COA_TSCAT | Summensatzunterkategorie | 19991116 | |||
| 5 | SUM_LEVEL | Call by reference | Type reference (TYPE) | COA_SUM_LEVEL | Schlüssel für Verdichtungsebene | 19991116 | |||
| 6 | SUM_LEVEL_TOTALS | Call by reference | Object reference (TYPE REF TO) | CL_COA_SUM_LEVEL_TOTALS | Objekt, das verändert bzw. neu angelegt wurde | 19991117 | |||
| 7 | VALUES | Call by reference | Object reference (TYPE REF TO) | CL_COA_VALUES | Werte | 19991116 | |||
| 8 | VALUES_LSI | Call by reference | Object reference (TYPE REF TO) | CL_COA_VALUES | Losfixe Werte | 20010115 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Angabe des Schlüssels für die Verdichtungsebene nötig | 19991116 | ||
| 2 | Die übergebene Mengenstruktur enthält keine Maßeinheit | 19991116 |
Method FIRST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SUM_LEVEL_TOTALS | Call by reference | Type reference (TYPE) | COA_TOTALS_BY_SUM_LEVEL | Summensätze einer Verdichtungsebene | 19991116 |
Method FIRST on class CL_COA_CO_TOTALS has no exception.
Method FORALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLASS | Call by reference | Object reference (TYPE REF TO) | OBJECT | Klasse der Methode | 19991116 | |||
| 2 | METHOD | Call by reference | Type reference (TYPE) | C | Aufzurufende Methode | 19991116 | |||
| 3 | METH_PAR | Call by reference | Object reference (TYPE REF TO) | DATA | Parameter für die Methode | 19991116 | |||
| 4 | METH_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | Rückgabewert der Methode | 19991116 |
Method FORALL on class CL_COA_CO_TOTALS has no exception.
Method IS_FILLED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHECK_ACC | Call by reference | Type reference (TYPE) | BOOLE_D | Kumulierte Werte prüfen | 19991228 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | BOOLE_D | Werte vorhanden? | 19991228 | |||
| 3 | TCATS | Call by reference | Type reference (TYPE) | COA_TCATS_TAB | Summensatzkategorien | 19991228 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Einige Summensatzkategorien mit Werten, aber nicht alle | 19991228 |
Method NEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SUM_LEVEL_TOTALS | Call by reference | Type reference (TYPE) | COA_TOTALS_BY_SUM_LEVEL | Summensätze einer Verdichtungsebene | 19991116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kein aktueller Index gesetzt | 19991116 |
Method OUTPUT_ALV_LIST Signature
Method OUTPUT_ALV_LIST on class CL_COA_CO_TOTALS has no parameter.
Method OUTPUT_ALV_LIST on class CL_COA_CO_TOTALS has no exception.
Method RETRIEVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENTRY | Call by reference | Type reference (TYPE) | COA_TOTALS_BY_SUM_LEVEL | Eintrag | 19991116 | |||
| 2 | SUM_LEVEL | Call by reference | Type reference (TYPE) | COA_SUM_LEVEL | Verdichtungsebene | 19991116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Verdichtungsebene ist initial | 19991117 |
Method RETRIEVE_OR_INSERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENTRY | Call by reference | Type reference (TYPE) | COA_TOTALS_BY_SUM_LEVEL | Eintrag | 19991116 | |||
| 2 | SUM_LEVEL | Call by reference | Type reference (TYPE) | COA_SUM_LEVEL | Verdichtungsebene | 19991116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Verdichtungsebene ist initial | 19991117 |
Method SET_FILLED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SET_ACC | Call by reference | Type reference (TYPE) | BOOLE_D | Kumulierte Werte wurden eingetragen | 19991228 | |||
| 2 | TCATS | Call by reference | Type reference (TYPE) | COA_TCATS_TAB | Summensatzkategorien | 19991228 |
Method SET_FILLED on class CL_COA_CO_TOTALS has no exception.
Method SUMMARIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_SUM_INPUT | Call by reference | Object reference (TYPE REF TO) | CL_COA_SUM_LEVEL_TOTALS | Summensätze einer Verdichtungsebene | 20010508 | |||
| 2 | EX_SUM_OUTPUT | Call by reference | Object reference (TYPE REF TO) | CL_COA_SUM_LEVEL_TOTALS | Summensätze einer Verdichtungsebene | 20010508 |
Method SUMMARIZE on class CL_COA_CO_TOTALS has no exception.
Method WRITE Signature
Method WRITE on class CL_COA_CO_TOTALS has no parameter.
Method WRITE on class CL_COA_CO_TOTALS has no exception.
History
| Last changed by/on | SAP | 20050301 |
| SAP Release Created in |