SAP ABAP Class CL_CK_CO_OBJECT (CO Object for Costing)
Hierarchy
☛
SAP_FIN (Software Component) SAP_FIN
⤷
CO-PC-OBJ (Application Component) Cost Object Controlling
⤷
CKCO (Package) R/3 Application Development: PP Transfer to CO Object
⤷
⤷
Properties
| Class | CL_CK_CO_OBJECT | |
| Short Description | CO Object for Costing | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | CKCO | R/3 Application Development: PP Transfer to CO Object |
| Created | 19991013 | SAP |
| Last change | 19991013 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_CK_CO_OBJECT has no interface implemented.
Friends
Class CL_CK_CO_OBJECT 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) | COSPA-VERSN | CO Version | 19991020 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | XFLAG | Method SWITCH_TO_... Is Active | 19991021 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | KKCK_CO_OBJECT | CO Object | 19991014 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | OWAER | Object Currency | 19991027 | |||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_CK_CO_OBJECT | Object of Operational Version if Delta Version | 19991020 | |||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_CO_OBJECT_REFERENCE | Reference Object | 19991013 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | CKCO_COOBJECTS | Related Objects (That May Use Our Object Number) | 19991021 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | COOBJNR_HTAB | Uses Temporary CO Object Numbers | 19991022 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Adds Costing Items | 19991013 | |
| 2 | Instance method | Public | Method | Performs Overhead Calculation | 19991013 | |
| 3 | Instance method | Public | Constructor | Constructor | 19991013 | |
| 4 | Static method | Private | Method | Convert Structure CKCO_OBJECT_ITEM_DATA in KALKTAB | 19991014 | |
| 5 | Instance method | Public | Method | Returns Current CO Data | 19991015 | |
| 6 | Instance method | Public | Method | . | 19991201 | |
| 7 | Instance method | Private | Event handling method | Event Handler for SWITCH-EVENT | 19991021 | |
| 8 | Instance method | Private | Method | Performs SWITCH and Makes Internal Adjustments | 19991021 | |
| 9 | Instance method | Public | Method | Changes Temporary Object Number into Permanent Obj. Number | 19991013 | |
| 10 | Instance method | Public | Method | Triggers Update | 19991013 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | OBJECT_NUMBER_SWITCHED | Instance Event (0) |
Protected (1) |
Object Number Changed | 19991021 |
Types
Class CL_CK_CO_OBJECT has no local type.
Method Signatures
Method ADD_CALC_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_COSTING_ERROR | Call by reference | Type reference (TYPE) | XFLAG | Flag 'Fehler bei Kostenermittlung' | 19991021 | |||
| 2 | IM_CALC_ITEMS | Call by reference | Type reference (TYPE) | CKCO_COOBJECT_ITEM_ATAB | Kalkulationsobjekte | 19991021 |
Method ADD_CALC_ITEMS on class CL_CK_CO_OBJECT has no exception.
Method CALC_OVERHEAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_ERROR_OCCURED | Call by reference | Type reference (TYPE) | XFLAG | Flag 'Fehler bei der Zuschlagsermittlung aufgetreten' | 19991021 | |||
| 2 | EX_RESULT | Call by reference | Type reference (TYPE) | CKF_COMPONENT_TABLE | Ergebnistabelle mit CL_OVERHEAD_CK Objekten | 19991021 |
Method CALC_OVERHEAD on class CL_CK_CO_OBJECT has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_BUSINESS_AREA | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-GSBER | Geschaeftsbereich | 19991021 | |||
| 2 | IM_BUSINESS_TRANSACTION_GROUP | Call by reference | Type reference (TYPE) | TCK21-VRGGRP | Vorgangsgruppe | 19991021 | |||
| 3 | IM_COMPANY_CODE | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-BUKRS | Buchungskreis | 19991021 | |||
| 4 | IM_COSTING_SHEET | Call by reference | Type reference (TYPE) | AUFKALSM | Kalkulationsschema | 19991021 | |||
| 5 | IM_CO_AREA | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-KOKRS | Kostenrechnungskreis | 19991021 | |||
| 6 | IM_DIVISION | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-SPART | Sparte | 19991021 | |||
| 7 | IM_FISCAL_YEAR | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-GJAHR | Geschaeftsjahr | 19991021 | |||
| 8 | IM_MULTIPLE_ITEM_ORDER | Call by reference | Type reference (TYPE) | CO_MLTPS | Flag 'Multipositionsauftrag' | 19991021 | |||
| 9 | IM_OBJECT_CURRENCY | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-OWAER | Objektwaehrung | 19991027 | |||
| 10 | IM_OBJECT_NUMBER | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-OBJNR | Objektnummer | 19991021 | |||
| 11 | IM_OPERATIVE_VERSION_OBJECT | Call by reference | Object reference (TYPE REF TO) | CL_CK_CO_OBJECT | Objekt der operativen Version (falls nicht operative Vers.) | 19991021 | |||
| 12 | IM_ORDER_CATEGORY | Call by reference | Type reference (TYPE) | AUFTYP | Auftragstyp | 19991021 | |||
| 13 | IM_ORDER_TYPE | Call by reference | Type reference (TYPE) | AUFART | Auftragsart | 19991021 | |||
| 14 | IM_OUTPUT_QUANTITY | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-MENGE | Herstellmenge | 19991021 | |||
| 15 | IM_OUTPUT_UNIT_OF_MEASURE | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-MEINH | Einheit der Herstellmenge | 19991021 | |||
| 16 | IM_OVERHEAD_KEY | Call by reference | Type reference (TYPE) | AUFZSCHL | Zuschlagsschluessel | 19991021 | |||
| 17 | IM_OVRHD_CURR_CONV_DATE | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-PLDAT | Datum fuer Waherungsumrechnung bei Zuschlaegen | 19991021 | |||
| 18 | IM_OVRHD_VALUATION_DATE | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-WERTDAT_ENTL | Datum fuer Entlastungssaetze bei Zuschlagsermittlung | 19991021 | |||
| 19 | IM_PLANT | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-WERKS | Werk | 19991021 | |||
| 20 | IM_POSTING_PERIOD | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-PERIO | Periode | 19991021 | |||
| 21 | IM_PROFIT_CENTER | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-PRCTR | Profit Center | 20051206 | |||
| 22 | IM_RATE_TYPE | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-KURST | Kurstyp | 19991021 | |||
| 23 | IM_RESPCCTR | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-KOSTV | Verantwortliche Kostenstelle | 19991021 | |||
| 24 | IM_VALUE_TYPE | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-WRTTP | '01' | Werttyp | 19991021 | ||
| 25 | IM_VERSION | Call by reference | Type reference (TYPE) | KKCK_OBJDATA-VERSN | '000' | Version | 19991021 | ||
| 26 | IM_YEARLY_COSTING | Call by reference | Type reference (TYPE) | XFLAG | SPACE | Flag 'jahresbezogene' Verarbeitung | 19991021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ungültige Vorgangsgruppe | 19991013 | ||
| 2 | Ungültiger Kostenrechnungskreis | 19991013 |
Method CONV_ITEMDATA_2_KALKTAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITEMDATA | Call by reference | Type reference (TYPE) | CKCO_OBJECT_ITEM_DATA | Itemdata | 19991014 | |||
| 2 | KALKTAB | Call by reference | Type reference (TYPE) | CKKALKTAB | Kalktab | 19991014 |
Method CONV_ITEMDATA_2_KALKTAB on class CL_CK_CO_OBJECT has no exception.
Method RETURN_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_COSLA | Call by reference | Type reference (TYPE) | COSLATAB | COSLA | 19991021 | |||
| 2 | EX_COSPA | Call by reference | Type reference (TYPE) | COSPATAB | COSPA | 19991021 | |||
| 3 | EX_COSSA | Call by reference | Type reference (TYPE) | COSSATAB | COSSA | 19991021 | |||
| 4 | EX_OLDCOSLA | Call by reference | Type reference (TYPE) | COSLATAB | COSLA | 19991021 | |||
| 5 | EX_OLDCOSPA | Call by reference | Type reference (TYPE) | COSPATAB | COSPA | 19991021 | |||
| 6 | EX_OLDCOSSA | Call by reference | Type reference (TYPE) | COSSATAB | COSSA | 19991021 |
Method RETURN_DATA on class CL_CK_CO_OBJECT has no exception.
Method RETURN_DELTAS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_COEJA | Call by reference | Type reference (TYPE) | COEJATAB | Deltas | 19991201 |
Method RETURN_DELTAS on class CL_CK_CO_OBJECT has no exception.
Method SWITCH_EVENT_HANDLER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECT_NUMBER_NEW | Call by reference | Type reference (TYPE) | 19991022 | |||||
| 2 | OBJECT_NUMBER_OLD | Call by reference | Type reference (TYPE) | 19991022 | |||||
| 3 | SENDER | Call by reference | Type reference (TYPE) | 19991022 |
Method SWITCH_EVENT_HANDLER on class CL_CK_CO_OBJECT has no exception.
Method SWITCH_OBJNR_INTERN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJNR_NEW | Call by reference | Type reference (TYPE) | COSPA-OBJNR | Objektnummer | 19991021 | |||
| 2 | SWITCH_TAB | Call by reference | Type reference (TYPE) | RK70_OBJ_TAB | Switch Tabelle | 19991021 |
Method SWITCH_OBJNR_INTERN on class CL_CK_CO_OBJECT has no exception.
Method SWITCH_TO_PERMANENT_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_OBJECT_NUMBER | Call by reference | Type reference (TYPE) | ONR00-OBJNR | Permanente Objektnummer | 19991021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Objekt hat bereits eine nichttemporaere Nummer | 19991022 | ||
| 2 | Uebergebene Objektnummer ist temporaer | 19991022 |
Method UPDATE_ON_DB Signature
Method UPDATE_ON_DB on class CL_CK_CO_OBJECT has no parameter.
Method UPDATE_ON_DB on class CL_CK_CO_OBJECT has no exception.
Event Signatures
Event OBJECT_NUMBER_SWITCHED Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECT_NUMBER_NEW | Exporting | Value transfer | Type reference (TYPE) | ONR00-OBJNR | Objektnummer neu | 19991021 | ||
| 2 | OBJECT_NUMBER_OLD | Exporting | Value transfer | Type reference (TYPE) | ONR00-OBJNR | Objektnummer alt | 19991021 |
History
| Last changed by/on | SAP | 19991013 |
| SAP Release Created in | 46C |