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.

⤷

⤷

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 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | ![]() |
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 | ![]() |
Instance attribute | Public | Type reference (TYPE) | MDG_BS_CLF_T_MESSAGE | Classification Message Table | 20110428 | ||
2 | ![]() |
Constant | Public | See coding | 20111114 | ||||
3 | ![]() |
Constant | Public | See coding | 20120425 | ||||
4 | ![]() |
Constant | Public | See coding | 20090901 | ||||
5 | ![]() |
Constant | Public | See coding | 20100102 | ||||
6 | ![]() |
Constant | Public | See coding | 20090901 | ||||
7 | ![]() |
Constant | Public | See coding | 20090915 | ||||
8 | ![]() |
Constant | Public | See coding | 20101005 | ||||
9 | ![]() |
Constant | Public | See coding | 20110428 | ||||
10 | ![]() |
Constant | Public | See coding | 20110328 | ||||
11 | ![]() |
Constant | Public | See coding | 20090901 | ||||
12 | ![]() |
Constant | Public | See coding | 20090901 | ||||
13 | ![]() |
Constant | Public | See coding | 20091011 | ||||
14 | ![]() |
Constant | Public | See coding | 20100505 | ||||
15 | ![]() |
Constant | Public | See coding | 20110325 | ||||
16 | ![]() |
Constant | Public | See coding | 20110325 | ||||
17 | ![]() |
Instance attribute | Public | Type reference (TYPE) | MDG_BS_MAT_T_MESSAGE | Material Message Table | 20091127 | ||
18 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | 'A' | Abort | 20091217 | |
19 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | 'E' | Error | 20091217 | |
20 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | 'I' | Infor | 20091217 | |
21 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | 'W' | Warning | 20091217 | |
22 | ![]() |
Instance attribute | Public | Type reference (TYPE) | BWKEY | Valuation area | 20120425 | ||
23 | ![]() |
Instance attribute | Public | Type reference (TYPE) | BWTAR_D | Material Master View on Valuation Records | 20120425 | ||
24 | ![]() |
Instance attribute | Public | Type reference (TYPE) | BWTTY_D | Valuation Category | 20120425 | ||
25 | ![]() |
Instance attribute | Public | Type reference (TYPE) | USMD_ENTITY | Entity Type | 20110325 | ||
26 | ![]() |
Instance attribute | Public | Type reference (TYPE) | SCRTEXT_M | Medium Field Label | 20111114 | ||
27 | ![]() |
Instance attribute | Public | Type reference (TYPE) | MATNR | Material Number | 20101005 | ||
28 | ![]() |
Instance attribute | Public | Type reference (TYPE) | SYMSGV | Parameter for geneic messages | 20111114 | ||
29 | ![]() |
Instance attribute | Public | Type reference (TYPE) | SYMSGV | Parameter for geneic messages | 20111114 | ||
30 | ![]() |
Instance attribute | Public | Type reference (TYPE) | SYMSGV | Parameter for geneic messages | 20111114 | ||
31 | ![]() |
Instance attribute | Public | Type reference (TYPE) | SYMSGV | Parameter for geneic messages | 20111114 | ||
32 | ![]() |
Instance attribute | Public | Type reference (TYPE) | CHAR1 | Severity of MAT Message (can be initial) | 20091127 | ||
33 | ![]() |
Instance attribute | Public | Attribute reference (LIKE) | 20091202 | ||||
34 | ![]() |
Instance attribute | Public | Type reference (TYPE) | USMD_T_MESSAGE | Messages | 20110318 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Check for API error | 20110105 |
2 | ![]() |
Static method | Public | Method | Check for error (E,A,X) in message | 20100427 |
3 | ![]() |
Instance method | Public | Constructor | CONSTRUCTOR | 20090901 |
4 | ![]() |
Static method | Public | Method | Convert API error to material message | 20110427 |
5 | ![]() |
Instance method | Private | Method | Determine entity/field values depending on the message | 20111229 |
6 | ![]() |
Static method | Public | Method | Get consolidated Severity of given BO Messages | 20091127 |
7 | ![]() |
Static method | Public | Method | Get text for messages | 20110405 |
8 | ![]() |
Static method | Public | Method | Convert Application Messages to USMD Messages | 20091127 |
9 | ![]() |
Static method | Public | Method | Get consolidated Severity of given BO Messages | 20100427 |
10 | ![]() |
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 | ![]() |
ET_USMD_MESSAGE | Value transfer | Type reference (TYPE) | USMD_T_MESSAGE | Messages | 20110105 | ||
2 | ![]() |
IO_CR_API | Call by reference | Object reference (TYPE REF TO) | IF_USMD_CONV_SOM_GOV_API | Convenience API | 20110105 | ||
3 | ![]() |
IO_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Convenience API Exception | 20110427 | ||
4 | ![]() |
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 | ![]() |
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 | ![]() |
EV_ERROR | Value transfer | Type reference (TYPE) | BOOLE_D | Error found | 20100427 | ||
2 | ![]() |
IO_MAT_MESSAGE | Call by reference | Object reference (TYPE REF TO) | CX_MDG_BS_MAT_GEN | Material Exceptions and Messages | 20100427 | ||
3 | ![]() |
IT_MAT_MESSAGE | Call by reference | Type reference (TYPE) | MDG_BS_MAT_T_MESSAGE | Material Message Table | 20100427 | ||
4 | ![]() |
IT_USMD_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Messages | 20100427 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
EO_MAT_MESSAGE | Value transfer | Object reference (TYPE REF TO) | CX_MDG_BS_MAT_GEN | Material Exceptions and Messages | 20110427 | ||
2 | ![]() |
IT_USMD_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Messages | 20110427 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Material Exceptions and Messages | 20110427 |
Method DETERMINE_ENTITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGE_KEY | Call by reference | Type reference (TYPE) | TY_T_MESSAGE_KEY | Table of message relevant keys | 20111229 | ||
2 | ![]() |
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 | ![]() |
EV_SEVERITY | Value transfer | Type reference (TYPE) | CHAR1 | MAT Severity of cx_mdg_bs_mat_gen | 20091127 | ||
2 | ![]() |
IO_MAT_MESSAGE | Call by reference | Object reference (TYPE REF TO) | CX_MDG_BS_MAT_GEN | Material Exceptions and Messages | 20091127 | ||
3 | ![]() |
IT_MAT_MESSAGE | Call by reference | Type reference (TYPE) | MDG_BS_MAT_T_MESSAGE | Material Message Table | 20091127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
ET_MESSAGE_TEXT | Call by reference | Type reference (TYPE) | CX_MDG_BS_MAT_GEN=>TY_T_MESSAGE_TEXT | Text of messages | 20110405 | ||
2 | ![]() |
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 | ![]() |
IT_MAT_MESSAGE | Call by reference | Type reference (TYPE) | MDG_BS_MAT_T_MESSAGE | Classification Message Table | 20110405 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
ET_MSG_NO_CONVERSION | Call by reference | Type reference (TYPE) | USMD_TS_MSG_KEY | Messages not to be converted | 20091207 | ||
2 | ![]() |
ET_USMD_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Messages | 20091127 | ||
3 | ![]() |
IT_API_MESSAGES | Call by reference | Type reference (TYPE) | MDG_BS_MAT_T_MAT_MSG | MDG BS MAT: Material Error Message Table | 20100611 | ||
4 | ![]() |
IT_MAT_MESSAGE | Call by reference | Type reference (TYPE) | MDG_BS_MAT_T_MESSAGE | Material Message Table | 20091127 | ||
5 | ![]() |
IV_UNIQUE | Call by reference | Type reference (TYPE) | BOOLE_D | Message unique only | 20110303 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
EV_SEVERITY | Value transfer | Type reference (TYPE) | CHAR1 | Severity | 20100427 | ||
2 | ![]() |
IT_USMD_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Usmd_ Message Table | 20100427 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Converted messages | 20111222 | ||
2 | ![]() |
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 |