Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error message MV50AFZ1

Former Member
0 Likes
1,499

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

4 REPLIES 4
Read only

Former Member
0 Likes
961

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

Read only

Former Member
0 Likes
961

What do you see if you double click on the error message?

rob

Read only

Former Member
0 Likes
961

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

Read only

former_member1733
Discoverer
0 Likes
961

HI, have you solved? i have the same question.