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
⤷ 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 | CURRENT_ENTRY | Instance attribute | Private | Type reference (TYPE) | COA_TOTALS_BY_SUM_LEVEL | Entry Last Accessed by ADD/RETRIEVE | 19991229 | ||
2 | CURRENT_POSITION | Instance attribute | Private | Type reference (TYPE) | SY-TABIX | Item in Table Last Accessed by FIRST/NEXT | 19991116 | ||
3 | FILLED_TCATS | Instance attribute | Private | Type reference (TYPE) | LT_FILLED_TCATS | Totals Record Categories for Which Entries Exist | 19991230 | ||
4 | TOTALS_BY_SUM_LEVELS | Instance attribute | Private | See coding | Totals Record Table by Summarization Level | 19991116 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD | Instance method | Public | Method | Adds Quantity and/or Values for Totals Record Category | 19991116 |
2 | FIRST | Instance method | Public | Method | Sets Internal Index to 1 and Returns First Entry | 19991116 |
3 | FORALL | Instance method | Public | Method | Calls Transferred Method for All Entries | 19991116 |
4 | IS_FILLED | Instance method | Public | Method | Check Whether Values Exist for a Totals Record Category | 19991228 |
5 | NEXT | Instance method | Public | Method | Returns Next Entry and Increments Internal Index | 19991116 |
6 | OUTPUT_ALV_LIST | Instance method | Public | Method | Outputs Contents as ALV List if Not Empty | 19991118 |
7 | RETRIEVE | Instance method | Public | Method | Returns Entry if One Exists, Otherwise Initial | 19991116 |
8 | RETRIEVE_OR_INSERT | Instance method | Public | Method | Returns Entry if One Exists; Otherwise Creates Entry | 19991116 |
9 | SET_FILLED | Instance method | Public | Method | Enter That Values Exist for a Totals Record Category | 19991228 |
10 | SUMMARIZE | Instance method | Public | Method | Summation of CO Totals | 20001030 |
11 | WRITE | 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 | Importing | CATEGORY | Call by reference | Type reference (TYPE) | COA_TCAT | Summensatzkategorie | 19991116 | ||
2 | Importing | FILL_ACC | Call by reference | Type reference (TYPE) | BOOLE_D | Fülle Attribute für kumulierte Daten, nicht Periodenänderung | 19991228 | ||
3 | Importing | QUANTITY | Call by reference | Object reference (TYPE REF TO) | CL_COA_QUANTITY | Menge | 19991116 | ||
4 | Importing | SUBCAT | Call by reference | Type reference (TYPE) | COA_TSCAT | Summensatzunterkategorie | 19991116 | ||
5 | Importing | SUM_LEVEL | Call by reference | Type reference (TYPE) | COA_SUM_LEVEL | Schlüssel für Verdichtungsebene | 19991116 | ||
6 | Exporting | 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 | Importing | VALUES | Call by reference | Object reference (TYPE REF TO) | CL_COA_VALUES | Werte | 19991116 | ||
8 | Importing | VALUES_LSI | Call by reference | Object reference (TYPE REF TO) | CL_COA_VALUES | Losfixe Werte | 20010115 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_CURRENT | Angabe des Schlüssels für die Verdichtungsebene nötig | 19991116 | |
2 | UNIT_OF_MEASURE_MISSING | 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 | Exporting | 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 | Importing | CLASS | Call by reference | Object reference (TYPE REF TO) | OBJECT | Klasse der Methode | 19991116 | ||
2 | Importing | METHOD | Call by reference | Type reference (TYPE) | C | Aufzurufende Methode | 19991116 | ||
3 | Importing | METH_PAR | Call by reference | Object reference (TYPE REF TO) | DATA | Parameter für die Methode | 19991116 | ||
4 | Exporting | 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 | Importing | CHECK_ACC | Call by reference | Type reference (TYPE) | BOOLE_D | Kumulierte Werte prüfen | 19991228 | ||
2 | Returning | RESULT | Value transfer | Type reference (TYPE) | BOOLE_D | Werte vorhanden? | 19991228 | ||
3 | Importing | TCATS | Call by reference | Type reference (TYPE) | COA_TCATS_TAB | Summensatzkategorien | 19991228 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | SOME_TCATS_FILLED | 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 | Exporting | 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 | NO_CURRENT | 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 | Exporting | ENTRY | Call by reference | Type reference (TYPE) | COA_TOTALS_BY_SUM_LEVEL | Eintrag | 19991116 | ||
2 | Importing | SUM_LEVEL | Call by reference | Type reference (TYPE) | COA_SUM_LEVEL | Verdichtungsebene | 19991116 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | WRONG_INPUT | Verdichtungsebene ist initial | 19991117 |
Method RETRIEVE_OR_INSERT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ENTRY | Call by reference | Type reference (TYPE) | COA_TOTALS_BY_SUM_LEVEL | Eintrag | 19991116 | ||
2 | Importing | SUM_LEVEL | Call by reference | Type reference (TYPE) | COA_SUM_LEVEL | Verdichtungsebene | 19991116 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | WRONG_INPUT | Verdichtungsebene ist initial | 19991117 |
Method SET_FILLED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | SET_ACC | Call by reference | Type reference (TYPE) | BOOLE_D | Kumulierte Werte wurden eingetragen | 19991228 | ||
2 | Importing | 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 | Exporting | EX_SUM_INPUT | Call by reference | Object reference (TYPE REF TO) | CL_COA_SUM_LEVEL_TOTALS | Summensätze einer Verdichtungsebene | 20010508 | ||
2 | Exporting | 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 |