I am afraid doing commit (and rollback) in user exit.
But I will try it:
IF problem_exist.
ROLLBACK WORK.
SEND_EMAIL
COMMIT WORK.
MESSAGE 'E'.
ENDIF.
I am afraid doing commit (and rollback) in user exit.
But I will try it:
IF problem_exist.
ROLLBACK WORK.
SEND_EMAIL
COMMIT WORK.
MESSAGE 'E'.
ENDIF.