‎2008 Dec 04 2:39 PM
Hi
In the user exit MV50AFZ1 i am creating an include and in that i am giving an
error message "That the delivery should not be deleted " when we are trying to deleate a delivery , but after the error message it is going to a dump saying Illegal error message.
how to prevent this
‎2008 Dec 04 2:51 PM
These are the available user exits on that program:
Program Exit MV50AFZ1 USEREXIT_DELETE_DOCUMENT
Program Exit MV50AFZ1 USEREXIT_MOVE_FIELD_TO_LIKP
Program Exit MV50AFZ1 USEREXIT_MOVE_FIELD_TO_LIPS
Program Exit MV50AFZ1 USEREXIT_NUMBER_RANGE
Program Exit MV50AFZ1 USEREXIT_READ_DOCUMENT
Program Exit MV50AFZ1 USEREXIT_REFRESH_DOCUMENT
Program Exit MV50AFZ1 USEREXIT_SAVE_DOCUMENT
Program Exit MV50AFZ1 USEREXIT_SAVE_DOCUMENT_PREPARE
‎2008 Dec 04 3:04 PM
‎2008 Dec 04 3:28 PM
In the routine .. 'userexit_delete_document' ..
instead of calling a error message try changing the value of 'lf_subrc' to not eaul to zero and see ...
Thanks,
Aditya. V
‎2021 Aug 04 3:24 AM