SAP ABAP Class CL_COSTING_MODEL (Costing Model)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   CO-PC-PCP (Application Component) Product Cost Planning
     CK_ECP (Package) Easy Cost Planning
Properties
Class CL_COSTING_MODEL  
Short Description Costing Model    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package CK_ECP   Easy Cost Planning 
Created 19991102   SAP 
Last change 19991102   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 BZOBJ Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CK Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_COSTING_MODEL has no interface implemented.
Friends
Class CL_COSTING_MODEL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_CHARAFILECAT_CLASSIFICATION Constant Public Type reference (TYPE) CK_CHAR_FILE_CAT 'C' Model: Characteristic Storage Type 19991126
2 C_CHARA_CAT_CLASSIFICATION Constant Public Type reference (TYPE) CKI_MODEL_CHARA_CATEG 'C' Characteristic Type 19991202
3 C_MODELCAT_ECP Constant Public Type reference (TYPE) CKI_MODELCAT SPACE Model Type ECP 19991111
4 C_MODELCAT_ISR Constant Public Type reference (TYPE) CKI_MODELCAT 'ISR' Model Type ISR 19991111
5 C_MODEL_LOGIC_TEMPLATE Constant Public Type reference (TYPE) CK_CHARACT_LOGIC 'T ' Model Logic Template 19991112
6 MS_HEADER Instance attribute Private Type reference (TYPE) CKI_S_COSTMODEL Costing Model Header 19991102
7 MT_CHARACTERISTICS Instance attribute Private Type reference (TYPE) CKI_T_CHARACTERISTIC Costing Model Characteristics 19991102
8 MT_COSTING_MODEL_CACHE Static Attribute Private Type reference (TYPE) CKI_T_COSTING_MODEL_CACHE Persistence Cache 19991103
9 MT_COSTING_MODEL_CACHE1 Static Attribute Private Type reference (TYPE) CKF_T_COSTING_MODEL_CACHE Cache 19991119
10 M_CHANGED Instance attribute Private Type reference (TYPE) XFLAG Status DB - Differing Memories 19991217
11 M_CREATE Instance attribute Private Type reference (TYPE) XFLAG Model Was Regenerated 20000119
12 M_MODEL Instance attribute Public Type reference (TYPE) CK_COSTMODEL Costing Model 19991102
Methods
# Method Level Visibility Method type Description Created on
1 CHANGE_HEADER Instance method Public Method Model Data Change/Supply 19991112
2 CHAR_HAS_CONVEXIT Instance method Public Method "X": Conversion Exit for Characteristic Specified 20010522
3 CHAR_HAS_OPTION_VALUES Instance method Public Method "X": Characteristic Has Multiple Char. Values (Dropdown) 20010212
4 CHECK_HEADER_LOGIC Instance method Private Method Check Model Data for Consistency 19991112
5 CHECK_NAME Static method Public Method Check Model Name 19991102
6 CHECK_REFERENCE_OBJECT_ALLOWED Instance method Public Method Is Model Allowed for a Reference Object 19991229
7 CONSTRUCTOR Instance method Public Constructor Generate Model (Internal Use Only) 19991102
8 COPY Static method Public Method Copy Model (Without Copy of the Template) 19991102
9 CREATE Static method Public Method Create Model 19991112
10 DELETE Static method Public Method Delete Model 19991102
11 DELETE_CACHE Static method Public Method Delete Model from the Cache (not Physically on the DB) 20000113
12 DEQUEUE Instance method Public Method Unlock Model 19991102
13 DESCRIPTION_DIRECT_READ Static method Public Method Read Model Description 20000615
14 ENQUEUE Instance method Public Method Lock Model 19991102
15 GET_CHARACTERISTICS Instance method Public Method Pass on Model Characteristics Outwards 19991112
16 GET_CHARACTERISTICS_RESOLVED Instance method Public Method Pass on Model Characteristics Outwards (Structures Exploded) 19991116
17 GET_HEADER Instance method Public Method Pass on Model Data Outwards 19991112
18 GET_LIST Static method Public Method Import Model List 19991102
19 GET_MAINTAIN_STATUS_OF_CHARA Instance method Public Method Notify Change Status of the Model 20000118
20 GET_TEXT Instance method Public Method Supplies Model Description 20000208
21 IS_CHANGED Instance method Public Method Query: Status DB - Differing Memories 19991217
22 READ_FOR_CHANGE Static method Public Method Import Model (via Persistence Cache) and Lock 19991103
23 READ_FOR_CHANGE_OLD Static method Public Method Import Model (via Persistence Cache) and Lock 19991119
24 READ_FOR_DISPLAY Static method Public Method Import Model (via Persistence Cache) 19991102
25 READ_FOR_DISPLAY_OLD Static method Public Method Import Model (via Persistence Cache) 19991119
26 READ_FROM_DB Instance method Private Method Read Characteristics and Attributes of Model from DB 19991122
27 SAVE Instance method Public Method Save Model 19991129
28 SET_CHARACTERISTICS Instance method Public Method Set Model Characteristics 19991104
29 SET_MODEL_FROM_DB Instance method Protected Method Transfer Model from DB to Global Header Struc./Char. Table 19991122
30 UPDATE_CHARACTERISTIC Instance method Public Method Add Model Characteristic 19991103
Events
# Event Type Visibility Description Created on
1 CHARACTERISTIC_CHANGED Instance Event
(0)
Public
(2)
Characteristic Added or Deleted 19991122
2 HEADER_CHANGED Instance Event
(0)
Public
(2)
Header Changed 19991122
Types
Class CL_COSTING_MODEL has no local type.
Method Signatures

