In order to figure out the details of the messages being displayed on WEB UI in SAP CRM for analysis purpose, the following steps can be performed:
1. Put a break-point in the method ADD_MESSAGE of the message service class CL_BSP_WD_MESSAGE_SERVICE and replicate the scenario for which the error message is appearing on the WEB UI. The import parameters IV_MSG_ID and IV_MSG_NUMBER of this method would have the message details.
2. The standard database table T100 maintains the standard error messages and their message class and message number.
3. The method call stack in the debugger (‘Standard’ tab) can then be used to trace where in the logic this message is being added.