Hi Mallikarjun,
Message 'Error_Message' Type 'S' Display Like 'E'.
Will solve the problem.
When it is
Message 'Error_Message' Type 'E'.
Then the program stops executing after the error has occured.
But when it is Display Like 'E', this makes the process to still run after the message is displayed.You can still play with screen i.e it is still active.
This is the basic concept. Hope it helps clearing why this coding is required.
With Regards.
D Amarnath Madhaba