Method CHANGE_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHARACT_FILE_CAT Value transfer Type reference (TYPE) CK_CHAR_FILE_CAT Merkmalsablagetyp 19991112
2 Importing I_KOKRS Value transfer Type reference (TYPE) KOKRS Kostenrechnungskreis 19991130
3 Importing I_MODELCAT Value transfer Type reference (TYPE) CKI_MODELCAT Modelltyp 19991201
4 Importing I_MODEL_TEXT Value transfer Type reference (TYPE) CK_COSTMODELT Kalkulationsmodellbeschreibung 19991112
5 Importing I_REFERENCE_OBJECT Value transfer Type reference (TYPE) BZOBJ Bezugsobjekt 19991112
6 Importing I_TEMPLATE Value transfer Type reference (TYPE) ABC_TEMPL Template 19991112
7 Importing I_TEMPLATE_CLASS Value transfer Type reference (TYPE) ABC_CLASS Umgebung 19991112
# Exception Resumable Description Created on
1 MODEL_INVALID Modelldaten sind Inkonsistent 19991112

Method CHAR_HAS_CONVEXIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_HAS_CONVEXIT Call by reference Type reference (TYPE) XFLAG 'X': Konvertierungsexit hinterlegt 20010522
2 Importing ID_CHARACTERISTIC_NAME Call by reference Type reference (TYPE) ATNAM Merkmalsname 20010522

Method CHAR_HAS_CONVEXIT on class CL_COSTING_MODEL has no exception.

Method CHAR_HAS_OPTION_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_HAS_OPTION_VALUES Call by reference Type reference (TYPE) XFLAG 'X': Hat mehrere Merkmalswerte 20010212
2 Importing ID_CHARACTERISTIC_NAME Call by reference Type reference (TYPE) ATNAM Merkmalname 20010212

Method CHAR_HAS_OPTION_VALUES on class CL_COSTING_MODEL has no exception.

Method CHECK_HEADER_LOGIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_COSTMODEL Value transfer Type reference (TYPE) CKI_S_COSTMODEL Kalkulationsmodell 19991112
# Exception Resumable Description Created on
1 MODEL_INVALID Modelldaten sind inkonsistent 19991112

Method CHECK_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COSTING_MODEL Value transfer Type reference (TYPE) CK_COSTMODEL Kalkulationsmodell 19991102
# Exception Resumable Description Created on
1 INVALID_NAME Ungültiger Modellname 19991102

Method CHECK_REFERENCE_OBJECT_ALLOWED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_REFERENCE_OBJECT Call by reference Type reference (TYPE) CK_OBJ Bezugsobjekt 19991229
# Exception Resumable Description Created on
1 REFERENCE_OBJECT_NOT_ALLOWED Das Bezugsobjekt darf das Modell nicht verwenden 19991229

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COSTING_MODEL Value transfer Type reference (TYPE) CK_COSTMODEL Kalkulationsmodellname 19991102
# Exception Resumable Description Created on
1 FOREIGN_LOCK Modell gesperrt 19991112
2 INVALID_NAME Ungültiger Name für das Kalk.modell 19991112
3 MODEL_ALREADY_EXISTS Modell bereits vorhanden 19991112

Method COPY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FROM_MODEL Value transfer Type reference (TYPE) CK_COSTMODEL Quell Kalkulationsmodell 19991122
2 Importing I_TO_KOKRS Value transfer Type reference (TYPE) KOKRS Ziel Kostenrechnungskreis 19991122
3 Importing I_TO_MODEL Value transfer Type reference (TYPE) CK_COSTMODEL Ziel Kalkulationsmodell 19991122

