Skip to Content

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

image

Part 2 : Test program ZERROR_ENGINE_DEMO

Selection Screen
image

Displaying errors directly on the screen
image

Displaying errors through “Error Button”
image

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply