cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Delivery should not be allowed to create if there is no stock

former_member200650
Active Participant
0 Likes
2,708

Hi All

I have the below requirement.

System should not allow to create outbound delivery if the there is NO stock ( in my case without doing MIGO).

Our scenario is : VA01->PR-PO-MIGO->MIRO->OBD->PGI->VF01.

The issue in SO we have 300 line items in which say for 3 line items- PO->MIGO done. So here when user tries to create delivery with ref to sales order system is allowing to create delivery, picking for all 300 line items. However, system is allowing PGI only 3 line items which got MIGO done.

User has to delete all the remaining 297 line items in delivery manually.

Requirement: System should allow to create delivery only for 3 line items which got MIGO done.

Other Information:

Followed some existing treads and implemented the following but did not work. referred this link but did not work.

https://answers.sap.com/questions/12492706/delivery-should-not-be-created-if-stock-is-not-ava.html

Activated OVZ9 both at sales order level and delivery & in 0vLP for delivery item cat maintained in Check qty 0 ( B

0vlp-ovz9.png

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

jignesh_mehta3
Active Contributor

Hello,

We had a similar (not exactly same) requirement.

The requirement was in case of Third Party (Individual PO) Items, the Delivery should not be created, until Purchase Order is created from the Purchase Requisition.

For this we have done a small development in MV50AFZ1 to check the status of the Purchase Requisition and not allow to create the Delivery if Purchase order is not created for all the Line Items.

May be you can also implement such a enhancement to check if the Goods Receipt is done or not (for each Item).

Thanks,

former_member200650
Active Participant

Thanks Jignesh for your reply! I think so I would need to implement the similar logic for my case also. I will update about the next action plan.

Lakshmipathi
SAP Champion
SAP Champion
0 Likes

Check quantity 0 at delivery item category should work. If you have changed the configuration after creating this discussion and trying with the same old order, it will not work. Create a new sale order with multiple items and test it. It should work.

former_member200650
Active Participant
0 Likes

Thanks so much for your reply! Yes i created new order still it is not working.

maximiliano_isoba
Contributor
0 Likes

Hi Rakesh,

I would suggest to check T-CODE VOV7 for the used item category and check it against CBAB item category.

Regards,

Max Isoba.

former_member200650
Active Participant
0 Likes

Thanks for your reply! Not sure what exactly you are saying. I do not think VOV7 Item cat controls this requirement.

maximiliano_isoba
Contributor
0 Likes

Hi Rakesh,

It is worth the test since CBAB is an item category used for purchased items and it uses special stock 'E'.

Regards,

Max Isoba.

former_member200650
Active Participant
0 Likes

Thanks Max Isoba for your reply! in my item cat(ZPSP) also has special stock(E) is maintained.