Skip to Content
0
Former Member
Jun 30, 2009 at 06:04 AM

Stop execution of a function

485 Views

Hi all

In the user exit MV45AFZZ, I would like to stop the delete processing in some case and throwing a message to the user.

MV45AFZZ:

 
FORM userexit_delete_document.

  if A > B.
    Stop process and throw message.
  endif.

ENDFORM.                    "USEREXIT_DELETE_DOCUMENT

Can someone tell me how to do so?

Thank you.

Olivier D.