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

Block sales order creation based on material qty

Hi,

In my scenario i want to block the sales order creation based on material qty , how i can do this?

Example:

Material qty below 100 = able to create sales order

Material qty above 100 = not able to create SO

Thanks,

Arun

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2011 at 07:48 AM

    You need to go to sales order userexit development, no standard way you can restrict based on quantity.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2011 at 09:03 AM

    Hi

    For restricting the order if it is less than a specified qty, you can maintain the 'min order qty' in material master.

    But your requirement is the other way round - Restrict order if it is more than specified qty.

    In this case, you need to use the following sales order exit in progran MV45AFZZ

    u2022 USEREXIT_SAVE_DOCUMENT_PREPARE

    Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.

    The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.

    Hope this helps.

    Regards

    Madhu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 29, 2011 at 06:42 AM

    Thanks issue solved

    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.