cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Order Availability Check

Former Member
0 Kudos

Hi Experts,

We have a scenario where a material has stock of 20 pieces . We create a sales order with line 1 of the material with order quantity as 15 pieces and another line of the same material with order quantity 10 pieces. When we hit save , it saves the order and creates a delivery for both lines though there is not enough stock. Note :  We do not create back orders. Any way we can avoid creation of delivery ?

Thank you

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi All ,

The availability check in this case is line wise , and not the cumulative order quantity for both the lines of the same material. Is there any setup to consider the total quantity of that material in the order but could be part of different lines.

former_member223981
Active Contributor
0 Kudos

In OVZJ, set the "Avail Check Rule" to "B". And in the Sales order, set the "Complete Delivery" indicator. This will ensure that no delivery will be created

Former Member
0 Kudos

Hi i tried that it doesn't help. The availabilty check must be carried out for both the lines of the same material. here it does line wise and confirms availablity for both the lines  of the same material though the stock is not sufficient.

former_member223981
Active Contributor
0 Kudos

Can you post screenshots of the exact steps you are taking that leads to this issue? I will try reproduce on one of my systems then to see if I can see the same behaviour.

Former Member
0 Kudos

Ashwin,

             first make sure if the ATP check was active for this item category or for this sales area if this is not checked then you delivery will be created even if there is no stock. You can control this durng PGI you can set ATP check before doing PGI.

former_member182378
Active Contributor
0 Kudos

Ashwin,

In the sales order, at header level, activate field "Complete delivery".

When saving the delivery with less than qty in the sales order, the system shall give a Warning message "Customer has requested complete delivery", Message no. VL049.

This warning message has to be converted in to an error message. Thereby delivery would not be created.

Lakshmipathi
Active Contributor
0 Kudos

it saves the order and creates a delivery for both lines though there is not enough stock

It seems automatic delivery creation is configured in the above Business process and if you want to control this, you have to go with delivery exit.  On the other hand,  if delivery is executed manually via VL01N or VL10C, this can be controlled by selecting the line item number (POSNR)

G. Lakshmipathi

phanikumar_v3
Active Contributor
0 Kudos

Respected Lakshmipathi,

I am unable to catch your opinion here--can you be little more descriptive on your reply sir...

How we can restrict with the Delivery exit and VL01n/VL10c(POSNR)...

Pl help..

Phanikumar

Lakshmipathi
Active Contributor
0 Kudos

In those TCodes, you have the option to input the line item number and for the above requirement, if stock is confirmed only for the first line item, then you input only 10 against the field "Item" and execute.

G. Lakshmipathi

phanikumar_v3
Active Contributor
0 Kudos

Thanks Lakshpathiji for your patient answering..clarrified...

Phanikumar

Former Member
0 Kudos

Hi

The availability check in this case is line wise , and not the cumulative order quantity for both the lines of the same material. Is there any setup to consider the total quantity of that material in the order but could be part of different lines.

Former Member
0 Kudos

Dear Ashwin,

this may Availability check maintain or Configuration issue.

kindly go through the following threads, which will be helpful.

http://scn.sap.com/message/6338682

http://sapfunctional.com/SD/AvailabilityCheckConfiguration.htm

kindly check & revert.

regards,

Vikram

Former Member
0 Kudos

Hi

If there is limited stock, and system is allowing you to create delivery for more than the available stock, it means that it is considering the future incoming PO schedule also to create the delivery.

As rightly pointed out by Phanikumar, check if you are able to do PGI for these deliveries, ideally it should not allow for normal goods movement relevant items.

You can check in the ATP scope of check in OVZ9 - carry out control for ATP, if you are considering incoming PO qty for the checking rule "B" i.e. used during delivery creation.

To stop delivery creation, you can remove this tick for "Incl Purch orders" or "incl purch requis".

Hope this helps

Former Member
0 Kudos

Hi

There is no tick for  "Incl Purch orders" or "incl purch requis" and yet it does create the delivery.

Former Member
0 Kudos

Hi

The availability check in this case is line wise , and not the cumulative order quantity for both the lines of the same material. Is there any setup to consider the total quantity of that material in the order but could be part of different lines.

phanikumar_v3
Active Contributor
0 Kudos

Dear

Are you able to do the PGI for these two line items???

System may confirm  and may not confirm stocks based on your following settings:

1.Delivery blocks

2.Schedule line Blocks

3.Customer blocks

4.Credit blocks

5.Avbl customizing

6.Any authorization blocks.

Also have you maintained KP-No check for your material in MMR...If it is 01--system may confirm in va01--but restrict in PGI time..

Also what checking rule has been taken (as an additional info)--- please let me know...

Phanikumar

Former Member
0 Kudos

Hi ,

Thanks for your input here. No We cannot PGI . Its not KP for my material in MMR config .

Former Member
0 Kudos

Hi

The availability check in this case is line wise , and not the cumulative order quantity for both the lines of the same material. Is there any setup to consider the total quantity of that material in the order but could be part of different lines.