Hi all,
I am working on a functionality where i have to read the error log of Web UI just before the save of the service order .
I am using the implicit enhancement option at the end of the method CHECK_ORDERS_BEFORE_SAVE of the class CL_CRM_METHODS_BTIL.
I am using the FM 'CRM_MESSAGES_DISPLAY' to read the error messages generated by the application layer .
To read the error message of the UI Layer I use the following method IF_GENIL_MESSAGE_CONTAINER~GET_MESSAGES of the class CL_CRM_GENIL_GLOBAL_MESS_CONT. However it always returns a empty table even though there are error messages raised by the BSP pages.I have also tried the method GET_MESSAGES of the class CL_BSP_WD_MESSAGE_SERVICE with the same result.
Am i missing something because these are standard classes to read the error log .
Thanks,
Shahina