on 10-07-2013 12:58 PM
Hi All,
The customer has created a value contract of Rs.100,000.
Now the sales order has been created for 10MT where the net value is Rs.50,000 which is followed by delivery creation .
Now the user modifies the delivery and pick quantity as 9.5MT and does PGI.
During the PGI the user wants that the order quantity and value should be updated during PGI .
How is this possible??
Can someone please help.
Hi Saurav,
While processing the delivery, you can use exit MV50AFZ1 (User Exits for Delivery Processing) and try to put ABAP code to update the order qty equal to PGI qty. You can give a try to update. You should update the order qty at the time of PGI.
For more information on user exits available you can refer following links:
https://scn.sap.com/message/6118829
http://wiki.scn.sap.com/wiki/display/ERPLO/SD+User+exits
I hope this will help.
Regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not only validating via Delivery User Exit will suffice the requirement. You also need to change the status of Sale Order to Completed. To achieve this, you can try with USEREXIT_SAVE_DOCUMENT_PREPARE in program MV50AFZ1 where you have to validate in such a way that as and when PGI of a delivery is completed, system, in the background, should run the standard program SAPKKA12 or SDVBUK00 (you need to check with program suits the Business process) and change the status to Completed.
G. Lakshmipathi
Dear Saurav,
Once the SO is completed, you don't have any option to change the quantity of change sales order screen.
If the sales order is open then the quantity field will be in white and you can change the quantity and proceed further.
Also, please refer this link it may helpful to you https://scn.sap.com/thread/1603920
Thanks
Anand Kumar KS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sourav,
Suppose you created Sales Order for 10 qty and you created delivery for 10.
During Picking /PGI you changed it to 5 and picking /PGI done for 5.
Now if you go to the Sales Order Status overview you will get delivey ststus as partially delivered and balance 5 qty will remain as open . Which you can deliver thru creating new delivery.
This is being controlled thru Copy Control from Sales Order to Delivery Type.
Best Regards/Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurav,
The SO quantity will not be changed if you deliver less quantity, but please tell in detail why user wants SO quantity to be changed? if SO qty is 10MT and delivery quantity is 9.5 MT then 0.5 will be the balance quantity and it will be shown in schedule line, question is what is the requirement exactly to make SO qty as 9.5MT?
Regards
Ashutosh Singodia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Saurav,
My question to you actually is if the SO qty is 10 and delivery qty is 9.5, whats the issue in that... why user wants to make SO qty to 9.5? let it be 10 only, you can also track how much customer ordered and how much we actually delivered...
However in standard SAP SO quantities can't not be changed like this automatically, but check with the abaper if he can write a enhancement for this.
Regards
Ashutosh Singodia
User | Count |
---|---|
91 | |
10 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.