SAP ABAP Class CL_COA_SERVICES (General Services for COA)
Hierarchy
ECC-DIMP (Software Component) DIMP
   CO-PC-OBJ (Application Component) Cost Object Controlling
     DM_COA (Package) Cost Object Analyzer
Properties
Class CL_COA_SERVICES  
Short Description General Services for COA    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package DM_COA   Cost Object Analyzer 
Created 19991015   SAP 
Last change 20050301   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CKBK Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_COA_SERVICES has no interface implemented.
Friends
Class CL_COA_SERVICES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BUFFER_LAST_DAY_OF_PERIOD Static Attribute Private Type reference (TYPE) TYPE_BUFFER_LAST_DAY_OF_PERIOD BUFFER_LAST_DAY_OF_PERIOD 19991025
2 BUFFER_MATERIAL_IS_FOR Static Attribute Private Type reference (TYPE) TYPE_BUFFER_MATERIAL_IS_FOR Buffer for MATERIAL_IS_FOR_MAKE_TO_STOCK 20001122
Methods
# Method Level Visibility Method type Description Created on
1 COMPLETE_SUM_LEVEL_ATTR Static method Public Method Set Sum Level Attributes for Display Purposes 20010323
2 CONVERT_SUM_LEVEL_TO_ALV Static method Public Method CL_COA_SUM_LEVEL_TOTALS in OBJ_VAR_ALV 20001031
3 CONVERT_TOTALS_TO_KKBCS Static method Public Method CL_COA_SUM_LEVEL_TOTALS in KKBCS 20001102
4 CONVERT_TOTALS_TO_QRP Static method Public Method CL_COA_SUM_LEVEL_TOTALS in QRP_QUANTITIES_VALUES 20001121
5 GET_DELIVERD_QTY_FROM_TOTALS Static method Public Method Determine Delivery Quantity 20001109
6 GET_KKBCS_ORIG_FROM_SUM_LEVEL Static method Private Method Fill KKCS_ORIG 20001102
7 GET_OBJECT_GROUP Static method Public Method Similar Object Types Are Grouped for Processing 19991021
8 GET_REAL_CATEGORY Static method Public Method Adjust TCAT: Show Negative WIP as Reserves 19991015
9 GET_SUBKEY Static method Public Method Determine HRKFT 19991019
10 INTERNAL_CVT_TOTALS_TO_KKBCS Static method Private Method Submethod for CONVERT_TOTALS_TO_KKBCS 20001130
11 LAST_DAY_OF_PERIOD Static method Public Method Determine Last Day of Period 19991015
12 MATERIAL_IS_FOR_MAKE_TO_STOCK Static method Public Method Check: Material is Used for Make-to-Stock Production 20001122
13 SCENARIO_DETERMINE Static method Public Method 20040218
14 SET_MAX_RESULT Static method Public Method Set Maximum Error Value 20010208
Events
Class CL_COA_SERVICES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TYPE_BUFFER_LAST_DAY_OF_PERIOD Private See coding Buffer for Performance Increase 19991025
2 TYPE_BUFFER_MATERIAL_IS_FOR Private See coding Buffer for Determination of MAKE_TO_STOCK Valid 20001122
Method Signatures

Method COMPLETE_SUM_LEVEL_ATTR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_CO_TOTALS Call by reference Object reference (TYPE REF TO) CL_COA_CO_TOTALS Verwaltet CO-Summensätze 20010323

Method COMPLETE_SUM_LEVEL_ATTR on class CL_COA_SERVICES has no exception.

Method CONVERT_SUM_LEVEL_TO_ALV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_T_ALV Call by reference Type reference (TYPE) OBJ_VAR_ALV_TAB Abweichungen, Ergebnisliste (ALV-Format) 20001129
2 Importing IM_CONTR_AREA_CURR Call by reference Type reference (TYPE) WAERS Währungsschlüssel Kostenrechnungskreiswährung 20001103
3 Importing IM_COST_OBJECT Call by reference Object reference (TYPE REF TO) CL_COA_COST_OBJECT Gerüst für Kostenträgerrepräsentation 20001204
4 Importing IM_CUSTOMIZING Call by reference Object reference (TYPE REF TO) CL_COA_CUSTOMIZING Customizingparameter lesen und bereitstellen 20001204
5 Importing IM_MASTER_DATA Call by reference Type reference (TYPE) COA_MASTER_DATA Stammdaten für den Cost-Object-Analyzer 20010124
6 Importing IM_OBJECT_CURR_CURR Call by reference Type reference (TYPE) WAERS Währungsschlüssel Objektwährung 20001103
7 Importing IM_SUM_LEVEL_TOTALS_INPUT Call by reference Object reference (TYPE REF TO) CL_COA_SUM_LEVEL_TOTALS Inputseite - Summensätze einer Verdichtungsebene 20010508
8 Importing IM_SUM_LEVEL_TOTALS_OUTPUT Call by reference Object reference (TYPE REF TO) CL_COA_SUM_LEVEL_TOTALS Outputseite - Summensätze einer Verdichtungsebene 20010508

