SAP ABAP Class CX_MDG_BS_MAT_GEN (Material Exceptions and Messages)
Hierarchy
☛
MDG_APPL (Software Component) MDG Applications
⤷ CA-MDG-APP-MM (Application Component) MDG Material
⤷ MDG_BS_MAT_MODEL_ACCESS (Package) MDG: ERP Material Model Access to Prim. Pers.
⤷ CA-MDG-APP-MM (Application Component) MDG Material
⤷ MDG_BS_MAT_MODEL_ACCESS (Package) MDG: ERP Material Model Access to Prim. Pers.
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CX_STATIC_CHECK | Exceptions with Static and Dynamic Check of RAISING Clause | 20091007 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_T100_MESSAGE | Interface for Accessing T100 Texts | 20090901 |
Meta Relationship - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CX_MDG_BS_MAT_SMT | Exception for SMT mapping im material | 20130215 |
Properties
Class | CX_MDG_BS_MAT_GEN | |
Short Description | Material Exceptions and Messages | |
Super Class | CX_STATIC_CHECK | Exceptions with Static and Dynamic Check of RAISING Clause |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 40 | Exception Class |
Package | MDG_BS_MAT_MODEL_ACCESS | MDG: ERP Material Model Access to Prim. Pers. |
Created | 20090901 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | CX_MDG_BS_CLF_GEN | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | CX_MDG_BS_MAT_GEN | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_T100_MESSAGE | Interface for Accessing T100 Texts | 20090901 |
Friends
Class CX_MDG_BS_MAT_GEN has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | CLF_MESSAGES | Instance attribute | Public | Type reference (TYPE) | MDG_BS_CLF_T_MESSAGE | Classification Message Table | 20110428 | ||
2 | CX_MDG_BS_MAT_CHECK_MND_FLD | Constant | Public | See coding | 20111114 | ||||
3 | CX_MDG_BS_MAT_DERIVE_NO_SPLIT | Constant | Public | See coding | 20120425 | ||||
4 | CX_MDG_BS_MAT_GEN | Constant | Public | See coding | 20090901 | ||||
5 | CX_MDG_BS_MAT_GEN_CC_ERROR | Constant | Public | See coding | 20100102 | ||||
6 | CX_MDG_BS_MAT_GEN_CHGNO_INIT | Constant | Public | See coding | 20090901 | ||||
7 | CX_MDG_BS_MAT_GEN_DEF_CLASSTYP | Constant | Public | See coding | 20090915 | ||||
8 | CX_MDG_BS_MAT_GEN_LOCK_MSG | Constant | Public | See coding | 20101005 | ||||
9 | CX_MDG_BS_MAT_GEN_MATNR_CLF | Constant | Public | See coding | 20110428 | ||||
10 | CX_MDG_BS_MAT_GEN_MATNR_FW | Constant | Public | See coding | 20110328 | ||||
11 | CX_MDG_BS_MAT_GEN_MATNR_INIT | Constant | Public | See coding | 20090901 | ||||
12 | CX_MDG_BS_MAT_GEN_MTART_INIT | Constant | Public | See coding | 20090901 | ||||
13 | CX_MDG_BS_MAT_GEN_SYNC_ERR | Constant | Public | See coding | 20091011 | ||||
14 | CX_MDG_BS_MAT_MAP_ERROR | Constant | Public | See coding | 20100505 | ||||
15 | CX_MDG_BS_MAT_SEL_NO_MATNR | Constant | Public | See coding | 20110325 | ||||
16 | CX_MDG_BS_MAT_SEL_ONLY_KEY | Constant | Public | See coding | 20110325 | ||||
17 | DETAIL_MESSAGES | Instance attribute | Public | Type reference (TYPE) | MDG_BS_MAT_T_MESSAGE | Material Message Table | 20091127 | ||
18 | GC_SEVERITY_ABORT | Constant | Public | Type reference (TYPE) | CHAR1 | 'A' | Abort | 20091217 | |
19 | GC_SEVERITY_ERROR | Constant | Public | Type reference (TYPE) | CHAR1 | 'E' | Error | 20091217 | |
20 | GC_SEVERITY_INFO | Constant | Public | Type reference (TYPE) | CHAR1 | 'I' | Infor | 20091217 | |
21 | GC_SEVERITY_WARNING | Constant | Public | Type reference (TYPE) | CHAR1 | 'W' | Warning | 20091217 | |
22 | MV_BWKEY | Instance attribute | Public | Type reference (TYPE) | BWKEY | Valuation area | 20120425 | ||
23 | MV_BWTAR | Instance attribute | Public | Type reference (TYPE) | BWTAR_D | Material Master View on Valuation Records | 20120425 | ||
24 | MV_BWTTY | Instance attribute | Public | Type reference (TYPE) | BWTTY_D | Valuation Category | 20120425 | ||
25 | MV_ENTITY | Instance attribute | Public | Type reference (TYPE) | USMD_ENTITY | Entity Type | 20110325 | ||
26 | MV_FIELD_TEXT | Instance attribute | Public | Type reference (TYPE) | SCRTEXT_M | Medium Field Label | 20111114 | ||
27 | MV_MATNR | Instance attribute | Public | Type reference (TYPE) | MATNR | Material Number | 20101005 | ||
28 | MV_MSGV1 | Instance attribute | Public | Type reference (TYPE) | SYMSGV | Parameter for geneic messages | 20111114 | ||
29 | MV_MSGV2 | Instance attribute | Public | Type reference (TYPE) | SYMSGV | Parameter for geneic messages | 20111114 | ||
30 | MV_MSGV3 | Instance attribute | Public | Type reference (TYPE) | SYMSGV | Parameter for geneic messages | 20111114 | ||
31 | MV_MSGV4 | Instance attribute | Public | Type reference (TYPE) | SYMSGV | Parameter for geneic messages | 20111114 | ||
32 | SEVERITY | Instance attribute | Public | Type reference (TYPE) | CHAR1 | Severity of MAT Message (can be initial) | 20091127 | ||
33 | T100KEY | Instance attribute | Public | Attribute reference (LIKE) | 20091202 | ||||
34 | USMD_MESSAGES | Instance attribute | Public | Type reference (TYPE) | USMD_T_MESSAGE | Messages | 20110318 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CHECK_CONV_API_ERROR | Static method | Public | Method | Check for API error | 20110105 |
2 | CHECK_SEVERITY_ERROR | Static method | Public | Method | Check for error (E,A,X) in message | 20100427 |
3 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20090901 |
4 | CONVERT_CONV_API_ERROR | Static method | Public | Method | Convert API error to material message | 20110427 |
5 | DETERMINE_ENTITY | Instance method | Private | Method | Determine entity/field values depending on the message | 20111229 |
6 | GET_MSG_SEVERITY | Static method | Public | Method | Get consolidated Severity of given BO Messages | 20091127 |
7 | GET_MSG_TEXTS | Static method | Public | Method | Get text for messages | 20110405 |
8 | GET_USMD_MESSAGES | Static method | Public | Method | Convert Application Messages to USMD Messages | 20091127 |
9 | GET_USMD_SEVERITY | Static method | Public | Method | Get consolidated Severity of given BO Messages | 20100427 |
10 | MAP_USMD_MESSAGES | Instance method | Public | Method | Perform message mapping from internal format | 20111222 |
Events
Class CX_MDG_BS_MAT_GEN has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_S_MESSAGE_KEY | Private | See coding | 20111229 | BEGIN OF ty_s_message_key,
msgid TYPE symsgid,
msgty TYPE symsgty,
msgno TYPE symsgno,
entity TYPE usmd_entity,
fieldname TYPE usmd_fld_source,
data TYPE REF TO data,
END OF ty_s_message_key
|
||
2 | TY_T_MESSAGE_KEY | Private | See coding | 20111229 | ty_t_message_key TYPE STANDARD TABLE OF ty_s_message_key
|
||
3 | TY_T_MESSAGE_TEXT | Public | See coding | 20110405 | ty_t_message_text TYPE STANDARD TABLE OF string
|
Method Signatures
Method CHECK_CONV_API_ERROR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ET_USMD_MESSAGE | Value transfer | Type reference (TYPE) | USMD_T_MESSAGE | Messages | 20110105 | ||
2 | Importing | IO_CR_API | Call by reference | Object reference (TYPE REF TO) | IF_USMD_CONV_SOM_GOV_API | Convenience API | 20110105 | ||
3 | Importing | IO_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Convenience API Exception | 20110427 | ||
4 | Importing | IV_RAISE_EXCEPTION | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | Raise exception if error found | 20110105 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MDG_BS_MAT_GEN | Material Exceptions and Messages | 20110105 |
Method CHECK_SEVERITY_ERROR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | EV_ERROR | Value transfer | Type reference (TYPE) | BOOLE_D | Error found | 20100427 | ||
2 | Importing | IO_MAT_MESSAGE | Call by reference | Object reference (TYPE REF TO) | CX_MDG_BS_MAT_GEN | Material Exceptions and Messages | 20100427 | ||
3 | Importing | IT_MAT_MESSAGE | Call by reference | Type reference (TYPE) | MDG_BS_MAT_T_MESSAGE | Material Message Table | 20100427 | ||
4 | Importing | IT_USMD_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Messages | 20100427 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MDG_BS_MAT_GEN | Classification Exceptions and Messages | 20100427 |
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CX_MDG_BS_MAT_GEN has no exception.
Method CONVERT_CONV_API_ERROR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | EO_MAT_MESSAGE | Value transfer | Object reference (TYPE REF TO) | CX_MDG_BS_MAT_GEN | Material Exceptions and Messages | 20110427 | ||
2 | Importing | IT_USMD_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Messages | 20110427 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MDG_BS_MAT_GEN | Material Exceptions and Messages | 20110427 |
Method DETERMINE_ENTITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_MESSAGE_KEY | Call by reference | Type reference (TYPE) | TY_T_MESSAGE_KEY | Table of message relevant keys | 20111229 | ||
2 | Importing | IT_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Messages | 20111229 |
Method DETERMINE_ENTITY on class CX_MDG_BS_MAT_GEN has no exception.
Method GET_MSG_SEVERITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | EV_SEVERITY | Value transfer | Type reference (TYPE) | CHAR1 | MAT Severity of cx_mdg_bs_mat_gen | 20091127 | ||
2 | Importing | IO_MAT_MESSAGE | Call by reference | Object reference (TYPE REF TO) | CX_MDG_BS_MAT_GEN | Material Exceptions and Messages | 20091127 | ||
3 | Importing | IT_MAT_MESSAGE | Call by reference | Type reference (TYPE) | MDG_BS_MAT_T_MESSAGE | Material Message Table | 20091127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MDG_BS_MAT_GEN | Classification Exceptions and Messages | 20091127 |
Method GET_MSG_TEXTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_MESSAGE_TEXT | Call by reference | Type reference (TYPE) | CX_MDG_BS_MAT_GEN=>TY_T_MESSAGE_TEXT | Text of messages | 20110405 | ||
2 | Importing | IO_CLF_CONTEXT_CNTL | Call by reference | Object reference (TYPE REF TO) | IF_MDG_BS_CLF_CNTL | Classification Controller Interface for Lead Object | 20110428 | ||
3 | Importing | IT_MAT_MESSAGE | Call by reference | Type reference (TYPE) | MDG_BS_MAT_T_MESSAGE | Classification Message Table | 20110405 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MDG_BS_MAT_GEN | Classification Exceptions and Messages | 20110405 |
Method GET_USMD_MESSAGES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_MSG_NO_CONVERSION | Call by reference | Type reference (TYPE) | USMD_TS_MSG_KEY | Messages not to be converted | 20091207 | ||
2 | Exporting | ET_USMD_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Messages | 20091127 | ||
3 | Importing | IT_API_MESSAGES | Call by reference | Type reference (TYPE) | MDG_BS_MAT_T_MAT_MSG | MDG BS MAT: Material Error Message Table | 20100611 | ||
4 | Importing | IT_MAT_MESSAGE | Call by reference | Type reference (TYPE) | MDG_BS_MAT_T_MESSAGE | Material Message Table | 20091127 | ||
5 | Importing | IV_UNIQUE | Call by reference | Type reference (TYPE) | BOOLE_D | Message unique only | 20110303 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MDG_BS_MAT_GEN | Classification Exceptions and Messages | 20091127 |
Method GET_USMD_SEVERITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | EV_SEVERITY | Value transfer | Type reference (TYPE) | CHAR1 | Severity | 20100427 | ||
2 | Importing | IT_USMD_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Usmd_ Message Table | 20100427 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MDG_BS_MAT_GEN | Classification Exceptions and Messages | 20100427 |
Method MAP_USMD_MESSAGES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Converted messages | 20111222 | ||
2 | Importing | IT_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | List of imported messages | 20111222 |
Method MAP_USMD_MESSAGES on class CX_MDG_BS_MAT_GEN has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 605 |