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 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)
3 CKBK Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 CKC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 CKML 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 COMPANY_CURRENCY Instance attribute Public Type reference (TYPE) WAERS Company Code Currency 19990623
2 COMPANY_CURRENCY_TYPE Instance attribute Public Type reference (TYPE) TCVAL-CURRTYP Currency Type of Company Code Currency 19990623
3 MACK3 Instance attribute Public Type reference (TYPE) MACK3 Costing View of Material Without Prices 19990611
4 PREFETCHED_MATERIALS Static Attribute Public Type reference (TYPE) CKF_PREFETCHED_MATERIALS All Materials for which a Preread Carried Out 20000331
5 RESOURCE Instance attribute Public Type reference (TYPE) CKBK_WRAP_MATERIAL_RESOURCE Resource Terms of Material 19991007
6 SALES_DOCUMENT Instance attribute Private Type reference (TYPE) CKF_SALES_DOCUMENT_ID Possible Sales Order + Item 19990302
7 VALUATION_VIEWS Instance attribute Private Type reference (TYPE) CKF_VALUATION_VIEW_TABLE Valuation Views for Material 19990617
8 WORK_BREAKDOWN_STRUCTURE Instance attribute Private Type reference (TYPE) PS_PSP_PNR WBS Element 19990302
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 19990302
2 GET_ACCOUNT Static method Public Method Determines Account for Material Movement 19990826
3 GET_COSTING_NUMBER Instance method Public Method 19991019
4 GET_COSTING_NUMBERS Instance method Public Method Read Cost Estimate Number 19990618
5 GET_QUOTA_ARRANGEMENT_USAGE Instance method Public Method Quota Arrangement Usage 19990302
6 GET_TEXT Instance method Public Method Read Material Short Text 19991221
7 GET_VALUATION_VIEW Instance method Public Method Transfers Pointer to Valuation Segment 19990610
8 GET_VALUATION_VIEW_FROM_MBEW Instance method Private Method Sets Valuation Segment to Currency Type "10" from MBEW 19990624
9 PREFETCH_WITH_KALN1 Static method Public Method Writes Material Master Data from the Database to the Buffer 20000331
10 READ_ACCOUNT_ASSIGNMENT_CAT Static method Public Method 19990302
11 SEARCH_INFO_RECORD Static method Public Method Searches for Purchasing Info Record 19990302
12 SET_ATTRIBUTES_FROM_KIS1 Instance method Public Method Transfer Attribute from Itemization Line 19990413
13 SET_ATTRIBUTE_MACK3 Instance method Private Method Reads Parts of Material Master from Database 19990819
14 SET_SALES_DOCUMENT Instance method Public Method Sets Sales Order Number 19990908
15 SET_VALUATION_VIEWS Instance method Private Method Creates Table of Valuation Segments 19990624
16 SET_VALUATION_VIEW_FROM_MBEW Instance method Private Method Sets Valuation Segment to Currency Type "10" from MBEW 19990624
17 SET_VALUATION_VIEW_FROM_ML Instance method Private Method Sets Valuation Segment from ML Data 19990624
18 SET_WBS 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 Importing IM_BATCH Call by reference Type reference (TYPE) CKKALKTAB-CHARG Charge 19990611
2 Importing IM_MATERIAL_NUMBER Call by reference Type reference (TYPE) CKIS-MATNR Materialnummer 19990302
3 Importing IM_PLANT Call by reference Type reference (TYPE) CKIS-WERKS Werk 19990302
4 Importing IM_VALUATION_TYPE Call by reference Type reference (TYPE) CKIS-BWTAR Bewertungsart 19990329
# Exception Resumable Description Created on
1 FAILED Parameterkombination ungueltig 19991007

