cancel
Showing results for 
Search instead for 
Did you mean: 

Set error message in sale order

Former Member
0 Kudos

Hi,

I want to put set the error message for given fields in sale order.So that order can not be save without filling the given fields.

Fields are -

Shipping type

Personnel Number

Material freight grp

Net value

Pricing

Harsh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Harsha,

My thoughts item 2,4 & 5-

1.Shipping type

2.Personnel Number - Since this is partner function coming from your customer master, am not sure if it can be covered with incompletion log - if not you would need a piece of abap code in save_document_userexit to check if the partner function was filled.

3.Material freight grp

4.Net value - If the sales order item category needs to be priced, then this field is already marked required for sales document completion. No change needed

5.Pricing - If the sales order item category needs to be priced, then this field is already marked required for sales document completion.No change needed

regards

sadhu kishore

Lakshmipathi
Active Contributor
0 Kudos

First note down the required field name and its table. Next go to OVA2, select the required option and assign those fields there. Finally, assign this incompletion log to your sale order type in VOV8.

thanks

G. Lakshmipathi

Former Member
0 Kudos

Hello,

add the fields to the incompletion log and set the flag TVAK-DIAFE in the VOV8 for the order type.

Regards,

Tamá