All Known Implementing Classes:
BackendMessageMapperImpl

public interface BackendMessageMapper
Maps backend messages according to messages.xml
  • Method Summary

    Modifier and Type
    Method
    Description
    map(BusinessObject rootBo, com.sap.conn.jco.JCoRecord struct)
    Maps messages contained in the provided table structure to a BO.
    void
    map(BusinessObject rootBo, com.sap.conn.jco.JCoRecord singleMsg, com.sap.conn.jco.JCoTable msgTable)
    Maps messages contained in the provided table and/or structure to a BO.
  • Method Details

    • map

      void map(BusinessObject rootBo, com.sap.conn.jco.JCoRecord singleMsg, com.sap.conn.jco.JCoTable msgTable) throws BackendException
      Maps messages contained in the provided table and/or structure to a BO. Mapping is according to the rules defined in messages.xml
      Parameters:
      rootBo - BO which gets the messages
      singleMsg - Error structure
      msgTable - Error table, typically of structure BAPIRET2
      Throws:
      BackendException
    • map

      Message map(BusinessObject rootBo, com.sap.conn.jco.JCoRecord struct) throws BackendException
      Maps messages contained in the provided table structure to a BO. Mapping is according to the rules defined in messages.xml
      Parameters:
      rootBo - BO which gets the messages
      struct -
      Returns:
      A BOL message
      Throws:
      BackendException