Skip to Content
author's profile photo Former Member
Former Member

Minimum Order Quantity and Maximum Order Quantity

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 09:26 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 09:30 AM

    Check

    userexit_save_document_prepare

    userexit_number_ranges

    in Include MV45AFZZ

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.