SAP ABAP Class CRMCO_COST_ESTIMATE (Costing of Service Processes)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   CO (Application Component) Controlling
     CRMCO_COSTING (Package) Integration CRM/CO: Cost Estimate
Properties
Class CRMCO_COST_ESTIMATE  
Short Description Costing of Service Processes    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CRMCO_COSTING   Integration CRM/CO: Cost Estimate 
Created 20021021   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 BPBU Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 BZOBJ Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CRMCO_COST_ESTIMATE has no interface implemented.
Friends
Class CRMCO_COST_ESTIMATE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GR_AUFK Instance attribute Public Object reference (TYPE REF TO) CL_WRAP_AUFK_CK Valuation Interface: Base Planning Object Test 20021029
2 GR_COST_ESTIMATE Instance attribute Public Object reference (TYPE REF TO) CL_COST_ESTIMATE PCP Standard Cost Estimate 20021022
3 GS_PRICE_LINE Instance attribute Private Type reference (TYPE) CKF_PRICE_LINE Valuation Data 20021029
4 GT_INVALID_COSTING_DATA Instance attribute Private Type reference (TYPE) CRMCO_COSTING_DATA_TABLE CRM/CO Integration: Cost Estimate Data - Table Type 20030909
5 GT_MESSAGES Instance attribute Public Type reference (TYPE) CKF_ERROR_MESSAGE_TABLE PCP: Error Message Table 20021025
6 GT_PRICE_TABLE Instance attribute Private Type reference (TYPE) CKF_PRICE_TABLE Valuation Data Table 20021022
7 G_BS_IDENT Instance attribute Private Type reference (TYPE) IAOM_BS_IDENTIFICATION Business Scenario for Which Controlling Performed 20030204
8 G_COERR_APPL Instance attribute Private Type reference (TYPE) COERR_MSG-APPL Application 20021217
9 G_INSTANCE_ERROR Instance attribute Private Type reference (TYPE) XFLAG ' ' Indicator: Serious Error During Instantiation 20030224
10 G_OBJID Instance attribute Private Type reference (TYPE) COERR_MSG-OBJ_ID Object Number 20021217
11 G_SET_RATE_TYPE_M Static Attribute Public Type reference (TYPE) XFLAG Exchange Rate Type for Actual Postings CRM/CO 20100930
12 G_SIMULATION_MODE Instance attribute Private Type reference (TYPE) XFLAG Only Simulation Without "Real" Order 20030203
Methods
# Method Level Visibility Method type Description Created on
1 ADAPT_DATES Instance method Private Method Adapt Data Fields 20030205
2 ADD_MESSAGE Instance method Private Method Collect Message 20021030
3 ADD_SYSTEM_MESSAGE Instance method Private Method Collect System Messages 20021025
4 CALCULATE Static method Public Method Calculate 20021217
5 CALCULATE_WITH_NEW_ITEMS Instance method Public Method Cost with New Dates 20030203
6 CHECK_WRAP_OBJECT Instance method Private Method Check Wrap Object Data 20030203
7 CONSTRUCTOR Instance method Public Constructor Constructor 20021021
8 CREATE_COST_ESTIMATE Instance method Private Method Create Cost Estimate 20021031
9 CREATE_FROM_COSTING_DATA Instance method Private Method Create Costing Data 20021022
10 CREATE_ITEM Instance method Private Method Create Item 20021023
11 GET_MESSAGES Instance method Public Method Get Messages 20071213
12 GET_STARTING_DATE Instance method Private Method Determination of Start Date 20110510
13 MERGE_ITEMIZATION_DATA Instance method Private Method Merge Existing/New Entries 20021203
14 RECOST Static method Public Method New Cost Estimate from Controlling Cockpit 20030109
15 SAVE Instance method Public Method Save 20030203
16 SET_COST_ELEMENT Instance method Private Method Set Cost Element 20021029
17 SET_PRICE_FROM_COSTING_DATA Instance method Private Method Set Price 20030205
18 SET_VALUATION_DATE Instance method Private Method Set Valuation Date 20021025
19 STATUS_CHECK Instance method Private Method Cost Estimate/ECP Permitted? 20021029
20 STORE_MESSAGES Instance method Private Method Store Messages in Controlling Cockpit 20021217
Events
Class CRMCO_COST_ESTIMATE has no event.
Types
Class CRMCO_COST_ESTIMATE has no local type.
Method Signatures

