cancel
Showing results for 
Search instead for 
Did you mean: 

Availability check during Sales Order Creation

Former Member
0 Kudos

Dear SD Gurus

In our client sales orders are being created even if we don't have inventory. We want to disallow users from creating sales orders if stock is not there or if stock is less than the order quantity.

example-

Material code - M0001, Stock in Unrestriced use is 10 EA.

System should allow to create sales order upto 10 EA only. If the sales order quantity is more than 10 EA , system should throw an error message and not allow him to create or save the sales order.

kindly revert back.

regards

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

You can try with writing a coding in your existing routine or try with the following sale order user exits

- User exits in the program MV45AFZZ - USEREXIT_READ_DOCUMENT

- User exits in the program MV45AFZZ - USEREXIT_SAVE_DOCUMENT

thanks

G. Lakshmipathi

Answers (4)

Answers (4)

Former Member
0 Kudos

We didnot use userexit as our ABAPer is not available for few days.

But Incompletion Procedure for schedule lines is giving the required result.

Problem solved.

thanks all ....

former_member550050
Active Contributor
0 Kudos

Dear Sagar

This is a very valid information on your part the requirement you have achieved in the standard itself

Because many times this qn has come and closed with reply of user exit only

If you could share us what was exactly the field added in the incompletion procedure for the schedule line category to achieve this requirement and that will be very useful to me and many others too

Thanks in advance

Regards

Raja

Former Member
0 Kudos

hello, friend.

try this...

please check if your availability check considers replenishment lead times, purchase order, planned orders, etc. if so, untick these, or copy the standard check rule into a Z-rule and make the settings there. afterwards, assign this rule to the appropriate organizational units.

regards.

former_member550050
Active Contributor
0 Kudos

Hi

This is not possible in standard settings

For your requirement you need to go for user exit

Check this thread and this also has exactly the same requirement

Forum post in ERP - Sales and Distribution (SD) General: Availability check at Sales Order Create

Regards

Raja

former_member184555
Active Contributor
0 Kudos

Hi

This can be achieved by maintaining proper value in the customer master record for the filed 'Partial Delivery Indicator'. The different values for that field are.,

"Blank"- Up to maximum number of partial deliveries permitted are allowed

A - One delivery attempt carried out on requested date

B - One delivery attempt carried out on any date

C - No partial deliveries allowed

D - Any number of subsequent deliveries allowed

If we maintain A in that field, the system confirms the available stock for that requested delivery date and will not create extra schedule lines for the balance quantity. Please go through the below link of SAP help documentation on partial deliveries.

http://help.sap.com/saphelp_crm40/helpdata/en/dd/5607f4545a11d1a7020000e829fd11/content.htm

Thanks,

Ravi