CL_EHCSM_SPC_MSG_MAPPER - API: Message Mapping of Specification Message to Web UI

BAL Application Log Documentation   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Functionality

This class provides functionality filtering, transforming and mapping of messages from EHS specification management into a structure that is compatiable to a Web UI. This class is located in package CBUI_BO.

All messages received from EHS specification management are transformed into the compatiable messagestructure EHCSMS_SPC_MSG. This structure contains the same components link SYMSG DDIC structure and is enhanced with respect to the following information:

  • MSG_INDEX
    Specifies the index to which this message belongs. This is important for lists in identifying the rows the messages belongs to.
  • FIELDNAME
    Specifies the field to which the message belongs.
  • OBJECT
    Specifies the object to which a EHS specification message is bound.
  • RECN
    Specifies the record number of the EHS specification-related instance from which the message comes.
  • ACTN
    Specifies the change number of the EHS specification-related instance from which the message comes.

The following methods are provided for message mapping:

  • GET_ERROR_MSG_STRING
    This method returns the error message of a system message in a string.
  • GET_MSG_SEVERITY
    This method determines the overall severity of all messages belonging to a list of messages.
  • TRANSFORM_ERROR_MSG
    This method transforms the back-end BAPI messages for the EHS specification into a message structure EHCSMS_SPC_MSG suitable for the Web UI.
  • TRANSFORM_RCGEXTERROR_TO_SYMSG
    This method transforms a BAPI error message to the system message structure SYMSG.
  • TRANSFORM_SYS_MSG
    This method transforms the back-end system messages for a EHS specification into a message structure EHCSMS_SPC_MSG suitable for the Web UI.

Relationships

Example

Notes

This class provides exclusively static methods.

Further information

For more information, see also DDIC structure SYMSG that contains message relevant variables.


Addresses (Business Address Services)   CPI1466 during Backup  
This documentation is copyright by SAP AG.


Length: 2322 Date: 20120526 Time: 115341     triton ( 83 ms )