SAP ABAP Class CL_EHCSM_SPC_MSG_MAPPER (API: Message Mapping of Specification Message to Web UI)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
EHS-SAF (Application Component) Product Safety
⤷
CBUI_BO (Package) Specification Management Web UI Enabling API
⤷
⤷
Properties
| Class | CL_EHCSM_SPC_MSG_MAPPER | |
| Short Description | API: Message Mapping of Specification Message to Web UI | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CBUI_BO | Specification Management Web UI Enabling API |
| Created | 20090720 | 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) |
Interfaces
Class CL_EHCSM_SPC_MSG_MAPPER has no interface implemented.
Friends
Class CL_EHCSM_SPC_MSG_MAPPER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | ESEESTCAT | The last processed value assignment type with foreign lock | 20110318 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | This method interprets the current message in the system str | 20101112 | |
| 2 | Static method | Public | Method | Determines the worse from two severity values | 20110419 | |
| 3 | Static method | Public | Method | Check and filter message if necessary | 20091105 | |
| 4 | Static method | Public | Method | Return the error message of a system message in a string | 20090721 | |
| 5 | Static method | Private | Method | Get the line index for a specification related key | 20090810 | |
| 6 | Static method | Public | Method | Determine the overall severity of all messages | 20090728 | |
| 7 | Static method | Public | Method | Interpret a message | 20090821 | |
| 8 | Static method | Public | Method | Set the msg_index field for messages of given message table | 20110921 | |
| 9 | Static method | Private | Method | Set severity for messages out of given message table | 20090728 | |
| 10 | Static method | Public | Method | Transformation of BALMI (app log) msg into web UI msg | 20100720 | |
| 11 | Static method | Public | Method | Transformation of BAPIRET2 msg into web UI msg | 20100720 | |
| 12 | Static method | Public | Method | Transformation of specification backend msg into web UI msg | 20090720 | |
| 13 | Static method | Public | Method | Transform BAPI error message to system message structure | 20090721 | |
| 14 | Static method | Public | Method | Transformation of specification backend msg into web UI msg | 20090821 | |
| 15 | Static method | Public | Method | Transformation of an exception into web UI msg | 20100714 |
Events
Class CL_EHCSM_SPC_MSG_MAPPER has no event.
Types
Class CL_EHCSM_SPC_MSG_MAPPER has no local type.
Method Signatures
Method ADD_SPC_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MSG | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20101112 | |||
| 2 | IV_FIELD_NAME | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20110415 |
Method ADD_SPC_MESSAGE on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
Method DETEREMINE_SEVERITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_SEVERITY | Call by reference | Type reference (TYPE) | /PLMB/SPI_MSG_SEVERITY | Message Severity | 20110419 | |||
| 2 | IV_SEVERITY1 | Call by reference | Type reference (TYPE) | /PLMB/SPI_MSG_SEVERITY | Message Severity | 20110419 | |||
| 3 | IV_SEVERITY2 | Call by reference | Type reference (TYPE) | /PLMB/SPI_MSG_SEVERITY | Message Severity | 20110419 |
Method DETEREMINE_SEVERITY on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
Method FILTER_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_PROCESSED_MSG | Call by reference | Type reference (TYPE) | EHCSMS_SPC_MSG | Message Structure | 20100128 | |||
| 2 | CT_MSG | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20100128 | |||
| 3 | IT_VAT_LIST | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAT_PURE | List with value assignment types | 20101110 | |||
| 4 | IV_LANGU | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Language Key | 20091118 | ||
| 5 | IV_SPEC_CAT | Call by reference | Type reference (TYPE) | ESEOBJTYPENAM | Specification Category | 20091121 |
Method FILTER_MESSAGE on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
Method GET_ERROR_MSG_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_MSG | Call by reference | Type reference (TYPE) | EHCSMS_SPC_MSG | Message Structure | 20091117 | |||
| 2 | IS_SYMSG | Call by reference | Type reference (TYPE) | SYMSG | Structure of message variables | 20090721 | |||
| 3 | RV_MSG | Value transfer | Type reference (TYPE) | STRING | 20090721 |
Method GET_ERROR_MSG_STRING on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
Method GET_INDEX_BY_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_SELECTED_KEY | Call by reference | Type reference (TYPE) | EHCSMS_SPC_KEY | EHS: Structure for key info of master data | 20090810 | |||
| 2 | IT_KEY | Call by reference | Type reference (TYPE) | EHCSMT_SPC_KEY_INDEX | Table with specification related keys and line index | 20090810 | |||
| 3 | RV_INDEX | Value transfer | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20090810 |
Method GET_INDEX_BY_KEY on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
Method GET_MSG_SEVERITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Message table | 20090728 | |||
| 2 | RV_SEVERITY | Value transfer | Type reference (TYPE) | /PLMB/SPI_MSG_SEVERITY | Message severity | 20090728 |
Method GET_MSG_SEVERITY on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
Method INTERPRET_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_MSG | Call by reference | Type reference (TYPE) | EHCSMS_SPC_MSG | Message Structure | 20090908 | |||
| 2 | ES_MSG_RESULT | Call by reference | Type reference (TYPE) | EHCSMS_SPC_MSG_RESULT | Message result | 20090821 |
Method INTERPRET_MESSAGE on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
Method SET_MSG_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages | 20110921 | |||
| 2 | IT_KEY | Call by reference | Type reference (TYPE) | EHCSMT_SPC_KEY_INDEX | Table with specification related keys and line index | 20110921 |
Method SET_MSG_INDEX on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
Method SET_MSG_SEVERITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_SEVERITY | Call by reference | Type reference (TYPE) | /PLMB/SPI_MSG_SEVERITY | Message severity | 20090728 | |||
| 2 | IV_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 20090728 |
Method SET_MSG_SEVERITY on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
Method TRANSFORM_BALMI_MSG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20100720 | |||
| 2 | IT_BALMI | Call by reference | Type reference (TYPE) | BALMI_T | BALMI Table Type | 20100720 | |||
| 3 | IV_ACTN | Call by reference | Type reference (TYPE) | ESEACTN | Sequential Number of the Change State | 20100720 | |||
| 4 | IV_MSG_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20100720 | |||
| 5 | IV_RECN | Call by reference | Type reference (TYPE) | ESERECN | Sequential Number of Data Record | 20100720 |
Method TRANSFORM_BALMI_MSG on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
Method TRANSFORM_BAPIRET2_MSG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20100720 | |||
| 2 | IT_BAPIRET2 | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20100720 | |||
| 3 | IV_ACTN | Call by reference | Type reference (TYPE) | ESEACTN | Sequential Number of the Change State | 20100720 | |||
| 4 | IV_MSG_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20100720 | |||
| 5 | IV_RECN | Call by reference | Type reference (TYPE) | ESERECN | Sequential Number of Data Record | 20100720 |
Method TRANSFORM_BAPIRET2_MSG on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
Method TRANSFORM_ERROR_MSG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MSG_RESULT | Call by reference | Type reference (TYPE) | EHCSMS_SPC_MSG_RESULT | Specification: Result of specification related messages | 20090821 | |||
| 2 | ET_FAILED_KEY | Call by reference | Type reference (TYPE) | EHCSMT_SPC_KEY | Table with substance keys | 20090727 | |||
| 3 | ET_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Message | 20090720 | |||
| 4 | IT_BACKEND_MSG | Call by reference | Type reference (TYPE) | EHSB_TT_RCGEXTERROR | EHS: Table Type RCGEXTERROR (Extended Error Table) | 20091105 | |||
| 5 | IT_KEY | Call by reference | Type reference (TYPE) | EHCSMT_SPC_KEY_INDEX | Table with specification related keys and line index | 20090810 | |||
| 6 | IT_VAT_LIST | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAT_PURE | List with value assignment types | 20101110 | |||
| 7 | IV_LANGU | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Language Key | 20091118 | ||
| 8 | IV_SPEC_CAT | Call by reference | Type reference (TYPE) | ESEOBJTYPENAM | Specification Category | 20091121 |
Method TRANSFORM_ERROR_MSG on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
Method TRANSFORM_RCGEXTERROR_TO_SYMSG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_RCGEXTERROR | Call by reference | Type reference (TYPE) | RCGEXTERROR | EHS: General Error Structure | 20090721 | |||
| 2 | RS_SYMSG | Value transfer | Type reference (TYPE) | SYMSG | Structure of message variables | 20090721 |
Method TRANSFORM_RCGEXTERROR_TO_SYMSG on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
Method TRANSFORM_SYS_MSG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MSG_RESULT | Call by reference | Type reference (TYPE) | EHCSMS_SPC_MSG_RESULT | Specification: Result of specification related messages | 20090821 | |||
| 2 | ET_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Message | 20090821 | |||
| 3 | IS_MSG | Call by reference | Type reference (TYPE) | SYMSG | System Message | 20090821 |
Method TRANSFORM_SYS_MSG on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
Method TRANSFORM_T100_MSG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Message | 20100714 | |||
| 2 | CV_SEVERITY | Call by reference | Type reference (TYPE) | /PLMB/SPI_MSG_SEVERITY | Severity | 20100714 | |||
| 3 | IO_T100_MESSAGE | Call by reference | Object reference (TYPE REF TO) | IF_T100_MESSAGE | Exception | 20100714 |
Method TRANSFORM_T100_MSG on class CL_EHCSM_SPC_MSG_MAPPER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 605 |