Method GET_ACCOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_ACCOUNT Call by reference Type reference (TYPE) SAKNR Konto 19990826
2 Exporting EX_KOMOK Call by reference Type reference (TYPE) KOMOK Kontomodifikationskonstante 19990826
3 Importing IM_ACCOUNT_ASSIGNMENT_CATEGORY Call by reference Type reference (TYPE) KNTTP space Kontierungstyp 19990826
4 Importing IM_CHART_OF_ACCOUNTS Call by reference Type reference (TYPE) KTOPL Kontenplan 19990826
5 Importing IM_COMPANY Call by reference Type reference (TYPE) BUKRS Buchungskreis 19990907
6 Importing IM_CONSUMPTION_POSTING Call by reference Type reference (TYPE) KZVBR space Verbrauchsbuchung 19990826
7 Importing IM_CONTROLLING_AREA Call by reference Type reference (TYPE) KOKRS Kostenrechnungskreis 19990907
8 Importing IM_DATE Call by reference Type reference (TYPE) CK_BWDAT Gültigkeitsdatum 19990907
9 Importing IM_DEBITS_CREDITS_INDICATOR Call by reference Type reference (TYPE) SHKZG 'S' Soll-/Haben-Kennzeichen 19990826
10 Importing 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 Importing IM_GOODS_RECEIPT Call by reference Type reference (TYPE) CK_GOODS_RECEIPT space Wareneingang 19990826
12 Importing IM_MATERIAL Call by reference Object reference (TYPE REF TO) CL_WRAP_MATERIAL_CK Materialobjekt 19991008
13 Importing IM_MOVEMENT_TYPE Call by reference Type reference (TYPE) BWART '261' Bewegungsart 19990826
14 Importing IM_PLANT Call by reference Type reference (TYPE) CKIS-WERKS Werk 19991008
15 Importing IM_SD_ACCOUNTED Call by reference Type reference (TYPE) CK_SD_ACCOUNTED space Verbrauchsbuchung wird auf Kundenautrag kontiert 19990826
16 Importing IM_SPECIAL_STOCK Call by reference Type reference (TYPE) CKF_SPECIAL_STOCK_DATA Sonderbeschaffungsinformationen 19990826
17 Importing IM_TRANSACTION_KEY Call by reference Type reference (TYPE) KTOSL 'GBB' Vorgangsschlüssel 19990826
18 Importing IM_VALUATION_GROUPING_CODE Call by reference Type reference (TYPE) BWMOD Bewertungsmodifikationskonstante 19990826
# Exception Resumable Description Created on
1 ACCOUNT_NOT_FOUND Konto konnte nicht gefunden werden 19990826
2 ACCOUNT_NOT_VALID Konto zum angegebenen Zeitpunkt nicht gültig 19990907
3 INTERNAL_ERROR 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 Exporting EX_FIRST_ATTEMPT Call by reference Type reference (TYPE) CK_KALNR1 Kalkulationsnummer (Versuch 1 bei Übernahme) 19990618
2 Exporting EX_KALN1 Call by reference Type reference (TYPE) CK_KALNR1 Kalkulationsnummer fuer interne Zuordnungen (kanz) 19990823
3 Exporting EX_SECOND_ATTEMPT Call by reference Type reference (TYPE) CK_KALNR Kalkulationsnummer (Versuch 2 bei Übernahme) 19990618
# Exception Resumable Description Created on
1 NOT_FOUND 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 Exporting EX_QUOTA_ARRANGEMENT_USAGE Call by reference Type reference (TYPE) MACK2-USEQU Quotierungsverwendung 19990623
# Exception Resumable Description Created on
1 FAILED 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 Exporting 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 Exporting EX_VALUATION_VIEW Call by reference Object reference (TYPE REF TO) CL_VALUATION_VIEW_CK Bewertungssegment 19990610
2 Importing IM_CURRENCY Call by reference Type reference (TYPE) WAERS Währungsschlüssel 19990624
3 Importing IM_CURRENCY_TYPE Call by reference Type reference (TYPE) TCVAL-CURRTYP Währungstyp 19990624
4 Importing IM_SPECIAL_STOCK Call by reference Type reference (TYPE) CKF_SPECIAL_STOCK_DATA Sonderbestandsinformationen 19990610
5 Importing IM_VALUATION Call by reference Type reference (TYPE) TCK01-VALUATION '0' Bewertungssicht 19990611
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 19990623
2 NOT_FOUND Bewertungssegment nicht vorhanden 19990610
3 SPECIAL_STOCK_NOT_FOUND 20050906

