cancel
Showing results for 
Search instead for 
Did you mean: 

Convert warning message "Mandatory Condition xxx is missing" to error

Former Member
0 Kudos

Dear all,

I have maintained a pricing procedure where condition type PR00 is mandatory. When the user has not maintained a record in VK11, the system displays a warning message "Pricing Error:Mandatory Condition PR00 is missing", with a green flag. When the user tries to save the order, there is a pop-up whether you want to edit the incompletion log or save the order.

How can I change this warning to error? I want a red flag error message, and the user should not be able to save the order, if there is no price.

Thank you in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

There is no such standard message setting to set that message to an Error message.

Though you set as Mandatory is comes as a green error & pop the incompletion log option and from there you can still save the order.

To prevent sales orders getting saved, when Pricing is incomplete, you have a workaround. But please note, this will limit your sales orders getting saved, when sales order is Incomplete. Not only Pricing, it will prevent for all fields in the incompletion log.

Go to Tx: VOV8.

Select your sales order type & go in.

Under "Transaction flow" section mark a tick for "Incomplet.messages" check box.

Then system behavior will be like this.

If sales order is incomplete, it'll not pop that Save/Edit message. Directly it'll guide you to incompletion log, where as user cannot save without completing those. (In your case Pricing)

Best regards,

Anupa

Answers (5)

Answers (5)

Lakshmipathi
Active Contributor

Go to OVA2 and do the following:-

a) Select "B - Sales - Item",

b) Double click on "Procedures"

c) Select "20 - Standard Item"

d) Double click on "Fields"

There maintain as follows:-

Table::Fld nam:::Description::::Scr:::Status

VBAP::::PRSOK:::::Pricing:::::::PKON::::06

Save the incompletion log

Now go to VOV8, select your sale order and execute. There tick the box against "Incomplete messages". This will prevent saving sale order without pricing.

thanks

G. Lakshmipathi

Former Member
0 Kudos

Hi,

Goto the T.Code "VOV8".

Select your document type.Details.

Goto the transaction flow tab.

Check the check box "Incomplete messages".

Save.

Now it will be appeared as an error message.

There are some other alternate solutions also.For this may I know the Message number and Application area.Just double click on the message.You will get the message numebr ane etc... details.

Regards,

Krishna.

Former Member
0 Kudos

Hi

Please add the field VBAK-NETWR in your incompletion procedure for the sales order. So if this has no value it will not allow you to save the order.

Regards

Yatin Thakkar

Former Member
0 Kudos

Hi,

I have tried the change you suggested but the message is still not showing as error.

Anything else I could try?

Thank you.

former_member184555
Active Contributor
0 Kudos

Hi

In the condition type configuration (Tcode V/06)select the condtion type PR00 and for the field 'manual entries' - select the value D and save. Create a new sales order and check the system's reaction.

If manual entries are required in your business process, guess, you have to look for an alternative.

Thanks,

Ravi