SAP ABAP Class CL_CPB_STOCK_CLASSIFICATION (Download of Stock Classification ERP->CRM)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO (Application Component) Logistics - General
     CPB_PRODUCT_MOBILE (Package) CPB: PRODUCT DATA for CRM/MSA
Properties
Class CL_CPB_STOCK_CLASSIFICATION  
Short Description Download of Stock Classification ERP->CRM    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CPB_PRODUCT_MOBILE   CPB: PRODUCT DATA for CRM/MSA 
Created 20091112   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_CPB_STOCK_CLASSIFICATION has no forward declaration.
Interfaces
Class CL_CPB_STOCK_CLASSIFICATION has no interface implemented.
Friends
Class CL_CPB_STOCK_CLASSIFICATION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_FIELDNAME_MATNR Constant Public Type reference (TYPE) FLDNAME30 'MATNR' Field Name of Length 30 20091126
2 GC_MAX_PACKAGESIZE Constant Public Type reference (TYPE) INT2 1200 Max. Package Size for Articles in Quantity Determination 20100129
3 GC_OBJNAME_MATERIAL Constant Public Type reference (TYPE) CRMOBJNAME 'MATERIAL' Object Name 20091126
4 GC_TABNAME_MARA Constant Public Type reference (TYPE) TABNAME30 'MARA' Table Name 20091126
5 GO_ME Static Attribute Public Object reference (TYPE REF TO) CL_CPB_STOCK_CLASSIFICATION Download of Stock Classification ERP->CRM 20091116
6 MS_BAPICRMDH1 Instance attribute Private Type reference (TYPE) BAPICRMDH1 BAPI Structure for Downloading Header Data 20091127
7 MT_CPSTOCK_HISTORY Instance attribute Private Type reference (TYPE) CPB_TS_CPSTOCK_HISTORY Table Type Sorted by CPSTOCK_HISTORY 20091113
8 MT_CPSTOCK_HISTORY_NEW Instance attribute Private Type reference (TYPE) CPB_T_CPSTOCK_HISTORY History Table for Table CPSTOCK for Delta Download 20091118
9 MT_CPSTOCK_HISTORY_UPD Instance attribute Private Type reference (TYPE) CPB_T_CPSTOCK_HISTORY History Table for Table CPSTOCK for Delta Download 20091204
10 MT_CRMFILTAB Instance attribute Public Type reference (TYPE) CPB_T_FILTAB_RANGE Range Table for Table CRMFILTAB 20091126
11 MT_PLANTS_FOR_DCHAIN Instance attribute Public Type reference (TYPE) CPB_T_PLANTS_FOR_DCHAIN Sites for Distribution Chain 20091113
12 MT_STOCKCLF_FINAL Instance attribute Public Type reference (TYPE) CPB_T_STOCK_CLASSF Customizing Reference Structure for Stock Indicator 20091117
13 MT_STOCKCLF_TEMP Instance attribute Public Type reference (TYPE) CPB_T_STOCK_CLASSF Customizing Reference Structure for Stock Indicator 20091117
14 MV_LOGSYS Instance attribute Private Type reference (TYPE) LOGSYS Logical System 20091127
15 MV_PACKAGESIZE Instance attribute Private Type reference (TYPE) INT2 500 Package Size for Articles in Quantity Determination 20100129
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ARTICLE_TO_PROCESS Instance method Private Method Check Whether Article Should Be Shipped 20091120
2 CHECK_HISTORY Instance method Private Method Check Whether the Stock Indicator Has Changed 20091113
3 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20091113
4 FILL_CPSTOCK Instance method Private Method Fill the Structure CPSTOCK 20091113
5 GET_CPB_CPSTOCK Instance method Public Method Determine Stock Classification 20091113
6 GET_CPCRMSTOCK1 Instance method Private Method Analyze the Customizing on Product Level 20091120
7 GET_CPCRMSTOCK2 Instance method Private Method Analyze the Customizing on Material Group Level 20091120
8 GET_CPSTOCK Instance method Private Method Determine Delta for Sending Stock Indicator 20091113
9 GET_INSTANCE Static method Public Method Instance Generation 20091113
10 GET_QUANTITY Instance method Private Method Determine Quantities 20091113
11 GET_RELEVANT_PLANTS Instance method Private Method Determine Sites Relevant for Stock Determination 20091113
12 GET_STOCKCLF_FINAL Instance method Private Method Determine Article Quantity to Be Shipped 20091215
13 GET_WHERE_CONDITION Instance method Private Method Determine Where-Condition for Filtering of Product Adapter 20100319
14 MODIFY_CPSTOCK_HISTORY Instance method Private Method Modification of History Table 20091118
Events
Class CL_CPB_STOCK_CLASSIFICATION has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 MS_PLANT Public See coding 20091118 BEGIN OF ms_plant, werks TYPE werks_d, bwkey type bwkey, END OF ms_plant
2 MTY_PLANTS Public See coding 20091127 mty_plants TYPE STANDARD TABLE OF ms_plant
Method Signatures

