cancel
Showing results for 
Search instead for 
Did you mean: 

How to control Stock deficiency at Sales order/Delivery creation by warning/error message.

former_member407278
Participant
0 Kudos

Dear Team,

Need help on Basic Business Requirement.

Whatever order  quantity created in Sales order ,100 % delivery to be done.As because through Sales order raising proforma invoice for Qty and price confirmation and once proforma confirmed all the quantity as per the sales order to be delivered.

Sales order created for 10 order quantity.

Confirmed  Qty  -2

Delivery document created for confirmed 2 Qty.

Post Goods issue done for 2 Qty

For the above scenario,need a solution to control the stock deficit at order level ,as explained the regarding the requirment above.

How to control the stock deficiency , and how to activate it at sales order level /delivery document level.

Note: Even though confirmed quantity is not available in sales order schedule lines,order should be saved .Warning/Error message  to trigger on stock deficiency in  during delivery creation.

Please help how to notice the above  requirement.

Thanks & Regards,

Kumar Babu.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kumarbabu,

Please try the following:

Change your availability check for SO and for Delivery to check on available stock only.

That will confirm the order only if stock is available. Same with delivery.

Configuration:

OVZ9 > select your availability check and the appropriate checking rule > make the following selections:

Stocks - select according to your business needs

Select "Check without RLT"

In/outward movements - DEselect everything except "include deliveries"

Also you can set in customer master "complete delivery" indicator if that is your requirement.

Limitations here:

If you try to partially deliver an order to which you have assigned a complete delivery indicator, the system will inform you that the customer requires complete delivery of the order. However all items must be delivered at the same time. The items cannot have different delivery deadlines.

However business should be aware: they are loosing flexibility to create SO based on production/PO orders which are on the way. That is usualy big detrement.

Hope it helps.

Arkadi

former_member407278
Participant
0 Kudos

Dear All,

Please let me explain my requirment in detail once again.

In Sales order for line item ,Confirmed Qty is zero.

Delivery document ,zero confirmed stock in not picked.

Requirement is Zero Confirmed Qty from Sales order to be copied to delivery document.

Activated the same in delivery Item Category.

Please suggest what config required for  copying the Zero confirmed ,sales order qty to delivery document as per the business requirement.

Assuming the same is  available in standard sytem.

Thanks & Regards,

Kumar Babu.

Lakshmipathi
Active Contributor
0 Kudos

I feel, you have not tested how system is behaving, before posting this query.  System will certainly allow you to save the sale order even if stock is not confirmed.

G. Lakshmipathi

former_member407278
Participant
0 Kudos

Dear lakshmipathi,

I can understand the standard system behaviour,Sales order is saved even schedule lines are not fully confirmed.

Deficit stock should be taken care, and system to trigger the deficiency during delivery creation.

How to implement the same is standard process.

Thanks & Regards,

Kumar Babu.

former_member407278
Participant
0 Kudos

Dear  All,

Please help me ,how to trigger the above requirement.

Note: When there is stock deficit at Sales Order  level, System excluding the line  item with zero schedule lines/ or only with available stock.

How to trigger the error message"Deficit of stock for material " in unrestricted

Thanks & Regards,

Kumar Babu.

Former Member
0 Kudos

Hi,

try userexit_save_document_prepare in MV45AFZZ. Here you could pop up a message and / or set a delivery block in the sales order if all stock is not confirmed. As for the help of an abaper.

Regards,

JM

former_member407278
Participant
0 Kudos

Dear Joan,

I assume in standard system ,there would be an option to display error message during delivery/PGI, where sales order quantity requirement and confirmed quantity variates.

If the  above user exit is used,for pop message/delivery block it impacts other business process too.As the requirement is to be triggered for special business process.

Note:Mentioned special process,Where after creating sales order ,proforma invoice is generated,and once the proforma is confirmed  the Sales order to be delivered@ 100% with no stock deficiency.

Thanks & Regards,

Kumar Babu.

0 Kudos

Hi Kumar,

You can remove the schedule line of the Sales Order from availability check. If you do this then Sales order can be saved even if there is Deficit stock.

And for deficit stock message you can use User Exit. Check the stock using the Functional Module: ZZM_GET_STOCK_DETAIL3 with the item quantity.

With regards,

Samyak