Skip to Content
author's profile photo Former Member
Former Member

Warning into Error Delivery block when creating sales order (Message V1040)

Hi All,

I have found a problem, when our sales team can create order for customer that we already blocked.

I want to block sales team from create sales order for the customer which blocked through XD05.

In XD05, I blocked for the selected sales area (order block, delivery block, billing block, and block sales support).

When sales team try to create standard order, it's blocked.

But when create return order or credit note, it shows only warning message V1040 "Customer 100000 has delivery block: Credit limit" instead of blocked.

I have to block it by change the warning message into error message.

I have read on many article said that it can be change from SE91, but no one can explain the detail step, and I can't found anything to change it on SE91.

Then, I have tried using OBA5, but stuck when I cannot fill application area with V1. I don't know what is the problem. It seems that V1 cannot be selected during OBA5.

Then, I have tried using OVLS, and already check the order for that delivery blocking reason, but it has no effect on blocking from creating order.

Lastly, I tried to enhance SAP exit "MV45AFZZ" but can't found any form that trigger above message.

Please help me.

Many Thanks.


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Sep 16, 2016 at 08:04 AM


    In SAP standard system, message type of V1-messages is hard-coded in programs. Therefore, there is no possibility to change message type of these V1-messages via customizing, such as OVAH.

    Please check following note: 2158525

    For V1040, you need to find out in which program is it issued then modifiy the program directly to change it from warning to error.

    There are two ways to find out related program:

    1. Debug the return order or credit note creation process to find out where V1040 is issued;

    2. Display V1040 in tcode SE91 then press "where-used list" button

    Hope above information is useful for you.

    Best regards,

    Crystal Lin

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 16, 2016 at 08:07 AM

    Try with Include MV45AF0P_PARTNER_PRUEFEN

    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.