Many times we come across a situation where we face the system generated error messages raised by rapid application generated components. Those messages are not at all user friendly. Here this document shows how to replace and make those system generated messges user specific.
1. Generally here is the message class which rapid application uses:
2. Go to Enhancement Spot : WCF_MESSAGES
3. Create an enhancement implementation for this spot.
4. In method: IF_WCF_ALTER_UI_MESSAGES~ALTER_MESSAGES, write the code which is shown below and attached here in the attached files:
So that, when the Rapid application component messges get loaded in runtime in SAP CRM Web UI, this implementation with read the messages through message class, type and number, and then replaces the system generated messages with the user defined one.
I have used this in one of my projects and it is working absolutely fine.
Hope you find this document helpful