cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

Regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

Lakshmipathi
Active Contributor
0 Kudos

Try with Include MV45AF0P_PARTNER_PRUEFEN

Former Member
0 Kudos

Hi Lakshmi,

Thanks for your answer. But I think its better to leave what SAP have.

Is there any simple solution to my problem?

Regards.

former_member200027
Active Participant
0 Kudos

Hello,

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:

http://service.sap.com/sap/support/notes/ 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

Former Member
0 Kudos

Hi,

Many thanks for your detail explanation, I think I will find another solution to block from creating sales order because of delivery block. Any suggestion?

Many thanks & Regards