cancel
Showing results for 
Search instead for 
Did you mean: 

Validation at Sales Order

Former Member
0 Kudos

Hi Experts,

I have created Sales Order with 0.5 quantity  & then  delivery for say material A Whose Unit of Measure is NR(Pieces).The System had allowed to do so.

But when it replicated to EWM system it has malfunctioned.

So now how to put a validation so that for Mat A whose unit of measure is NR(piece) should not allowed to created Sales Order & Delivery with 0.5 Qty?

So that it future it will not allow user to create such Sales Order & Delivery Which will prevent to malfunction in EWM sytem.

So please help me out.

Regards,

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Rock D'Mello,

Was my answer for your "validation of Sales Order " query helpful to you?

Umesh Karane.

Former Member
0 Kudos

Hello Rock,

Your requirement is that you want to block the qty which in decimals ie 1.5 ,0.5 ,etc and stop the creation of such Order  & Delivery .

You can use the following method:

The Sales Order qty field (WMENG) in stored in the Schedule line table - VBEP .See attached Screenshot.

Check if any User-exit is already present for the Sales Order Creation Program in your System. If not then create an User-exit ,with a ABAPer's help.

Add the code in the User-exit to check the value of this Field .

The value has to be in Whole numbers . If the value is in Decimals, then DISPLAY an ERROR message in Screen and the Order shold not be SAVED.

Hope you resolves your query.

Umesh Karane.

Shiva_Ram
Active Contributor
0 Kudos

Can you check the Delivery unit filed in the material master -sales:sales org1 view? Here you can add 1, so that user can create only multiples of 1.

Regards,