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 | Constant | Public | Type reference (TYPE) | FLDNAME30 | 'MATNR' | Field Name of Length 30 | 20091126 | ||
| 2 | Constant | Public | Type reference (TYPE) | INT2 | 1200 | Max. Package Size for Articles in Quantity Determination | 20100129 | ||
| 3 | Constant | Public | Type reference (TYPE) | CRMOBJNAME | 'MATERIAL' | Object Name | 20091126 | ||
| 4 | Constant | Public | Type reference (TYPE) | TABNAME30 | 'MARA' | Table Name | 20091126 | ||
| 5 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_CPB_STOCK_CLASSIFICATION | Download of Stock Classification ERP->CRM | 20091116 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | BAPICRMDH1 | BAPI Structure for Downloading Header Data | 20091127 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | CPB_TS_CPSTOCK_HISTORY | Table Type Sorted by CPSTOCK_HISTORY | 20091113 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | CPB_T_CPSTOCK_HISTORY | History Table for Table CPSTOCK for Delta Download | 20091118 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | CPB_T_CPSTOCK_HISTORY | History Table for Table CPSTOCK for Delta Download | 20091204 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | CPB_T_FILTAB_RANGE | Range Table for Table CRMFILTAB | 20091126 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | CPB_T_PLANTS_FOR_DCHAIN | Sites for Distribution Chain | 20091113 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | CPB_T_STOCK_CLASSF | Customizing Reference Structure for Stock Indicator | 20091117 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | CPB_T_STOCK_CLASSF | Customizing Reference Structure for Stock Indicator | 20091117 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | LOGSYS | Logical System | 20091127 | |||
| 15 | 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 | Instance method | Private | Method | Check Whether Article Should Be Shipped | 20091120 | |
| 2 | Instance method | Private | Method | Check Whether the Stock Indicator Has Changed | 20091113 | |
| 3 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20091113 | |
| 4 | Instance method | Private | Method | Fill the Structure CPSTOCK | 20091113 | |
| 5 | Instance method | Public | Method | Determine Stock Classification | 20091113 | |
| 6 | Instance method | Private | Method | Analyze the Customizing on Product Level | 20091120 | |
| 7 | Instance method | Private | Method | Analyze the Customizing on Material Group Level | 20091120 | |
| 8 | Instance method | Private | Method | Determine Delta for Sending Stock Indicator | 20091113 | |
| 9 | Static method | Public | Method | Instance Generation | 20091113 | |
| 10 | Instance method | Private | Method | Determine Quantities | 20091113 | |
| 11 | Instance method | Private | Method | Determine Sites Relevant for Stock Determination | 20091113 | |
| 12 | Instance method | Private | Method | Determine Article Quantity to Be Shipped | 20091215 | |
| 13 | Instance method | Private | Method | Determine Where-Condition for Filtering of Product Adapter | 20100319 | |
| 14 | 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 | 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 | EV_CHANGED | Call by reference | Type reference (TYPE) | CDCHNGIND | Art der Änderung (U, I, E, D) | 20091113 | |||
| 2 | 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 | ES_CPSTOCK | Call by reference | Type reference (TYPE) | CPSTOCK | Ergebnisliste für Bestandsinformationen für MSA | 20091113 | |||
| 2 | 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 | 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 | 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 | IS_BAPICRMDH1 | Call by reference | Type reference (TYPE) | BAPICRMDH1 | Bapi-Struktur Download Kopfdaten | 20091127 | |||
| 2 | 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 | 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 | CT_STOCKCLF_FINAL | Call by reference | Type reference (TYPE) | CPB_T_STOCK_CLASSF | Referenzstruktur Customizing für Bestandsindikator | 20091215 | |||
| 2 | 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 | 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 |