Procedure documentationControlling Message Handling

 

The model access class CL_BSP_APPLICATION_ADDRESS will store all address-related messages internally. To make this happen, you must only call the appropriate method.

Procedure

  1. Call the method IF_CRM_BSP_MODEL_ACCESS_IL~GET_MESSAGES of class CL_BSP_APPLICATION_ADDRESS as follows:

    1. Make the call in the method IF_CRM_BSP_MODEL_ACCESS_IL~GET_MESSAGES of the OIC-related model access class.

    2. Attach the resulting messages to the returned application log.

    The method IF_CRM_BSP_MODEL_ACCESS_IL~GET_MESSAGES will at all times return the current state of the error table for all addresses; so there is no need for the application to buffer address-specific error messages.