cancel
Showing results for 
Search instead for 
Did you mean: 

Block sales order creation based on material qty

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks issue solved

Lakshmipathi
Active Contributor
0 Kudos

Develop the habit of updating the forum properly as to how your issue is solved. The comment you added is not going to help anybody.

thanks

G. Lakshmipathi

Former Member
0 Kudos

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

Former Member
0 Kudos

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