SAP ABAP Class CL_WRAP_MATERIAL_CK (PCP Wrapper Class Material Master)
Hierarchy
☛
SAP_FIN (Software Component) SAP_FIN
⤷
CO-PC-PCP (Application Component) Product Cost Planning
⤷
CKBK (Package) R/3 Application Development: PP Costing Valuation
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CO_OBJECT_REFERENCE | PCP: Interface with Methods for CO Object | 19991021 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_OBJECT_OF_COSTING | PCP: Interface Required for (Cost Estimate) Reference Object | 19991019 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_TEMPLATE_REFERENCE_CK | PCP: Interface for Template Needed from Reference Object | 19991126 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_COA_WRAP_MATERIAL_CK | Class with Deactivated Overhead | 20001027 |
Properties
| Class | CL_WRAP_MATERIAL_CK | |
| Short Description | PCP Wrapper Class Material Master | |
| 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 | 19990302 | SAP |
| Last change | 20130531 | 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) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 5 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_CO_OBJECT_REFERENCE | PCP: Interface with Methods for CO Object | 19991021 | ||
| 2 | IF_OBJECT_OF_COSTING | PCP: Interface Required for (Cost Estimate) Reference Object | 19991019 | ||
| 3 | IF_TEMPLATE_REFERENCE_CK | PCP: Interface for Template Needed from Reference Object | 19991126 |
Friends
Class CL_WRAP_MATERIAL_CK has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | WAERS | Company Code Currency | 19990623 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | TCVAL-CURRTYP | Currency Type of Company Code Currency | 19990623 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | MACK3 | Costing View of Material Without Prices | 19990611 | |||
| 4 | Static Attribute | Public | Type reference (TYPE) | CKF_PREFETCHED_MATERIALS | All Materials for which a Preread Carried Out | 20000331 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | CKBK_WRAP_MATERIAL_RESOURCE | Resource Terms of Material | 19991007 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | CKF_SALES_DOCUMENT_ID | Possible Sales Order + Item | 19990302 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | CKF_VALUATION_VIEW_TABLE | Valuation Views for Material | 19990617 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | PS_PSP_PNR | WBS Element | 19990302 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor | 19990302 | |
| 2 | Static method | Public | Method | Determines Account for Material Movement | 19990826 | |
| 3 | Instance method | Public | Method | 19991019 | ||
| 4 | Instance method | Public | Method | Read Cost Estimate Number | 19990618 | |
| 5 | Instance method | Public | Method | Quota Arrangement Usage | 19990302 | |
| 6 | Instance method | Public | Method | Read Material Short Text | 19991221 | |
| 7 | Instance method | Public | Method | Transfers Pointer to Valuation Segment | 19990610 | |
| 8 | Instance method | Private | Method | Sets Valuation Segment to Currency Type "10" from MBEW | 19990624 | |
| 9 | Static method | Public | Method | Writes Material Master Data from the Database to the Buffer | 20000331 | |
| 10 | Static method | Public | Method | 19990302 | ||
| 11 | Static method | Public | Method | Searches for Purchasing Info Record | 19990302 | |
| 12 | Instance method | Public | Method | Transfer Attribute from Itemization Line | 19990413 | |
| 13 | Instance method | Private | Method | Reads Parts of Material Master from Database | 19990819 | |
| 14 | Instance method | Public | Method | Sets Sales Order Number | 19990908 | |
| 15 | Instance method | Private | Method | Creates Table of Valuation Segments | 19990624 | |
| 16 | Instance method | Private | Method | Sets Valuation Segment to Currency Type "10" from MBEW | 19990624 | |
| 17 | Instance method | Private | Method | Sets Valuation Segment from ML Data | 19990624 | |
| 18 | Instance method | Public | Method | Sets WBS Element Number | 19991208 |
Events
Class CL_WRAP_MATERIAL_CK has no event.
Types
Class CL_WRAP_MATERIAL_CK has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_BATCH | Call by reference | Type reference (TYPE) | CKKALKTAB-CHARG | Charge | 19990611 | |||
| 2 | IM_MATERIAL_NUMBER | Call by reference | Type reference (TYPE) | CKIS-MATNR | Materialnummer | 19990302 | |||
| 3 | IM_PLANT | Call by reference | Type reference (TYPE) | CKIS-WERKS | Werk | 19990302 | |||
| 4 | IM_VALUATION_TYPE | Call by reference | Type reference (TYPE) | CKIS-BWTAR | Bewertungsart | 19990329 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameterkombination ungueltig | 19991007 |
Method GET_ACCOUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_ACCOUNT | Call by reference | Type reference (TYPE) | SAKNR | Konto | 19990826 | |||
| 2 | EX_KOMOK | Call by reference | Type reference (TYPE) | KOMOK | Kontomodifikationskonstante | 19990826 | |||
| 3 | IM_ACCOUNT_ASSIGNMENT_CATEGORY | Call by reference | Type reference (TYPE) | KNTTP | space | Kontierungstyp | 19990826 | ||
| 4 | IM_CHART_OF_ACCOUNTS | Call by reference | Type reference (TYPE) | KTOPL | Kontenplan | 19990826 | |||
| 5 | IM_COMPANY | Call by reference | Type reference (TYPE) | BUKRS | Buchungskreis | 19990907 | |||
| 6 | IM_CONSUMPTION_POSTING | Call by reference | Type reference (TYPE) | KZVBR | space | Verbrauchsbuchung | 19990826 | ||
| 7 | IM_CONTROLLING_AREA | Call by reference | Type reference (TYPE) | KOKRS | Kostenrechnungskreis | 19990907 | |||
| 8 | IM_DATE | Call by reference | Type reference (TYPE) | CK_BWDAT | Gültigkeitsdatum | 19990907 | |||
| 9 | IM_DEBITS_CREDITS_INDICATOR | Call by reference | Type reference (TYPE) | SHKZG | 'S' | Soll-/Haben-Kennzeichen | 19990826 | ||
| 10 | IM_DELIVERY_FROM_VAL_STOCK | Call by reference | Type reference (TYPE) | CK_DELIVERY_FROM_VAL_STOCK | space | Materialentnahme vom bew. Bestand für SD-Lieferung | 19990826 | ||
| 11 | IM_GOODS_RECEIPT | Call by reference | Type reference (TYPE) | CK_GOODS_RECEIPT | space | Wareneingang | 19990826 | ||
| 12 | IM_MATERIAL | Call by reference | Object reference (TYPE REF TO) | CL_WRAP_MATERIAL_CK | Materialobjekt | 19991008 | |||
| 13 | IM_MOVEMENT_TYPE | Call by reference | Type reference (TYPE) | BWART | '261' | Bewegungsart | 19990826 | ||
| 14 | IM_PLANT | Call by reference | Type reference (TYPE) | CKIS-WERKS | Werk | 19991008 | |||
| 15 | IM_SD_ACCOUNTED | Call by reference | Type reference (TYPE) | CK_SD_ACCOUNTED | space | Verbrauchsbuchung wird auf Kundenautrag kontiert | 19990826 | ||
| 16 | IM_SPECIAL_STOCK | Call by reference | Type reference (TYPE) | CKF_SPECIAL_STOCK_DATA | Sonderbeschaffungsinformationen | 19990826 | |||
| 17 | IM_TRANSACTION_KEY | Call by reference | Type reference (TYPE) | KTOSL | 'GBB' | Vorgangsschlüssel | 19990826 | ||
| 18 | IM_VALUATION_GROUPING_CODE | Call by reference | Type reference (TYPE) | BWMOD | Bewertungsmodifikationskonstante | 19990826 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konto konnte nicht gefunden werden | 19990826 | ||
| 2 | Konto zum angegebenen Zeitpunkt nicht gültig | 19990907 | ||
| 3 | interner Fehler | 19990826 |
Method GET_COSTING_NUMBER Signature
Method GET_COSTING_NUMBER on class CL_WRAP_MATERIAL_CK has no parameter.
Method GET_COSTING_NUMBER on class CL_WRAP_MATERIAL_CK has no exception.
Method GET_COSTING_NUMBERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_FIRST_ATTEMPT | Call by reference | Type reference (TYPE) | CK_KALNR1 | Kalkulationsnummer (Versuch 1 bei Übernahme) | 19990618 | |||
| 2 | EX_KALN1 | Call by reference | Type reference (TYPE) | CK_KALNR1 | Kalkulationsnummer fuer interne Zuordnungen (kanz) | 19990823 | |||
| 3 | EX_SECOND_ATTEMPT | Call by reference | Type reference (TYPE) | CK_KALNR | Kalkulationsnummer (Versuch 2 bei Übernahme) | 19990618 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kalkulationsnummer nicht ermittelt | 19990618 |
Method GET_QUOTA_ARRANGEMENT_USAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_QUOTA_ARRANGEMENT_USAGE | Call by reference | Type reference (TYPE) | MACK2-USEQU | Quotierungsverwendung | 19990623 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Methode konnte nicht ausgeführt werden | 19990623 |
Method GET_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_TEXT | Call by reference | Type reference (TYPE) | MAKTX | Materialkurztext | 19991221 |
Method GET_TEXT on class CL_WRAP_MATERIAL_CK has no exception.
Method GET_VALUATION_VIEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUATION_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_VALUATION_VIEW_CK | Bewertungssegment | 19990610 | |||
| 2 | IM_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | Währungsschlüssel | 19990624 | |||
| 3 | IM_CURRENCY_TYPE | Call by reference | Type reference (TYPE) | TCVAL-CURRTYP | Währungstyp | 19990624 | |||
| 4 | IM_SPECIAL_STOCK | Call by reference | Type reference (TYPE) | CKF_SPECIAL_STOCK_DATA | Sonderbestandsinformationen | 19990610 | |||
| 5 | IM_VALUATION | Call by reference | Type reference (TYPE) | TCK01-VALUATION | '0' | Bewertungssicht | 19990611 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | interner Fehler | 19990623 | ||
| 2 | Bewertungssegment nicht vorhanden | 19990610 | ||
| 3 | 20050906 |
Method GET_VALUATION_VIEW_FROM_MBEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUATION_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_VALUATION_VIEW_CK | Bewertungssegment der MBEW | 19990624 | |||
| 2 | IM_SPECIAL_STOCK | Call by reference | Type reference (TYPE) | CKF_SPECIAL_STOCK_DATA | Sonderbestandskennzeichen | 19990824 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | interner Fehler | 19990624 | ||
| 2 | Bewertungssegment nicht vorhanden | 19990624 | ||
| 3 | Bewertungssegment zum Einzelbestand nicht vorhanden | 20000229 |
Method PREFETCH_WITH_KALN1 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COSTING_NUMBERS | Call by reference | Type reference (TYPE) | CKML_T_INKALNR | Tabelle von KALN1-Einträgen | 20000331 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20000331 | ||
| 2 | Prefetch nicht unterstützt -> Programmerweiterung notwendig | 20000331 |
Method READ_ACCOUNT_ASSIGNMENT_CAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_CONSUMPTION_POSTING | Call by reference | Type reference (TYPE) | T163K-KZVBR | 19990302 | ||||
| 2 | EX_SPECIAL_STOCK_INDICATOR | Call by reference | Type reference (TYPE) | T163K-SOBKZ | 19990302 | ||||
| 3 | IM_ACCOUNT_ASSIGNMENT_CATEGORY | Call by reference | Type reference (TYPE) | T163K-KNTTP | 19990302 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 19990302 |
Method SEARCH_INFO_RECORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_INFO_RECORD | Call by reference | Type reference (TYPE) | CKBK_INFO_RECORD | Einkaufsinfosatz | 19991229 | |||
| 2 | IM_ACTUAL_QUOTA_ARRANGEMENT | Call by reference | Type reference (TYPE) | C1 | 19990302 | ||||
| 3 | IM_CATEGORY | Call by reference | Type reference (TYPE) | PSTYP | 19990302 | ||||
| 4 | IM_MATERIAL_NUMBER | Call by reference | Type reference (TYPE) | CKIS-MATNR | 19990302 | ||||
| 5 | IM_PLANT | Call by reference | Type reference (TYPE) | CKIS-WERKS | 19990302 | ||||
| 6 | IM_PRICING_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | 19990302 | ||||
| 7 | IM_QUANTITY | Call by reference | Type reference (TYPE) | CKBK_QUANTITY | 19990302 | ||||
| 8 | IM_QUOTA_ARRANGEMENT_USAGE | Call by reference | Type reference (TYPE) | C1 | 19990302 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 19990302 |
Method SET_ATTRIBUTES_FROM_KIS1 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_KIS1 | Call by reference | Type reference (TYPE) | KIS1 | Einzelnachweiszeile | 19990413 |
Method SET_ATTRIBUTES_FROM_KIS1 on class CL_WRAP_MATERIAL_CK has no exception.
Method SET_ATTRIBUTE_MACK3 Signature
Method SET_ATTRIBUTE_MACK3 on class CL_WRAP_MATERIAL_CK has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Material und Werk sind ungueltig | 19991007 |
Method SET_SALES_DOCUMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_SALES_DOCUMENT | Call by reference | Type reference (TYPE) | CKF_SALES_DOCUMENT_ID | Vertriebsbeleg + Position | 19990908 |
Method SET_SALES_DOCUMENT on class CL_WRAP_MATERIAL_CK has no exception.
Method SET_VALUATION_VIEWS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_SPECIAL_STOCK | Call by reference | Type reference (TYPE) | CKF_SPECIAL_STOCK_DATA | Sonderbestandskennzeichen | 19990624 | |||
| 2 | IM_VALUATION | Call by reference | Type reference (TYPE) | TCK01-VALUATION | '0' | Bewertungssicht | 19990624 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | interner Fehler | 19990624 | ||
| 2 | Bewertungssegment nicht vorhanden | 19990624 | ||
| 3 | Bewertungssegment zum Einzelbestand nicht vorhanden | 20000229 |
Method SET_VALUATION_VIEW_FROM_MBEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_SPECIAL_STOCK | Call by reference | Type reference (TYPE) | CKF_SPECIAL_STOCK_DATA | Sonderbestand | 19990624 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 19990624 | ||
| 2 | Bewertungssegment nicht vorhanden | 19990624 | ||
| 3 | Bewertungssegment zum Einzelbestand nicht vorhanden | 20001017 |
Method SET_VALUATION_VIEW_FROM_ML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PERIOD | Call by reference | Type reference (TYPE) | MBEW-LFMON | Periode | 19990624 | |||
| 2 | IM_SPECIAL_STOCK | Call by reference | Type reference (TYPE) | CKF_SPECIAL_STOCK_DATA | Sonderbestand | 19990624 | |||
| 3 | IM_VALUATION | Call by reference | Type reference (TYPE) | TCK01-VALUATION | Bewertungssicht | 19990624 | |||
| 4 | IM_YEAR | Call by reference | Type reference (TYPE) | MBEW-LFGJA | Geschäftsjahr | 19990624 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 19990624 | ||
| 2 | Bewertungssegment nicht vorhanden | 19990624 | ||
| 3 | Bewertungssegment zum Einzelbestand nicht vorhanden | 20000229 |
Method SET_WBS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_WBS | Call by reference | Type reference (TYPE) | WB_POSNR | Projektstrukturplanelement (PSP-Element) | 19991208 |
Method SET_WBS on class CL_WRAP_MATERIAL_CK has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |