Hi
You can set the flag VIM_ABORT_SAVING in order to abort the saving process and back to maintenance screen without to go out from SM30
I've found a my old code:
* Check entries with same sorting key
loop at t_sort_key_count.
check t_sort_key_count-tot > 1.
message i398(00) with <...............>
vim_abort_saving = 'X'.
exit.
endloop.
I use e message tyoe I instead of E, in order not to lock the process and back to imain screen
Max