Method CONVERT_SUM_LEVEL_TO_ALV on class CL_COA_SERVICES has no exception.

Method CONVERT_TOTALS_TO_KKBCS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_T_KKBCS Call by reference Type reference (TYPE) KKBCS_T Tabelle zu KKBCS 20001102
2 Importing IM_CONTR_AREA_CURR Call by reference Type reference (TYPE) WAERS Währungsschlüssel 20001103
3 Importing IM_COST_OBJECT Call by reference Object reference (TYPE REF TO) CL_COA_COST_OBJECT Gerüst für Kostenträgerrepräsentation 20001130
4 Importing IM_CUSTOMIZING Call by reference Object reference (TYPE REF TO) CL_COA_CUSTOMIZING Customizingparameter lesen und bereitstellen 20001130
5 Importing IM_OBJECT_CURR_CURR Call by reference Type reference (TYPE) WAERS Währungsschlüssel 20001103

Method CONVERT_TOTALS_TO_KKBCS on class CL_COA_SERVICES has no exception.

Method CONVERT_TOTALS_TO_QRP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_T_QUANTITIES_VALUES Call by reference Type reference (TYPE) QRP_T_QUANTITIES_VALUES Tabelle von Typ QRP_QUANTITIES_VALUES 20001121
2 Importing IM_CONTR_AREA_CURR Call by reference Type reference (TYPE) WAERS Währungsschlüssel 20001121
3 Importing IM_CO_TOTALS Call by reference Object reference (TYPE REF TO) CL_COA_CO_TOTALS Verwaltet CO-Summensätze 20001121
4 Importing IM_OBJECT_CURR_CURR Call by reference Type reference (TYPE) WAERS Währungsschlüssel 20001121
5 Importing IM_T_QUANTITIES Call by reference Type reference (TYPE) QRP_T_QUANTITIES Tabelle zu QRP_QUANTIITES 20001121

Method CONVERT_TOTALS_TO_QRP on class CL_COA_SERVICES has no exception.

Method GET_DELIVERD_QTY_FROM_TOTALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_QUANTITY Call by reference Type reference (TYPE) CKBK_QUANTITY Liefermenge 20001109
2 Importing IM_CO_TOTALS Call by reference Object reference (TYPE REF TO) CL_COA_CO_TOTALS Verwaltet CO-Summensätze 20001109

Method GET_DELIVERD_QTY_FROM_TOTALS on class CL_COA_SERVICES has no exception.

Method GET_KKBCS_ORIG_FROM_SUM_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_KKBCS_ORIG Call by reference Type reference (TYPE) KKBCS_ORIG KKBCS: Herkunftsfelder 20001102
2 Importing IM_SUM_LEVEL Call by reference Type reference (TYPE) COA_TOTALS_BY_SUM_LEVEL CO-Summensätze pro Verdichtungsebene 20001102

Method GET_KKBCS_ORIG_FROM_SUM_LEVEL on class CL_COA_SERVICES has no exception.

Method GET_OBJECT_GROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_OBJECT_TYPE Call by reference Type reference (TYPE) J_OBART Objektart OR, PO 19991021
2 Returning RE_OBJECT_GROUP Value transfer Type reference (TYPE) J_OBART Objektgruppe OR, 19991021

Method GET_OBJECT_GROUP on class CL_COA_SERVICES has no exception.

Method GET_REAL_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CATEGORY Call by reference Type reference (TYPE) COA_TOTALS_CATEGORY-CATEGORY Originalkategorie 19991015
2 Importing IM_VALUE Call by reference Type reference (TYPE) WKGXXX Wert 19991015
3 Returning RE_CATEGORY Value transfer Type reference (TYPE) COA_TOTALS_CATEGORY-CATEGORY Kategorie für CO_TOTALS 19991015

