I have written BDC for tcode MFBF.
In this i have given an invalid storage location , so that MFBF gives error .
When error occurs, the system displays the exit processing message box which says
Do you want to exit processing - Yes/ No /Cancel
Logically user should press Yes.
If the user chooses yes, i have written certain block of code that should be executed.
When user accidently presses No or cancel , document gets generated.
This should not happen.
How to force the user to press Only Yes ?
If the user presses no or cancel nothing should happen, cursor should remain in the current screen
forcing the user to press only yes .
How to do this ?