Skip to Content
0
Former Member
Jun 04, 2008 at 03:45 AM

An interesting abap dump in MV45AFZZ when delete order

781 Views

Hi all.

In 'userexit_save_document_prepare' form of MV45AFZZ which is the SO order save uerer exit, I insert 'message e398(00)...'.

When I save the order , the message does work.

When I delete the order , program dump on message .

Because ...

-


During "Exit Command" processing, the program tried to send a " " message.

This is not allowed at this point in processing.

The program had to be terminated.

-


I think SAP dump it with reason.

Delete is "Exit Command"

But how can I stop the 'delete' process in MV45AFZZ.

Is there a globe variable names like 'NOT_SAVE' or a standard message table to collect my message instead of message it directly.

Edited by: shen yu on Jun 4, 2008 5:46 AM

Edited by: shen yu on Jun 4, 2008 5:46 AM

Edited by: shen yu on Jun 4, 2008 5:47 AM