cancel
Showing results for 
Search instead for 
Did you mean: 

Order block in customer master

Former Member
0 Kudos

Hello,

Is there a way to prevent users from updating existing sales orders once relevant customer account has been assigned an order block. As per SAP help document std configuration only prevents new order entry once the block gets assigned, but one can still enter/update line items in existing sales orders for that same customer account.

System only gives a warning message V1-423 at the time of order change (VA02) once the order block is assigned to customer master. One way would be to change that warning message to error, but then is that standard option? If it is where in configuration can I change this warning message to error?

Thanks in advance

Vijay

Accepted Solutions (0)

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

Try with note 44063

thanks

G. Lakshmipathi

Former Member
0 Kudos

Lakshmipathi,

Thanks for checking. Note 44063 has mentioned symptom as 423 appears to be error message, where as in my case it isn't. I would like to make it an error for VA02.

Regards,

Vijay

Former Member
0 Kudos

Hi,

Yes,for this there are two options.

1.By using the T.Code:SE91.

Enter the class as V1 and number as 423.

Click on Change.

Click on where used list.

Check programs and uncheck all.

Enter.

A list of programs will be displayed.If you double click on any program then,the lines where it is used are displayed.

Identify your warning message line.

Double click on it.

Change it from W to E before the numebr 423.

Save.

2.Unassign the block assigned for your customer in XD05 for your sales order type.

Suppose 01 is the block assigned for your customer.

Goto SPRO>Sales and Distribution>Sales>Sales Documents>Define and assign reason for blocking.

Assign reason for blocking.

Suppose "OR" is your document types.

Delete the entry 01,OR in this table.

Save.

In this case for this order type,you can create or change the order even though the block is assigned to it.

Regards,

Krishna.

Former Member
0 Kudos

Hi Vijay

Please use USEREXIT_SAVE_DOCUMENT_PREPARE or USEREXIT_SAVE_DOCUMENT for program MV45AFZZ, such that while saving any sales order through VA02 for blocked customer it will display error message.

Take help of your ABAPer to implement the same.

try and revert

Former Member
0 Kudos

Krishna,

Thanks for the response, but this isn't what we want. We would like system to generate an error message as soon as anyone tries to update a sales order for a blocked customer. We DON'T want user to update existing orders when customer has been blocked for order entry.

Regards,

Vijay

Former Member
0 Kudos

Yadav,

Thanks for your comments, but we would like to prevent users at the very initial screen just after they enter a sales order number in VA02.

If the customer in on order block then system shouldn't even go to order change screen, it should either direct users to VA03 or if possible jump directly to display overview screen for that sales order.

Regards,

Vijay.