cancel
Showing results for 
Search instead for 
Did you mean: 

Qty restriction in sale order

Former Member
0 Kudos

Hi friends,

Can we restrict the qaunatity in Sale order based upon the user who logs in? Or else based on anything? I just want to restrict the user to give the sale order quantity upto some extent. So that user can enter only below that quantity? Is it possible? If so please tell me the settings?

Rama Rao

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member184555
Active Contributor
0 Kudos

Hi

You can as well use the functionality of 'Maximum Document Value', if your requiremenent is not exactly for ordering material but to check the order value.

If you want to limit the ordering quantity, you have to use the Userexit (userexit_save_document_prepare or Userexit_save_document).

You have to create a Ztable and you have to maintain data in that table like., Material and the maximum quantity allowed.

When you create the sales order and before saving it, the system checks the order quantity in the order with the maximum allowed quantity given in the table and if the value is more, it will respond as per our programming (you can round it to the max allowed quantity). Like wise it checks for all the items in the sales order.

Thanks,

Ravi

Former Member
0 Kudos

Hi Thanks for your reply.

Any other solutions without user exit?

Rama rao

Former Member
0 Kudos

there is a need of user exit to carry the required functionality