Method COPY on class CL_COSTING_MODEL has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_COSTING_MODEL Value transfer Object reference (TYPE REF TO) CL_COSTING_MODEL Kalkulationsmodell 19991112
2 Importing I_CONTROLLING_AREA Value transfer Type reference (TYPE) KOKRS Kostenrechnugskreis 19991112
3 Importing I_COSTING_MODEL Value transfer Type reference (TYPE) CK_COSTMODEL Kalkulationsmodellname 19991112
4 Importing I_MODEL_CATEGORY Value transfer Type reference (TYPE) CKI_MODELCAT SPACE Modelltyp 19991112
# Exception Resumable Description Created on
1 FOREIGN_LOCK Modell gesperrt 19991112
2 INVALID_NAME Ungültiger Name für das Kalk.modell 19991112
3 MODEL_ALREADY_EXISTS Modell bereits vorhanden 19991112

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COSTING_MODEL Value transfer Type reference (TYPE) CK_COSTMODEL Kalkulationsmodellname 19991102
2 Importing I_IN_UPDATE_TASK Value transfer Type reference (TYPE) XFLAG 'X' Sichern in Update Task 19991201
# Exception Resumable Description Created on
1 MODEL_USAGE_FOUND Es existieren noch Modellbewertungen 19991130
2 NOT_FOUND Modell nicht gefunden 19991102

Method DELETE_CACHE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COSTING_MODEL Value transfer Type reference (TYPE) CK_COSTMODEL Kalkulationsmodellname 20000113

Method DELETE_CACHE on class CL_COSTING_MODEL has no exception.

Method DEQUEUE Signature

Method DEQUEUE on class CL_COSTING_MODEL has no parameter.
Method DEQUEUE on class CL_COSTING_MODEL has no exception.

Method DESCRIPTION_DIRECT_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_COSTING_MODEL_TEXT Call by reference Type reference (TYPE) CK_COSTMODELT Bezeichnung des Kalkulationsmodells 20000615
2 Importing I_COSTING_MODEL_NAME Call by reference Type reference (TYPE) CK_COSTMODEL Kalkulationsmodell 20000615

Method DESCRIPTION_DIRECT_READ on class CL_COSTING_MODEL has no exception.

Method ENQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SCOPE Value transfer Type reference (TYPE) CHAR1 '3' Sperre auch nach dem Sichern halten 19991129
# Exception Resumable Description Created on
1 FOREIGN_LOCK Modell gesperrt 19991102

Method GET_CHARACTERISTICS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHARACTERISTICS Call by reference Type reference (TYPE) CKI_T_CHARACTERISTIC Modellmerkmale 19991112

Method GET_CHARACTERISTICS on class CL_COSTING_MODEL has no exception.

Method GET_CHARACTERISTICS_RESOLVED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHARACTERISTICS Call by reference Type reference (TYPE) CKI_T_CHARACTERISTIC Modellmerkmale 19991116

Method GET_CHARACTERISTICS_RESOLVED on class CL_COSTING_MODEL has no exception.

Method GET_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HEADER Value transfer Type reference (TYPE) CKI_S_COSTMODEL Modelldaten 19991112

Method GET_HEADER on class CL_COSTING_MODEL has no exception.

Method GET_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_COSTING_MODEL Call by reference Type reference (TYPE) CKI_T_COSTMODEL Kalkulationsmodelle 19991102
2 Importing I_CO_AREA Value transfer Type reference (TYPE) KOKRS Kostenrechnungskreis 19991102
3 Importing I_MODEL_CATEGORY Value transfer Type reference (TYPE) CKI_MODELCAT SPACE Modellkategorie 19991102
4 Importing I_REF_OBJECT Value transfer Type reference (TYPE) CKHS-BZOBJ SPACE Bezugsobjekt 19991102
5 Importing I_TEMPLATE_CLASS Value transfer Type reference (TYPE) ABC_CLASS SPACE Template Umgebung 20000124

Method GET_LIST on class CL_COSTING_MODEL has no exception.

Method GET_MAINTAIN_STATUS_OF_CHARA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CHARACTERISTIC_DELETE Value transfer Type reference (TYPE) C Merkmal(e) wurde(n) gelöscht 20000118
2 Exporting E_CHARACTERISTIC_INSERT Value transfer Type reference (TYPE) C Merkmal(e) wurde(n) eingefügt 20000118
3 Exporting E_CHARACTERISTIC_MODIFY Value transfer Type reference (TYPE) C Merkmal(e) wurde(n) geändert 20000118
# Exception Resumable Description Created on
1 ERROR_IN_APPLICATION Fehler beim Sichern 20000118
2 INVALID_CALL Ungültiger Aufruf 20000118

Method GET_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_COSTING_MODEL_TEXT Call by reference Type reference (TYPE) CK_COSTMODELT Bezeichnung des Kalkulationsmodells 20000208

Method GET_TEXT on class CL_COSTING_MODEL has no exception.

