Skip to Content
avatar image
Former Member

How to set up Max Grab Qty in an order

Hi Experts,

Can you please help/hint me on how to set up Maximum grab qty (item level) for an order.

For example - If i set up material ABC with 50 Max grab Qty , then you should not be able to raise an order with qty greater then 50. VA01 should block it.

Thanks in advance for the response.

Regards.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    May 15, 2009 at 07:08 PM

    Hi,

    we have a min order qty for a material at mat. master. But if you want a max qty check at order you need to go for an enhancement. We did this by adding a new field to MVKE table ie to the sales views of mat master to input the max order / grab qty. A user exit at order level will check the value entered at mat. master data and would not allow more than that.

    Regards

    Sadhu Kishore

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      to do this enhancement, first decide the user exit and a put a break point. You will notice at the time sales order processing after entering the order qty whether its stopping at the break point or not. Offcourse you need a technical assistance here.

      I guess the line item user exit ie at VBAP, would be more helpful to put the code. The piece of code depends on how you want the logic to work.

      1.Is it that for every sales order you want to trigger this code, or if only in specific cases then you may even need to hard code.

      2. Do you want check that the max order is not crossed even when a user changes the order qty through VA02.

      3. Any other specific check that you want to consider.

      Regards

      Sadhu Kishore