SAP ABAP Class CL_COSTING_SERVICES (PCP Service Routines)
Hierarchy
☛
SAP_FIN (Software Component) SAP_FIN
⤷ CO-PC-PCP (Application Component) Product Cost Planning
⤷ CKBK (Package) R/3 Application Development: PP Costing Valuation
⤷ CO-PC-PCP (Application Component) Product Cost Planning
⤷ CKBK (Package) R/3 Application Development: PP Costing Valuation
Properties
Class | CL_COSTING_SERVICES | |
Short Description | PCP Service Routines | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | CKBK | R/3 Application Development: PP Costing Valuation |
Created | 19980921 | SAP |
Last change | 19991123 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | CK | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | CKBK | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
3 | CKC | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
4 | TYPPS | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_COSTING_SERVICES has no interface implemented.
Friends
Class CL_COSTING_SERVICES has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | SPECIAL_CURRENY_TYPES | Static Attribute | Private | Type reference (TYPE) | CKBK_CURRTP_PLANT_TABLE | Object, Co. Code and CO Area Currency Types and Keys | 19981104 | ||
2 | VALID_CURRENCIES | Static Attribute | Private | Type reference (TYPE) | TY_CURRENCY_TABLE | Valid Currencies for Company Code | 19990730 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CHECK_UPDATE_COMPONENTS | Static method | Public | Method | Insert or Change Costing Item | 20000403 |
2 | COMPLETE_COSTING_KEY | Static method | Public | Method | Completes Costing Key (Unit Costing) | 19991130 |
3 | GET_CE_HIERARCHY_INT | Static method | Private | Method | Expand Costing Hierarchy Top -> Down | 20000129 |
4 | GET_COST_ESTIMATE_HIERARCHY | Static method | Public | Method | Expand Costing Hierarchy Top -> Down | 20000129 |
5 | GET_CURRENCY_TYPES_OF_COMPANY | Static method | Public | Method | Object, Co. Code and Co. Area Currencies and Currency Types | 20000119 |
6 | GET_CURRENCY_TYPES_OF_PLANT | Static method | Public | Method | Object, Co. Code and Co. Area Currencies and Currency Types | 19981104 |
7 | GET_ORGANIZATION | Static method | Public | Method | Determine Organizational Data | 19980921 |
8 | GET_QUANTITY_CONVERSION_FACTOR | Static method | Public | Method | Provides Conversion Factors for Quantity Conversion | 19981029 |
9 | GET_VALID_CURRENCIES | Static method | Public | Method | Determine Possible Currency Types | 19981016 |
10 | GET_VALUATION_GROUPING_CODE | Static method | Public | Method | Supplies valuation modification constant to a plant | 19990831 |
11 | GET_VALUATION_STRATEGIES | Static method | Public | Method | Valuation Strategies for the Item Category | 19991123 |
12 | GET_VALUATION_STRATEGIES_IAA | Static method | Public | Method | Valuation Strategy of Internal Activity Allocation | 19981019 |
13 | UPDATE_COMPONENTS | Static method | Public | Method | Insert or Change Costing Item | 20000403 |
Events
Class CL_COSTING_SERVICES has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_CURRENCY_LINE | Private | See coding | TY_CURRENCY_LINE | 19990730 |
|
|
2 | TY_CURRENCY_TABLE | Private | See coding | Buffer Table for Currencies of Company Code | 19990730 |
|
Method Signatures
Method CHECK_UPDATE_COMPONENTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_DELETE_SUB_HIERARCHY | Value transfer | Type reference (TYPE) | XFLAG | Subhierarchie wird nicht mehr verwendet | 20000405 | ||
2 | Exporting | EX_INDEFINITE_POSITIONS | Value transfer | Type reference (TYPE) | XFLAG | Einfuegen nicht eindeutig moeglich | 20000403 | ||
3 | Exporting | EX_INDEFINITE_SUB_HIERARCHY | Value transfer | Type reference (TYPE) | XFLAG | Beim Einfuegen wuerde Subhierarchie geloescht | 20000403 | ||
4 | Importing | IR_COST_ESTIMATE | Call by reference | Object reference (TYPE REF TO) | CL_COST_ESTIMATE | PCP Plankalkulation | 20000403 | ||
5 | Importing | IT_COMPONENT | Call by reference | Type reference (TYPE) | CKF_COMPONENT_TABLE | PCP: Table with valuation objects | 20000403 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INTERNAL_ERROR | Programmfehler. Nie abfangen! | 20000404 |
Method COMPLETE_COSTING_KEY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_KEKOKEY | Call by reference | Type reference (TYPE) | CKKEKOKEY | Bezugsobjekt | 19991130 | ||
2 | Importing | I_COSTING_NUMBER | Call by reference | Type reference (TYPE) | CK_KALNR | Kalkulationsnummer für Kalkulation ohne Mengengerüst | 19991130 | ||
3 | Importing | I_COSTING_VARIANT | Call by reference | Type reference (TYPE) | CK_KLVAR | Kalkulationsvariante | 19991130 | ||
4 | Importing | I_COSTING_VERSION | Call by reference | Type reference (TYPE) | CK_TVERS | 01 | Kalkulationsversion | 19991130 | |
5 | Importing | I_REF_OBJECT | Call by reference | Type reference (TYPE) | CK_OBJ | Bezugsobjekt | 19991130 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | COSTING_VARIANT_NOT_FOUND | Kalkulationsvariante nicht vorhanden | 19991130 | |
2 | INCONSISTENT_CUSTOMIZING | Inkonsistentes Customizing | 19991130 | |
3 | REF_OBJECT_NOT_VALID | Bezugsobjekt nicht unterstützt | 19991130 |
Method GET_CE_HIERARCHY_INT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_COST_ESTIMATE | Call by reference | Type reference (TYPE) | CKF_T_COST_ESTIMATE_LEVEL | Kalkulationsstufen der Kalkulationen | 20000129 | ||
2 | Importing | IR_COST_ESTIMATE | Call by reference | Object reference (TYPE REF TO) | CL_COST_ESTIMATE | PCP Plankalkulation | 20000129 | ||
3 | Importing | I_LEVEL | Call by reference | Type reference (TYPE) | CK_KALST | Kalkulationsstufe | 20000129 |
Method GET_CE_HIERARCHY_INT on class CL_COSTING_SERVICES has no exception.
Method GET_COST_ESTIMATE_HIERARCHY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_COST_ESTIMATE_LEVEL | Call by reference | Type reference (TYPE) | CKF_T_COST_ESTIMATE_LEVEL | Kalkulationsstufen der Kalkulationen | 20000129 | ||
2 | Exporting | E_LEVEL | Call by reference | Type reference (TYPE) | CK_KALST | Kalkulationsstufe | 20000129 | ||
3 | Importing | IR_COST_ESTIMATE | Call by reference | Object reference (TYPE REF TO) | CL_COST_ESTIMATE | PCP Plankalkulation | 20000129 |
Method GET_COST_ESTIMATE_HIERARCHY on class CL_COSTING_SERVICES has no exception.
Method GET_CURRENCY_TYPES_OF_COMPANY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_COMPANY_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | Buchungskreiswährung | 20000119 | ||
2 | Exporting | EX_COMPANY_CURRENCY_TYPE | Call by reference | Type reference (TYPE) | TCVAL-CURRTYP | Buchungskreiswährungstyp | 20000119 | ||
3 | Exporting | EX_CO_AREA_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | Kostenrechnungskreiswährung | 20000119 | ||
4 | Exporting | EX_CO_AREA_CURRENCY_TYPE | Call by reference | Type reference (TYPE) | TCVAL-CURRTYP | Kostenrechnungskreiswährungstyp | 20000119 | ||
5 | Exporting | EX_OBJECT_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | Objektwährung | 20000119 | ||
6 | Exporting | EX_OBJECT_CURRENCY_TYPE | Call by reference | Type reference (TYPE) | TCVAL-CURRTYP | Objektwährungstyp | 20000119 | ||
7 | Importing | IM_COMPANY_CODE | Call by reference | Type reference (TYPE) | KEKO-WERKS | Buchungskreis | 20000119 | ||
8 | Importing | IM_VALUATION | Call by reference | Type reference (TYPE) | TCK01-VALUATION | '0' | Valuation view | 20000119 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | COMPANY_CODE_INVALID | Buchungskreisdaten nicht gefunden | 20000119 |
Method GET_CURRENCY_TYPES_OF_PLANT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_COMPANY_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | Buchungskreiswährung | 19990623 | ||
2 | Exporting | EX_COMPANY_CURRENCY_TYPE | Call by reference | Type reference (TYPE) | TCVAL-CURRTYP | Buchungskreiswährungstyp | 19990623 | ||
3 | Exporting | EX_CO_AREA_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | Kostenrechnungskreiswährung | 19990623 | ||
4 | Exporting | EX_CO_AREA_CURRENCY_TYPE | Call by reference | Type reference (TYPE) | TCVAL-CURRTYP | Kostenrechnungskreiswährungstyp | 19981104 | ||
5 | Exporting | EX_OBJECT_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | Objektwährung | 19990623 | ||
6 | Exporting | EX_OBJECT_CURRENCY_TYPE | Call by reference | Type reference (TYPE) | TCVAL-CURRTYP | Objektwährungstyp | 19981104 | ||
7 | Importing | IM_PLANT | Call by reference | Type reference (TYPE) | KEKO-WERKS | Werk | 19981104 | ||
8 | Importing | IM_VALUATION | Call by reference | Type reference (TYPE) | TCK01-VALUATION | '0' | Valuation view | 19981104 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FAILED | Waehrungen konnten nicht ermittelt werden | 20000417 | |
2 | PLANT_INVALID | Werksdaten nicht gefunden | 19981104 |
Method GET_ORGANIZATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_DUMMY_PROFIT_CENTER | Call by reference | Type reference (TYPE) | CKIS-PRCTR | Dummy Profit Center | 19981202 | ||
2 | Exporting | EX_ORGANIZATION | Call by reference | Type reference (TYPE) | CKBK_ORGANIZATION | Organizational data | 19980921 | ||
3 | Importing | IM_COMPANY | Call by reference | Type reference (TYPE) | CKIS-BUKRS | Buchungskreis | 19990301 | ||
4 | Importing | IM_CONTROLLING_AREA | Call by reference | Type reference (TYPE) | CKIS-KOKRS_HRK | Kostenrechnungskreis | 19990302 | ||
5 | Importing | IM_MATERIAL_NUMBER | Call by reference | Type reference (TYPE) | CKIS-MATNR | Materialnummer (obligatorisch fuer PrCtr/GsBer-Bestimmung) | 19980921 | ||
6 | Importing | IM_PLANT | Call by reference | Type reference (TYPE) | CKIS-WERKS | Werk | 19980921 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | COMPANY_CODE_INVALID | Buchungskreis fehlt oder ist fehlerhaft | 19990301 | |
2 | CONTROLLING_AREA_INVALID | Kostenrechnungskreis fehlt oder ist fehlerhaft | 19990302 | |
3 | PLANT_MATERIAL_INVALID | Importparameterkombination Material/Werk nicht korrekt | 19980923 |
Method GET_QUANTITY_CONVERSION_FACTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_FRACTION | Call by reference | Type reference (TYPE) | CKBK_FRACTION | Für die Umrechnung verwendeter Faktor (Nenner und Zähler) | 19981029 | ||
2 | Exporting | EX_QUANTITY_TO | Call by reference | Type reference (TYPE) | CKBK_QUANTITY | Menge und Einheit in die umgerechnet wurde | 19981029 | ||
3 | Importing | IM_BATCH | Value transfer | Type reference (TYPE) | CHARG_D | Charge | 19981029 | ||
4 | Importing | IM_MATNR | Value transfer | Type reference (TYPE) | MATNR | Materialnummer | 19981029 | ||
5 | Importing | IM_QUANTITY_FROM | Value transfer | Type reference (TYPE) | CKBK_QUANTITY | Menge und Einheit von der umgerechnet werden soll | 19981029 | ||
6 | Importing | IM_UNIT_OF_MEASURE_TO | Value transfer | Type reference (TYPE) | MEINS | Einheit in die umgerechnet werden soll | 19981029 | ||
7 | Importing | IM_WERKS | Value transfer | Type reference (TYPE) | CKIS-WERKS | Werk | 19981029 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CONVERSION_NOT_FOUND | Umrechnungsfaktoren. | 19981029 | |
2 | MATERIAL_INVALID | Material nicht vorhanden | 19981029 | |
3 | NOT_QUALIFIED | Parameter fehlen | 19981029 | |
4 | OVERFLOW | Überlauf | 19981029 |
Method GET_VALID_CURRENCIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_CURRENCIES | Call by reference | Type reference (TYPE) | CKBK_CURRENCY_TABLE | Currency table | 19981016 | ||
2 | Importing | IM_COMPANY | Call by reference | Type reference (TYPE) | CKIS-BUKRS | Buchungskreis | 19981016 | ||
3 | Importing | IM_VALUATION | Call by reference | Type reference (TYPE) | TCK01-VALUATION | Bewertunsssicht | 19981016 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | COMPANY_INVALID | Buchungskreis nicht vorhanden | 19981016 |
Method GET_VALUATION_GROUPING_CODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_VALUATION_GROUPING_CODE | Call by reference | Type reference (TYPE) | BWMOD | Bewertungsmodifikationskonstante | 19990831 | ||
2 | Importing | IM_PLANT | Call by reference | Type reference (TYPE) | CKIS-WERKS | Werk | 19990831 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INTERNAL_ERROR | interner Fehler | 19990831 | |
2 | PLANT_INVALID | Werk nicht vorhanden | 19990831 |
Method GET_VALUATION_STRATEGIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_STRATEGIES | Call by reference | Type reference (TYPE) | CKF_STRATEGY_TABLE | Bewertungsstrategiefolge allgemein | 19991123 | ||
2 | Importing | IM_REQUESTED_ITEM_CATEGORY | Value transfer | Type reference (TYPE) | TYPPS | Positionstyp | 19991123 | ||
3 | Importing | IM_VALUATION_VARIANT | Call by reference | Type reference (TYPE) | TCK05 | Bewertungsvarinate | 19991123 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_STRATEGY_FOUND | Keine Strategie gefunden | 19991123 |
Method GET_VALUATION_STRATEGIES_IAA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_CO_VERSION | Call by reference | Type reference (TYPE) | TCK05-VERSN | Version | 20030509 | ||
2 | Exporting | EX_STRATEGIES | Call by reference | Type reference (TYPE) | POLICY_LIST | Strategiefolgentabelle | 19981019 | ||
3 | Importing | IM_COSTING_VARIANT | Call by reference | Type reference (TYPE) | TCK03-KLVAR | Kalkulationsvarinate | 19981019 | ||
4 | Importing | IM_PLANT | Call by reference | Type reference (TYPE) | CKIS-WERKS | Werk | 19981019 | ||
5 | Importing | IM_STRATEGIES | Call by reference | Type reference (TYPE) | CKINTERNALACTIVITYSTRAT | Strategiefolge aus Variante | 19981023 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | COSTING_VARIANT_INVALID | Kalkulationsvariante ist nicht vorhanden | 19981019 | |
2 | NO_STRATEGY_FOUND | Keine Strategie gefunden | 19981019 |
Method UPDATE_COMPONENTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IR_COST_ESTIMATE | Call by reference | Object reference (TYPE REF TO) | CL_COST_ESTIMATE | PCP Plankalkulation | 20000403 | ||
2 | Importing | IT_COMPONENT | Call by reference | Type reference (TYPE) | CKF_COMPONENT_TABLE | PCP: Table with valuation objects | 20000403 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INTERNAL_ERROR | Programmfehler. Nie abfangen! | 20000404 |
History
Last changed by/on | SAP | 19991123 |
SAP Release Created in |