Method ADAPT_DATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATE_FROM Value transfer Type reference (TYPE) CK_ABDAT Kalkulationsdatum ab 20030205
2 Importing I_DATE_TO Value transfer Type reference (TYPE) CK_BIDAT Kalkulationsdatum bis 20030205
3 Importing I_DATE_VAL Value transfer Type reference (TYPE) CK_BWDAT Bewertungstermin einer Kalkulation 20030205
# Exception Resumable Description Created on
1 WRONG_INPUT Falsche Datumsangaben 20030205

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MSGID Call by reference Type reference (TYPE) SY-MSGID Nachrichten, Nachrichtenklasse 20021030
2 Importing I_MSGNO Call by reference Type reference (TYPE) SY-MSGNO Nachrichten, Nachrichtennummer 20021030
3 Importing I_MSGTY Call by reference Type reference (TYPE) SY-MSGTY Nachrichten, Nachrichtentyp 20021030
4 Importing I_MSGV1 Call by reference Type reference (TYPE) SY-MSGV1 SPACE Nachrichten, Nachrichtenvariable 20021030
5 Importing I_MSGV2 Call by reference Type reference (TYPE) SY-MSGV2 SPACE Nachrichten, Nachrichtenvariable 20021030
6 Importing I_MSGV3 Call by reference Type reference (TYPE) SY-MSGV3 SPACE Nachrichten, Nachrichtenvariable 20021030
7 Importing I_MSGV4 Call by reference Type reference (TYPE) SY-MSGV4 SPACE Nachrichten, Nachrichtenvariable 20021030

Method ADD_MESSAGE on class CRMCO_COST_ESTIMATE has no exception.

Method ADD_SYSTEM_MESSAGE Signature

Method ADD_SYSTEM_MESSAGE on class CRMCO_COST_ESTIMATE has no parameter.
Method ADD_SYSTEM_MESSAGE on class CRMCO_COST_ESTIMATE has no exception.

Method CALCULATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_CRMCO_CE Call by reference Object reference (TYPE REF TO) CRMCO_COST_ESTIMATE Kalkulation von Servicevorgängen/cProject 20030203
2 Exporting E_COSTING_NUMBER Call by reference Type reference (TYPE) CK_KALNR Kalkulationsnummer für Kalkulation ohne Mengengerüst 20021217
3 Importing IT_COSTING_DATA Call by reference Type reference (TYPE) CRMCO_COSTING_DATA_TABLE CRM/CO Integration: Kalkulationsdaten - Tabellentyp 20021217
4 Importing I_AUFK Call by reference Type reference (TYPE) AUFK Auftragsstammdaten 20021217
5 Importing I_BS_IDENT Call by reference Type reference (TYPE) IAOM_BS_IDENTIFICATION 'CRMSRV' Geschäftsszenario, für das ein Controlling durchgeführt wird 20030204
6 Importing I_DATE Call by reference Type reference (TYPE) CK_BWDAT Bewertungstermin einer Kalkulation 20021217
7 Importing I_DATE_FROM Call by reference Type reference (TYPE) CK_ABDAT Kalkulationsdatum ab 20030128
8 Importing I_DATE_TO Call by reference Type reference (TYPE) CK_BIDAT Kalkulationsdatum bis 20030128
9 Importing I_HANDLE_OLD_ITEMS Call by reference Type reference (TYPE) CHAR1 'M' M=Merge by GUID, D=Delete all with GUID, A=Add, W=Wipe all 20030128
10 Importing I_SIMULATION_MODE Call by reference Type reference (TYPE) XFLAG ' ' nur Simulation ohne "echten" Auftrag 20030203
# Exception Resumable Description Created on
1 INVALID_INPUT Falscher Aufruf 20021217

Method CALCULATE_WITH_NEW_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_COSTING_DATA Call by reference Type reference (TYPE) CRMCO_COSTING_DATA_TABLE CRM/CO Integration: Kalkulationsdaten - Tabellentyp 20030203
2 Importing I_HANDLE_OLD_ITEMS Call by reference Type reference (TYPE) CHAR1 'M' M=Merge by GUID, D=Delete all with GUID, A=Add, W=Wipe all 20030203

Method CALCULATE_WITH_NEW_ITEMS on class CRMCO_COST_ESTIMATE has no exception.

Method CHECK_WRAP_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_AUFK Call by reference Type reference (TYPE) AUFK Auftragsstammdaten 20030203
# Exception Resumable Description Created on
1 FAILED Prüfung ergab Fehler 20030203

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_AUFK Call by reference Type reference (TYPE) AUFK Auftragsstammdaten 20021028
2 Importing I_BS_IDENT Call by reference Type reference (TYPE) IAOM_BS_IDENTIFICATION Geschäftsszenario, für das ein Controlling durchgeführt wird 20030204
3 Importing I_DATE Call by reference Type reference (TYPE) CK_BWDAT Bewertungstermin einer Kalkulation 20021021
4 Importing I_DATE_FROM Call by reference Type reference (TYPE) CK_ABDAT Kalkulationsdatum ab 20030128
5 Importing I_DATE_TO Call by reference Type reference (TYPE) CK_BIDAT Kalkulationsdatum bis 20030128
6 Importing I_SIMULATION_MODE Call by reference Type reference (TYPE) XFLAG ' ' nur Simulation ohne "echten" Auftrag 20030203
# Exception Resumable Description Created on
1 INVALID_INPUT Falscher Aufruf 20021028