Method IS_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_CHANGED Value transfer Type reference (TYPE) XFLAG Geändert 19991218

Method IS_CHANGED on class CL_COSTING_MODEL has no exception.

Method READ_FOR_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_COSTING_MODEL Value transfer Object reference (TYPE REF TO) CL_COSTING_MODEL Kalkulationsmodell 19991104
2 Importing I_COSTING_MODEL Value transfer Type reference (TYPE) CK_COSTMODEL Kalkulationsmodell-Name 19991103
# Exception Resumable Description Created on
1 FOREIGN_LOCK Modell gesperrt 19991103
2 INVALID_MODEL_NAME Ungültiger Modellname 19991103
3 NOT_FOUND Modell existiert nicht 19991112

Method READ_FOR_CHANGE_OLD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_COSTING_MODEL Value transfer Object reference (TYPE REF TO) CL_COSTING_MODEL Kalkulationsmodell 19991119
2 Importing I_COSTING_MODEL Value transfer Type reference (TYPE) CK_COSTMODEL Kalkulationsmodell-Name 19991119
# Exception Resumable Description Created on
1 FOREIGN_LOCK Modell gesperrt 19991119
2 INVALID_MODEL_NAME Ungültiger Modellname 19991119
3 NOT_FOUND Modell existiert nicht 19991119

Method READ_FOR_DISPLAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COSTING_MODEL Value transfer Type reference (TYPE) CK_COSTMODEL Kalkulationsmodell-Name 19991102
2 Returning RR_COSTING_MODEL Value transfer Object reference (TYPE REF TO) CL_COSTING_MODEL Kalkulationsmodell 19991102
# Exception Resumable Description Created on
1 INVALID_MODEL_NAME Ungültiger Modellname 19991102
2 NOT_FOUND Modell nicht gefunden 19991102

Method READ_FOR_DISPLAY_OLD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COSTING_MODEL Value transfer Type reference (TYPE) CK_COSTMODEL Kalkulationsmodell-Name 19991119
2 Returning RR_COSTING_MODEL Value transfer Object reference (TYPE REF TO) CL_COSTING_MODEL Kalkulationsmodell 19991119
# Exception Resumable Description Created on
1 INVALID_MODEL_NAME Ungültiger Modellname 19991119
2 NOT_FOUND Modell nicht gefunden 19991119

Method READ_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HEADER Value transfer Type reference (TYPE) CKI_S_COSTMODEL Kopfdaten zum Kalkmodell 19991122
2 Exporting ET_CHARACTERISTICS Value transfer Type reference (TYPE) CKI_T_CHARACTERISTIC Modellmerkmale 19991122
3 Importing I_CHECK_FOR_COSTING Value transfer Type reference (TYPE) XFLAG 'X' Prüfe ob Merkmal(e) in Kalk.modell verwendet werden können 20000427
4 Importing I_MODEL Value transfer Type reference (TYPE) CK_COSTMODEL Kalkulationsmodell 19991122
# Exception Resumable Description Created on
1 INVALID_MODEL_NAME Ungültiger Modellname 19991122
2 NOT_FOUND Modell nicht gefunden 19991122

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IB_WITH_CHARA Value transfer Type reference (TYPE) C 'X' Inclusive Merkmalen 19991130
# Exception Resumable Description Created on
1 ERROR_IN_APPLICATION Fehler beim Sichern 19991129
2 INVALID_CALL Ungültiger Aufruf 19991129

Method SET_CHARACTERISTICS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CHARACTERISTICS Call by reference Type reference (TYPE) CKI_T_CHARACTERISTIC Modellmerkmale 19991104
# Exception Resumable Description Created on
1 INCONSISTENCY Inkonsistenz erkannt 19991229

Method SET_MODEL_FROM_DB Signature

Method SET_MODEL_FROM_DB on class CL_COSTING_MODEL has no parameter.
# Exception Resumable Description Created on
1 INVALID_MODEL_NAME Ungültiger Modellname 19991122
2 NOT_FOUND Modell nicht gefunden 19991122

Method UPDATE_CHARACTERISTIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CHARACTERISTIC Value transfer Type reference (TYPE) CKI_S_CHARACTERISTIC Metabeschreibung eines Merkmals 19991103
# Exception Resumable Description Created on
1 INCONSISTENCY Inkonsistenz erkannt 19991229
Event Signatures

Event CHARACTERISTIC_CHANGED Signature
Event CHARACTERISTIC_CHANGED on class CL_COSTING_MODEL has no parameter.
Event HEADER_CHANGED Signature
Event HEADER_CHANGED on class CL_COSTING_MODEL has no parameter.
History
Last changed by/on SAP  19991102 
SAP Release Created in