cancel
Showing results for 
Search instead for 
Did you mean: 

Blocking Quantity in Sales order

Former Member
0 Kudos

Hi,

We have a requirement to block Quantity in sales order.

PP is not integrated with Sales order, its a MTO ( but actually client does not follow MTO in SAP)

Once the production is completed for that sales order......he want to block the sales order quantity either manually or automatically ( they use a z transaction to declare production complete against sales order ) but this should not stop him doing delivery and billling.

Please let me know how can we do this.

Thanks

Venkata Rama Reddy.K

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

go to img, sd, bf, transfer of requirement and availability check andgo to block qty confirmation screen activate the indicator sales order stock.

regards,

sk

Former Member
0 Kudos

Hi Venkat Ram Reddy,

Can you explain your requirement little bit clear. What I understand is that user should not change quantity on sales order but he can do delivery or billing.

Regards

Nagendra P Boggarapu

Former Member
0 Kudos

Hi,

The Process goes this Way

Sales order is created and confirmed ( by mail ) to PP that production should be started.

PP completes the production and they update the qty against sales order number in a z transaction once production qty matches work order qty. the z transaction stops adding qty in this z t.code.

What customer wants is once they update this ztransaction with complete Qty ( which equals sales order Qty) , the sales order item quantity should be locked automaticallly so that quantity can not be modified once this z transaction is completed.

Hope this information provides clarity.

Please suggest a solution.

Thanks

Venkata Rama Reddy.K

former_member217082
Active Contributor
0 Kudos

Hi Venkat Ram Reddy

So as you want to block the sales order quantity then maintain a authorization role in between PP confirmed order and SD sales order. So as the sales order will be transferred to PP and once the PP consultants confirms the stock for the MTO order then the authorization has to give approval to release the PP stock confirmed to MTO sales order

Regards

Srinath

Former Member
0 Kudos

Hi,

It was useful answer.

As i said for confirming production Qty they are using a Z transaction once the produced qty reaches sales order Qty , Sales order item qty should be locked automatically.

once the qty in the zt.code equals SO item Qty, system should trigger functionality to lock item qty in sales order so that changes to item qty is locked.

This locking of sales order item quantity should not prevent them doing normal delivery and Billing.

Thanks

Venkata Rama Reddy

Former Member
0 Kudos

Hello,

you could add a user exit , one fo the below

USEREXIT_CHECK_VBEP

USEREXIT_CHECK_VBAP

in the exit you could specify code , to check if the quanitty is updated in the z table field and it matches

with order quanitity , if it does so you could grey out the input field for the line item

you could also add osme more reuquirements if you wish to be checked before the filed being greyed for input

hope this helps

Thanks

akasha

Former Member
0 Kudos

Hi,

You can use the user exits

FORM USEREXIT_READ_DOCUMENT

This is usfull to read data in additional tables when the program reads a sales document.

FORM USEREXIT_SAVE_DOCUMENT_PREPARE

This can be used for changes or checks, before a document is saved.