In this blog I would like to talk about a generic error engine class which can be used for error handling in any application.This class can be used to add errors,save to database and also display the errors either directly on the screen or through an "Error" button created dynamically on the screen title bar.This class uses SAP's application log concept for error handling.
Part 1 : Creation of class ZERROR_ENGINE Part 2 : Test program ZERROR_ENGINE_DEMO Selection Screen
Displaying errors directly on the screen
Displaying errors through "Error Button"