cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Delivery quantity

Former Member
0 Kudos

Hi Friend

I created 1 sales order "OR" and then created delivery for this order. After creating delivery if i do some changes in delivery quantity like if i increase or decrease order quantity in delivery document, System should generate error message that over delivery is not allowed. But in my case my system do not generate any error message and also order should updated automatically but it is not happening

Similarily when i add one more item in delivery, order should gererate error message and order also should updated but my order do not show any updation.

Can any one please tell me where i should do changes in customisation.

Rajesh

rajeshsap@hotmail.com

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Situatio 2: Error message to be created if a new line item in delivery.

This too can be acheived through config. In transaction "0184 (Zero 1 8 4)" , delete the Item category determination for the reqd. delivery type, Item Category Grp and where Usage is blank. This may return error messages for line items added directly to the delivery as the system cant determine the item category for the same.

Please test this out and reward points if it helps you

Rgds

Former Member
0 Kudos

Hi Nageshwar

Thanks, i use this transection and now if i add item in delivery, system do not allow and my problem is solved.

Thansk

How i can give reward point

Rajesh

Former Member
0 Kudos

Hi Nageshwar

My problem is solved, but lest side entry "solved problem" is in display mode. How i can click it

Rajesh

Answers (3)

Answers (3)

Former Member
0 Kudos

hai,

if u want the system to give error when u change the delivery quantity which is more than the order qty then check out the item categories for deliveries ,

t.code(OVLP) the under check for overdelivery category put B(error when system exceeds delivery qty more than order qty).

this will solve it.

regards

sriram

Former Member
0 Kudos

Hi Sriram,

I tried this it now it is working

Thanks

Rajesh

Former Member
0 Kudos

HI Rajesh,

As Sadhu suggested these are not standard requirements & hence you dnt have any customization in SPRO and this could be achieved using User Exit in Delivery. take the help of a ABAPer to achieve the same.

Regards

Srini

Former Member
0 Kudos

Hi,

Please get in touch with your abap er as there user exits which can be written to avoid this situation.

Let me explain you further one more situation.

First one, Your query is if for item A ord qty is 6 the system saved the delivery with 8 qty which is greater than ordered quantity. The system gives a warning doing this.

Second Situation :

Say item A ordered qty is 5, and i made a delivery for 3 and saved it. Now the open quantity on the order is only 2. (5 -3 =2). But one of our users reduced the ordered quantity to 2 despite saving a delivery with quantity 3.

so the situation is ord qty is 2 and delivered is 3 qty. which is again wrong. But while reducing the ordered quantity less than the delivered quantity the system gives a warning message telling " ORDERED QUANTITY IS LESS THAN DELIVERED QUANTITY ".

Also just imagine we made delivery for qty 5 and invoiced it.After which you reduced the delivered quantity to say 3. So delivered is 3 but invoiced is 5.

See in MV45AFZZ for the suitable user exit. Also make sure the same is written even for VA02 where changes to ordered/delivered can be done resulting in this kind of error situations, in USEREXIT_SAVE_DOCUMENT_PREPARE.

Hence for these kinds of practical problems we have addressed them through user exits with the help of our ABAP'ers by turning those warning messages into error messages by selecting the suitable message class.

Hope the explanation helps you. And thanks for all your patient reading.

Please reward if helpful.

Thanks & Regards

Sadhu Kishore

Former Member
0 Kudos

Hi Sadhu

Thanks for the reply. So for the delivery is not giving any warning message and order is not updating, THIS problem can be solved with the help of ABAP'rs only.

I do not have any knowledge in ABAP prpgramming, how i can solve this problem by using USEREXIT.

Rajesh

Email: rksingh177@hotmail.com

Former Member
0 Kudos

Hi,

sorry.. but its a specialised skill of abaper to use user exits. We need that skill to do it. But then you can improve or add the technical dimension knowledge by some abap text book or going to the abap forum.

Thanks

Sadhu Kishore

Former Member
0 Kudos

Hi Sadhu

Thanks.

Rajesh

Former Member
0 Kudos

rajesh, if you feel the thread is answered pl mark it as answered.

Thanks.

Former Member
0 Kudos

Hi Rajesh

Situation 1: The system doesnt return an error message of the delivery qty is less than order qty. However, it can return an error if you try to change delivery qty to be more than order qty. This does not require any ABAP changes, it can be achieved by the following config setting.

Goto transaction "0VLP (Zero V L P)" . Double click on the relevant delivery item category. In the tab ty, set "Check overdelivery" field value to "B".

Please reward points if this helps you

Rgds

Former Member
0 Kudos

Hi Nageshwer

Thanks, i tried this transection, and then tried to increase quantity in delivery, system not allowing me to change/save - this i wanted. My problem is solve.

Thank you very much. How i can give reward point

Rajesh

Former Member
0 Kudos

Hi Sadhu

Thank. My problem is solved by using transaction code 0vlp and 0184. It was not required to take help from ABAP'rs. But replied so quickly, thanks

Rajesh

Former Member
0 Kudos

Thanks Rajesh