In my object I have following functionality :
1. A simple OOALV display with two fields input enabled.
2. Then user will enter data in input enabled fields and will press 'EXECUTE' pushbutton added on OOALV toolbar.
3. The newly added data in those two fields will be authorized first and then a BAPI will be called to perform an action.
4. If that authorization fails then an error message will be displayed and user can modify the corresponding entry such as to satisfy input checks and then user will again press "EXECUTE" pushbutton on OOALV toolbar and corresponding action will be performed as mentioned earlier.
So, the query in my program is that, when I enter wrong values in those input enabled fields an error is displayed as required but when i correct those values and press on "EXECUTE" the control goes out of the program.
Thanks in advance !