cancel
Showing results for 
Search instead for 
Did you mean: 

Minimum Order Quantity and Maximum Order Quantity

Former Member
0 Kudos

Hi Gurus

Can u fix the Minimum and Manximum Order Quantity for a Particular Sales Order.

if i enter the Minimum Order Quantity in Material Master Record (Sale Org--1 tab), it is working. But it is happening with all the order types.

My requirement is i need this to be happend with only a particular Order type YOR and not with ZOR.

Mininum Order Qty - 5 ea, and

Maximum Order Qty - 10 ea.

so that for this order type YOR for any material the order qty for a line item cannot be less than 5 qty and more than 10 qty

is there any way to do this,

if it is possible by creating an User Exit, please give me Step-by-Step solution.

I do now know how to Create USER EXITS

babu rao

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Check

userexit_save_document_prepare

userexit_number_ranges

in Include MV45AFZZ

Former Member
0 Kudos

HI BABUR,

try to do it in userexit , first in a test system.

you can try userexit MV45AFZZ.

SE38 and programm name MV45AFZZ.

there you can see fields of vbak, vbap or xvbak , xvbap.

the last two are structures.