Method CHECK_ARTICLE_TO_PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_STOCK_CLASSF Call by reference Type reference (TYPE) CPB_T_STOCK_CLASSF Referenzstruktur Customizing für Bestandsindikator 20091127

Method CHECK_ARTICLE_TO_PROCESS on class CL_CPB_STOCK_CLASSIFICATION has no exception.

Method CHECK_HISTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CHANGED Call by reference Type reference (TYPE) CDCHNGIND Art der Änderung (U, I, E, D) 20091113
2 Importing IS_CPSTOCK Call by reference Type reference (TYPE) CPSTOCK Ergebnisliste für Bestandsinformationen für MSA 20091113

Method CHECK_HISTORY on class CL_CPB_STOCK_CLASSIFICATION has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_CPB_STOCK_CLASSIFICATION has no parameter.
Method CLASS_CONSTRUCTOR on class CL_CPB_STOCK_CLASSIFICATION has no exception.

Method FILL_CPSTOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CPSTOCK Call by reference Type reference (TYPE) CPSTOCK Ergebnisliste für Bestandsinformationen für MSA 20091113
2 Importing IS_STOCK_CLASSF Call by reference Type reference (TYPE) CPB_S_STOCK_CLASSF Referenzstruktur Customizing für Bestandsindikator 20091113

Method FILL_CPSTOCK on class CL_CPB_STOCK_CLASSIFICATION has no exception.

Method GET_CPB_CPSTOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CPSTOCK Call by reference Type reference (TYPE) CPB_TY_CPSTOCK Tabellentyp zu CPSTOCK 20091123

Method GET_CPB_CPSTOCK on class CL_CPB_STOCK_CLASSIFICATION has no exception.

Method GET_CPCRMSTOCK1 Signature

Method GET_CPCRMSTOCK1 on class CL_CPB_STOCK_CLASSIFICATION has no parameter.
Method GET_CPCRMSTOCK1 on class CL_CPB_STOCK_CLASSIFICATION has no exception.

Method GET_CPCRMSTOCK2 Signature

Method GET_CPCRMSTOCK2 on class CL_CPB_STOCK_CLASSIFICATION has no parameter.
Method GET_CPCRMSTOCK2 on class CL_CPB_STOCK_CLASSIFICATION has no exception.

Method GET_CPSTOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CPSTOCK Call by reference Type reference (TYPE) CPB_TY_CPSTOCK Tabellentyp zu CPSTOCK 20091113

Method GET_CPSTOCK on class CL_CPB_STOCK_CLASSIFICATION has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_BAPICRMDH1 Call by reference Type reference (TYPE) BAPICRMDH1 Bapi-Struktur Download Kopfdaten 20091127
2 Returning RO_INSTANCE Value transfer Object reference (TYPE REF TO) CL_CPB_STOCK_CLASSIFICATION Download stock indicator ERP->CRM 20091116

Method GET_INSTANCE on class CL_CPB_STOCK_CLASSIFICATION has no exception.

Method GET_QUANTITY Signature

Method GET_QUANTITY on class CL_CPB_STOCK_CLASSIFICATION has no parameter.
Method GET_QUANTITY on class CL_CPB_STOCK_CLASSIFICATION has no exception.

Method GET_RELEVANT_PLANTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PLANTS_DCHAIN Call by reference Type reference (TYPE) CPB_S_PLANTS_FOR_DCHAIN Betriebe zur Vertriebslinie 20091118

Method GET_RELEVANT_PLANTS on class CL_CPB_STOCK_CLASSIFICATION has no exception.

Method GET_STOCKCLF_FINAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_STOCKCLF_FINAL Call by reference Type reference (TYPE) CPB_T_STOCK_CLASSF Referenzstruktur Customizing für Bestandsindikator 20091215
2 Importing IT_STOCKCLF_TEMP Call by reference Type reference (TYPE) CPB_T_STOCK_CLASSF Referenzstruktur Customizing für Bestandsindikator 20091215

Method GET_STOCKCLF_FINAL on class CL_CPB_STOCK_CLASSIFICATION has no exception.

Method GET_WHERE_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WHERE_CLAUSE Call by reference Type reference (TYPE) COMT_PRODUCT_WHERE_TAB Where-Bedingung für Selects 20100319

Method GET_WHERE_CONDITION on class CL_CPB_STOCK_CLASSIFICATION has no exception.

Method MODIFY_CPSTOCK_HISTORY Signature

Method MODIFY_CPSTOCK_HISTORY on class CL_CPB_STOCK_CLASSIFICATION has no parameter.
Method MODIFY_CPSTOCK_HISTORY on class CL_CPB_STOCK_CLASSIFICATION has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 605