Method GET_VALUATION_VIEW_FROM_MBEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_VALUATION_VIEW Call by reference Object reference (TYPE REF TO) CL_VALUATION_VIEW_CK Bewertungssegment der MBEW 19990624
2 Importing IM_SPECIAL_STOCK Call by reference Type reference (TYPE) CKF_SPECIAL_STOCK_DATA Sonderbestandskennzeichen 19990824
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 19990624
2 NOT_FOUND Bewertungssegment nicht vorhanden 19990624
3 SPECIAL_STOCK_NOT_FOUND 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 Importing COSTING_NUMBERS Call by reference Type reference (TYPE) CKML_T_INKALNR Tabelle von KALN1-Einträgen 20000331
# Exception Resumable Description Created on
1 INTERNAL_ERROR Interner Fehler 20000331
2 NOT_SUPPORTED 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 Exporting EX_CONSUMPTION_POSTING Call by reference Type reference (TYPE) T163K-KZVBR 19990302
2 Exporting EX_SPECIAL_STOCK_INDICATOR Call by reference Type reference (TYPE) T163K-SOBKZ 19990302
3 Importing IM_ACCOUNT_ASSIGNMENT_CATEGORY Call by reference Type reference (TYPE) T163K-KNTTP 19990302
# Exception Resumable Description Created on
1 NOT_FOUND 19990302

Method SEARCH_INFO_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_INFO_RECORD Call by reference Type reference (TYPE) CKBK_INFO_RECORD Einkaufsinfosatz 19991229
2 Importing IM_ACTUAL_QUOTA_ARRANGEMENT Call by reference Type reference (TYPE) C1 19990302
3 Importing IM_CATEGORY Call by reference Type reference (TYPE) PSTYP 19990302
4 Importing IM_MATERIAL_NUMBER Call by reference Type reference (TYPE) CKIS-MATNR 19990302
5 Importing IM_PLANT Call by reference Type reference (TYPE) CKIS-WERKS 19990302
6 Importing IM_PRICING_DATE Call by reference Type reference (TYPE) SY-DATUM 19990302
7 Importing IM_QUANTITY Call by reference Type reference (TYPE) CKBK_QUANTITY 19990302
8 Importing IM_QUOTA_ARRANGEMENT_USAGE Call by reference Type reference (TYPE) C1 19990302
# Exception Resumable Description Created on
1 NOT_FOUND 19990302

Method SET_ATTRIBUTES_FROM_KIS1 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 RESOURCE_INVALID 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 Importing 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 Importing IM_SPECIAL_STOCK Call by reference Type reference (TYPE) CKF_SPECIAL_STOCK_DATA Sonderbestandskennzeichen 19990624
2 Importing IM_VALUATION Call by reference Type reference (TYPE) TCK01-VALUATION '0' Bewertungssicht 19990624
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 19990624
2 NOT_FOUND Bewertungssegment nicht vorhanden 19990624
3 SPECIAL_STOCK_NOT_FOUND 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 Importing IM_SPECIAL_STOCK Call by reference Type reference (TYPE) CKF_SPECIAL_STOCK_DATA Sonderbestand 19990624
# Exception Resumable Description Created on
1 INTERNAL_ERROR Interner Fehler 19990624
2 NOT_FOUND Bewertungssegment nicht vorhanden 19990624
3 SPECIAL_STOCK_NOT_FOUND 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 Importing IM_PERIOD Call by reference Type reference (TYPE) MBEW-LFMON Periode 19990624
2 Importing IM_SPECIAL_STOCK Call by reference Type reference (TYPE) CKF_SPECIAL_STOCK_DATA Sonderbestand 19990624
3 Importing IM_VALUATION Call by reference Type reference (TYPE) TCK01-VALUATION Bewertungssicht 19990624
4 Importing IM_YEAR Call by reference Type reference (TYPE) MBEW-LFGJA Geschäftsjahr 19990624
# Exception Resumable Description Created on
1 INTERNAL_ERROR Interner Fehler 19990624
2 NOT_FOUND Bewertungssegment nicht vorhanden 19990624
3 SPECIAL_STOCK_NOT_FOUND 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 Importing 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