Method GET_REAL_CATEGORY on class CL_COA_SERVICES has no exception.

Method GET_SUBKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CO_SUBKEY Value transfer Type reference (TYPE) CO_SUBKEY Herkunft 19991020
2 Importing IM_MATERIAL Call by reference Type reference (TYPE) MATNR Material 19991020
3 Importing IM_ORIGIN_GROUP Call by reference Type reference (TYPE) HRKFT Werk 19991020
4 Importing IM_PLANT Call by reference Type reference (TYPE) WERKS_D Herkunftsgruppe 19991020
# Exception Resumable Description Created on
1 NOT_FOUND Subkey nicht ermittelbar 19991027

Method INTERNAL_CVT_TOTALS_TO_KKBCS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_T_KKBCS Call by reference Type reference (TYPE) KKBCS_T Tabelle zu KKBCS 20001130
2 Importing IM_ABKAT Call by reference Type reference (TYPE) ABKAT Kategorie Abweichung/Abgrenzung 20001130
3 Importing IM_CATEGORY Call by reference Type reference (TYPE) COA_TCAT Summensatzkategorie 20001130
4 Importing IM_COST_OBJECT Call by reference Object reference (TYPE REF TO) CL_COA_COST_OBJECT Gerüst für Kostenträgerrepräsentation 20001130
5 Importing IM_CUSTOMIZING Call by reference Object reference (TYPE REF TO) CL_COA_CUSTOMIZING Customizingparameter lesen und bereitstellen 20001130
6 Importing IM_DC_INDICATOR Call by reference Type reference (TYPE) AWBEL Abweichungen: Be-/Entlastung 20010504
7 Importing IM_KKBCS_TEMPLATE Call by reference Type reference (TYPE) KKBCS Controlling Objekt aus CM-Sicht (Kosten und Einsatzmengen) 20001130
8 Importing IM_SUBCATEGORY Call by reference Type reference (TYPE) COA_TSCAT Summensatzunterkategorie 20001201
9 Importing IM_SUM_LEVEL_TOTALS Call by reference Object reference (TYPE REF TO) CL_COA_SUM_LEVEL_TOTALS CO-Summensätze pro Verdichtungsebene 20001208
10 Importing IM_WRTTP Call by reference Type reference (TYPE) CO_WRTTP Werttyp 20001130

Method INTERNAL_CVT_TOTALS_TO_KKBCS on class CL_COA_SERVICES has no exception.

Method LAST_DAY_OF_PERIOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PERIOD Call by reference Type reference (TYPE) CO_PERIO Periode 19991015
2 Importing IM_PLANT Call by reference Type reference (TYPE) WERKS_D Werk 19991015
3 Importing IM_YEAR Call by reference Type reference (TYPE) GJAHR Geschäftsjahr 19991015
4 Returning RE_DATE Value transfer Type reference (TYPE) SYDATE Datum 19991015
# Exception Resumable Description Created on
1 NOT_FOUND Periode nicht ermittelbar 19991025

Method MATERIAL_IS_FOR_MAKE_TO_STOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_MATERIAL Call by reference Type reference (TYPE) MATNR Materialnummer 20001122
2 Importing IM_PLANT Call by reference Type reference (TYPE) WERKS_D Werk 20001122
3 Returning RE_RESULT Value transfer Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20001122

Method MATERIAL_IS_FOR_MAKE_TO_STOCK on class CL_COA_SERVICES has no exception.

Method SCENARIO_DETERMINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_OBJNR Call by reference Type reference (TYPE) COSP-OBJNR 20040218
2 Returning R_MTS Value transfer Type reference (TYPE) BOOLE_D 20040218

Method SCENARIO_DETERMINE on class CL_COA_SERVICES has no exception.

Method SET_MAX_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_RESULT Call by reference Type reference (TYPE) KPEP_WL_OBJSTAT Verarbeitungsstatus eines Objekts im Arbeitsvorrat 20010208
2 Importing IM_RESULT Call by reference Type reference (TYPE) KPEP_WL_OBJSTAT Verarbeitungsstatus eines Objekts im Arbeitsvorrat 20010208

Method SET_MAX_RESULT on class CL_COA_SERVICES has no exception.
History
Last changed by/on SAP  20050301 
SAP Release Created in