Method CREATE_COST_ESTIMATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_AUFK Call by reference Type reference (TYPE) AUFK Auftragsstammdaten 20021031
2 Importing I_DATE Call by reference Type reference (TYPE) CK_BWDAT Bewertungstermin einer Kalkulation 20021031
3 Importing I_DATE_FROM Value transfer Type reference (TYPE) CK_ABDAT Kalkulationsdatum ab 20030128
4 Importing I_DATE_TO Value transfer Type reference (TYPE) CK_BIDAT Kalkulationsdatum bis 20030128
# Exception Resumable Description Created on
1 ERROR interner Fehler 20021031

Method CREATE_FROM_COSTING_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_COSTING_DATA Call by reference Type reference (TYPE) CRMCO_COSTING_DATA_TABLE CRM/CO Integration: Kalkulationsdaten - Tabellentyp 20021022
# Exception Resumable Description Created on
1 ERROR Fehler 20021030

Method CREATE_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_COSTING_COMPONENT Call by reference Object reference (TYPE REF TO) CL_COSTING_COMPONENT PCP Bewertungsobjekt 20021023
2 Exporting E_DONE Call by reference Type reference (TYPE) XFLAG neue Eingabewerte 20021025
3 Importing IS_RESOURCE Call by reference Type reference (TYPE) CKF_RESOURCE Ressourcenobjekt der Kalkulation 20021023

Method CREATE_ITEM on class CRMCO_COST_ESTIMATE has no exception.

Method GET_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) CKF_ERROR_MESSAGE_TABLE PCP: Fehlermeldungstabelle 20071213

Method GET_MESSAGES on class CRMCO_COST_ESTIMATE has no exception.

Method GET_STARTING_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_STARTING_DATE Call by reference Type reference (TYPE) SY-DATUM Aktuelles Datum des Applikationsservers 20110510
2 Importing IM_BUKRS Value transfer Type reference (TYPE) T001-BUKRS Buchungskreis 20110510

Method GET_STARTING_DATE on class CRMCO_COST_ESTIMATE has no exception.

Method MERGE_ITEMIZATION_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_COSTING_DATA Call by reference Type reference (TYPE) CRMCO_COSTING_DATA_TABLE CRM/CO Integration: Kalkulationsdaten - Tabellentyp 20021203

Method MERGE_ITEMIZATION_DATA on class CRMCO_COST_ESTIMATE has no exception.

Method RECOST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BS_IDENT Call by reference Type reference (TYPE) IAOM_BS_IDENTIFICATION 'CRMSRV' Geschäftsszenario, für das ein Controlling durchgeführt wird 20030204
2 Importing I_PARAMETER Call by reference Type reference (TYPE) COERR_PAR_TAB Controlling Cockpit: Tabelle der Prüfparameter 20030109
3 Importing I_TABLES Call by reference Type reference (TYPE) COERR_TABLES_TAB Controlling Cockpit: Tabellen zur Prüfung 20030109

Method RECOST on class CRMCO_COST_ESTIMATE has no exception.

Method SAVE Signature

Method SAVE on class CRMCO_COST_ESTIMATE has no parameter.
Method SAVE on class CRMCO_COST_ESTIMATE has no exception.

Method SET_COST_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_COSTING_COMPONENT Call by reference Object reference (TYPE REF TO) CL_COSTING_COMPONENT PCP Bewertungsobjekt 20021029
2 Importing I_COST_ELEMENT Call by reference Type reference (TYPE) KSTAR Kostenart 20021029

Method SET_COST_ELEMENT on class CRMCO_COST_ESTIMATE has no exception.

Method SET_PRICE_FROM_COSTING_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_COSTING_COMPONENT Call by reference Object reference (TYPE REF TO) CL_COSTING_COMPONENT PCP Bewertungsobjekt 20030205
2 Importing IS_ITEM Call by reference Type reference (TYPE) CRMCO_ITEM_STRUCTURE CRM/CO Integration: Positionsdaten Kalkulation 20030205
3 Importing I_TYPPS Call by reference Type reference (TYPE) TYPPS Positionstyp 20030205
# Exception Resumable Description Created on
1 ERROR_OCCURED Fehler ist aufgetreten 20030909

Method SET_VALUATION_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_COSTING_COMPONENT Call by reference Object reference (TYPE REF TO) CL_COSTING_COMPONENT PCP Bewertungsobjekt 20021025
2 Importing I_VALUATION_DATE Call by reference Type reference (TYPE) CK_BWDAT Bewertungstermin einer Kalkulation 20021025

Method SET_VALUATION_DATE on class CRMCO_COST_ESTIMATE has no exception.

Method STATUS_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_AUFK Call by reference Type reference (TYPE) AUFK Auftragsstammdaten 20021029
# Exception Resumable Description Created on
1 WRONG_STATUS Fehler 20021030

Method STORE_MESSAGES Signature

Method STORE_MESSAGES on class CRMCO_COST_ESTIMATE has no parameter.
Method STORE_MESSAGES on class CRMCO_COST_ESTIMATE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 2002_1_46C