Skip to Content

Prevent delivery save using save_document_prepare, MV50AFZ1

Dear users,

I have done a development that issues error messages based on certain conditions. The error message comes up, but when the user presses enter, it disappears. When the user presses "SAVE" again, the delivery is saved without going again into save_document_prepare. But, I do not want to allow saving the delivery when this error comes up. Has anyone come across this issue before? What is your suggestion.

I have considered isuing a exit message, has anyone another idea?

Thanks in advance. <Reward offer removed by moderator>



Message was edited by: Vinod Kumar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 16, 2013 at 03:38 PM

    BAdI LE_SHP_DELIVERY_PROC is the ideal one. Use the method DELIVERY_FINAL_CHECK & populate the error message in the structure CT_FINCHDEL.

    Regards, Vinod

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 16, 2013 at 03:27 PM

    First read Note 415716 - User exits in delivery processing, if not already done.

    I suppose that the exit is called a second time but not in display mode, can you check it ?




    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.