SAP ABAP Class CL_CRM_MAINT_STOCK_TRESHOLDS (class to maintain Stock Tresholds for 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_CRM_MAINT_STOCK_TRESHOLDS | |
Short Description | class to maintain Stock Tresholds for 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 | 20091111 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_CRM_MAINT_STOCK_TRESHOLDS has no forward declaration.
Interfaces
Class CL_CRM_MAINT_STOCK_TRESHOLDS has no interface implemented.
Friends
Class CL_CRM_MAINT_STOCK_TRESHOLDS has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | MSGID | 'CPB_PRODUCT_MOBILE' | Messageclass | 20091125 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | KLAH-KLART | '026' | Class Type | 20091117 | |
3 | ![]() |
Constant | Protected | Type reference (TYPE) | CHAR40 | 'wrong_consumer' | Character field of length 40 | 20091119 | |
4 | ![]() |
Instance attribute | Protected | Object reference (TYPE REF TO) | BAPICRMMSG | BAPI Structure: Messages per Data Record | 20091119 | ||
5 | ![]() |
Instance attribute | Protected | Object reference (TYPE REF TO) | CX_CPB_PRODUCT_MOBILE | CRM - Trade Integration | 20091123 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | call fb 'VIEW_MAINTENANCE_GIVEN_DATA' | 20100107 |
2 | ![]() |
Instance method | Public | Method | verify sales organisation and distribution channel | 20091119 |
3 | ![]() |
Instance method | Public | Method | check the thresholds values | 20091124 |
4 | ![]() |
Instance method | Public | Method | Store transferred message | 20100303 |
5 | ![]() |
Instance method | Public | Method | Display of collected messages and respective long texts | 20100303 |
6 | ![]() |
Instance method | Public | Method | Delete messages collected up to now, collect future messages | 20100303 |
7 | ![]() |
Instance method | Public | Method | call FM to display the material view | 20100107 |
8 | ![]() |
Instance method | Public | Method | call FM to display the merchgr view | 20100107 |
9 | ![]() |
Instance method | Public | Method | Raise an Exception | 20100107 |
10 | ![]() |
Instance method | Public | Method | sel articles from db with merch gr and article range | 20091111 |
11 | ![]() |
Instance method | Public | Method | sel merch gr from db with merch gr hier and merch gr range | 20091111 |
Events
Class CL_CRM_MAINT_STOCK_TRESHOLDS has no event.
Types
Class CL_CRM_MAINT_STOCK_TRESHOLDS has no local type.
Method Signatures
Method CALL_MAINTENANCE_VIEW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_TOTAL | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20100107 | |||
2 | ![]() |
EV_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20100107 | ||
3 | ![]() |
IV_MAINTVIEW | Call by reference | Type reference (TYPE) | VIMDESC-MAINTVIEW | Name of SAP table view | 20100107 | ||
4 | ![]() |
IV_MODE | Call by reference | Type reference (TYPE) | FLAG | General Flag | 20100107 |
Method CALL_MAINTENANCE_VIEW on class CL_CRM_MAINT_STOCK_TRESHOLDS has no exception.
Method CHECK_ORG_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_CONSUMER | Call by reference | Type reference (TYPE) | CPCRMSTOCK2-CONSUMER | User of R/3 Adaptor Functionality | 20091119 | ||
2 | ![]() |
IV_DISTR_CHANNEL | Call by reference | Type reference (TYPE) | CPCRMSTOCK2-VTWEG | Distribution Channel | 20091119 | ||
3 | ![]() |
IV_SALES_ORG | Call by reference | Type reference (TYPE) | CPCRMSTOCK2-VKORG | Sales Organization | 20091119 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
CRM - Trade Integration | 20091123 |
Method CHECK_THRESHOLDS_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_CRITICAL_VALUE | Call by reference | Type reference (TYPE) | CPCRMSTOCK1-VALUE1 | Critical stock value | 20091124 | ||
2 | ![]() |
IV_VERY_CRITICAL_VALUE | Call by reference | Type reference (TYPE) | CPCRMSTOCK1-VALUE2 | Very critical stock value | 20100114 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
CRM - Trade Integration | 20091125 |
Method COLLECT_MESSAGES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_MESSAGENO | Call by reference | Type reference (TYPE) | BAPICRMMSG-MESSAGENO | Message Number | 20100303 | ||
2 | ![]() |
IV_MESSAGE_V1 | Call by reference | Type reference (TYPE) | BAPICRMMSG-MESSAGE_V1 | Message Variable | 20100303 | ||
3 | ![]() |
IV_MESSAGE_V2 | Call by reference | Type reference (TYPE) | BAPICRMMSG-MESSAGE_V2 | Message Variable | 20100303 | ||
4 | ![]() |
IV_MESSAGE_V3 | Call by reference | Type reference (TYPE) | BAPICRMMSG-MESSAGE_V3 | Message Variable | 20100303 | ||
5 | ![]() |
IV_MESSAGE_V4 | Call by reference | Type reference (TYPE) | BAPICRMMSG-MESSAGE_V4 | Message Variable | 20100303 | ||
6 | ![]() |
IV_MSG_AREA | Call by reference | Type reference (TYPE) | BAPICRMMSG-MSG_AREA | Application Area Messages | 20100303 | ||
7 | ![]() |
IV_MSG_TYPE | Call by reference | Type reference (TYPE) | BAPICRMMSG-MSG_TYPE | Message Type: S Success, E Error, W Warning, I Info, A Abort | 20100303 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
CRM - Trade Integration | 20100303 |
Method DISPLAY_MESSAGES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_CORRECTIONS_WANTED | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20100303 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
CRM - Trade Integration | 20100303 |
Method INITIALIZE_MESSAGES Signature
Method INITIALIZE_MESSAGES on class CL_CRM_MAINT_STOCK_TRESHOLDS has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
CRM - Trade Integration | 20100303 |
Method PREPARE_MATERIAL_VIEW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_CORRECTIONS_WANTED | Call by reference | Type reference (TYPE) | FLAG | General Flag | 20100303 | ||
2 | ![]() |
EV_FCODE | Call by reference | Type reference (TYPE) | SY-UCOMM | Function code that PAI triggered | 20100107 | ||
3 | ![]() |
IT_MATNR | Call by reference | Type reference (TYPE) | MD_T_MATNR | 20100107 | |||
4 | ![]() |
IV_CONSUMER | Call by reference | Type reference (TYPE) | CPCRMSTOCK2-CONSUMER | 20100107 | |||
5 | ![]() |
IV_DISTR_CHANNEL | Call by reference | Type reference (TYPE) | CPCRMSTOCK2-VTWEG | 20100107 | |||
6 | ![]() |
IV_MAINTVIEW | Call by reference | Type reference (TYPE) | VIMDESC-MAINTVIEW | 20100107 | |||
7 | ![]() |
IV_OVERWRITE | Call by reference | Type reference (TYPE) | FLAG | 20100107 | |||
8 | ![]() |
IV_SALES_ORG | Call by reference | Type reference (TYPE) | CPCRMSTOCK2-VKORG | 20100107 | |||
9 | ![]() |
IV_STOCK_VAL1 | Call by reference | Type reference (TYPE) | CPCRMSTOCK2-VALUE1 | 20100107 | |||
10 | ![]() |
IV_STOCK_VAL2 | Call by reference | Type reference (TYPE) | CPCRMSTOCK2-VALUE2 | 20100107 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
CRM - Trade Integration | 20100107 |
Method PREPARE_MERCHGR_VIEW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_CORRECTIONS_WANTED | Call by reference | Type reference (TYPE) | FLAG | General Flag | 20100303 | ||
2 | ![]() |
EV_FCODE | Call by reference | Type reference (TYPE) | SY-UCOMM | Function code that PAI triggered | 20100107 | ||
3 | ![]() |
IT_MERCHGR | Call by reference | Type reference (TYPE) | CRM_T_MERCHGR | Table type for field REB_WWGHIE | 20100107 | ||
4 | ![]() |
IV_CONSUMER | Call by reference | Type reference (TYPE) | CPCRMSTOCK2-CONSUMER | User of R/3 Adaptor Functionality | 20100107 | ||
5 | ![]() |
IV_DISTR_CHANNEL | Call by reference | Type reference (TYPE) | CPCRMSTOCK2-VTWEG | Distribution Channel | 20100107 | ||
6 | ![]() |
IV_MAINTVIEW | Call by reference | Type reference (TYPE) | VIMDESC-MAINTVIEW | Name of SAP table view | 20100107 | ||
7 | ![]() |
IV_OVERWRITE | Call by reference | Type reference (TYPE) | FLAG | General Flag | 20100107 | ||
8 | ![]() |
IV_QUANTITY_UNIT | Call by reference | Type reference (TYPE) | CPCRMSTOCK2-MEINS | Base Unit of Measure | 20100107 | ||
9 | ![]() |
IV_SALES_ORG | Call by reference | Type reference (TYPE) | CPCRMSTOCK2-VKORG | Sales Organization | 20100107 | ||
10 | ![]() |
IV_STOCK_VAL1 | Call by reference | Type reference (TYPE) | CPCRMSTOCK2-VALUE1 | Critical stock value | 20100107 | ||
11 | ![]() |
IV_STOCK_VAL2 | Call by reference | Type reference (TYPE) | CPCRMSTOCK2-VALUE2 | Very critical stock value | 20100107 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
CRM - Trade Integration | 20100107 |
Method RAISE_EXCEPTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_IGNORE_SY | Call by reference | Type reference (TYPE) | CHAR1 | ' ' | Single-Character Indicator | 20100107 | |
2 | ![]() |
IV_REASON | Call by reference | Type reference (TYPE) | CHAR40 | ' ' | Character field of length 40 | 20100107 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
CRM - Trade Integration | 20100107 |
Method SEL_ARTICLES_FOR_CPCRMSTOCK1 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MATNR | Call by reference | Type reference (TYPE) | MD_T_MATNR | Table Type: Material Number | 20091116 | ||
2 | ![]() |
IR_MATNR | Call by reference | Type reference (TYPE) | MD_RANGE_T_MATNR | Range Table for Material Number | 20091116 | ||
3 | ![]() |
IR_MERCHGR | Call by reference | Type reference (TYPE) | WRF_AT_MATKL_RTTY | Table Type for Material Group Range | 20091117 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
CRM - Trade Integration | 20091123 |
Method SEL_MERCH_GR_FOR_CPCRMSTOCK2 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MERCHGR | Call by reference | Type reference (TYPE) | CRM_T_MERCHGR | Table Type: Material Number | 20091117 | ||
2 | ![]() |
IR_MERCHGR | Call by reference | Type reference (TYPE) | WRF_AT_MATKL_RTTY | Table Type for Material Group Range | 20091117 | ||
3 | ![]() |
IR_WGHIER | Call by reference | Type reference (TYPE) | CRM_TR_WGHIER | Table Type for range structure 'CRM_SR_WGHIER' | 20091116 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
CRM - Trade Integration | 20091123 |
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 605 |