on 2014 Jun 26 6:52 AM
Hello Experts,
I have a requirement where while creating return sales order with reference system should propose total delivered quantity instead of quantity in original sales order.
I tried to copy routine 151 in VOFM but after the changes proposed quantity in return sales order is appearing as addition of original sales order quantity and total delivered quantity.
example:
Original sales order is having quantity = 100
total delivered quantity = 45.
default proposed return sales order(with reference) quantity = 100 (here system should propose 45 not 100)
In copy routine if I change VBAP-KWMENG to 45 then in return sales order system is proposing 45 + 100 = 145 but I need system should only propose 45.
I had searched the community but no where I found the solution.
Please help.
As you have already copied the standard routine 151 and you added your own logic--ask your Abaper how to go ahead--he can help you on this.
Phanikumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Shubham,
Please take help of ABAPer and debug it. How the system takes Propose quantity and Sales order quantity while copying. After identify change the logic .
Regards,
Manoranjan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shubham,
First question is what is the qty in your billing document (above example)?
If it is 45, same as PGI qty, then you can follow Lakshmipathi's suggestion.
In VTAF, copy control (bill > RE order), set up to create RE order with reference to billing document.
Note: You will have to delete the entry (already existing) for RE process in VTAA (order > RE order)
TW
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The problem is we can not go with the process i.e. to create return sales order with reference to billing document as there are many other customizations already developed on existing process of creating return sales order with reference to sales order.
So we need the solution in which return order(RE) should be created which should propose quantity as the total delivered quantity with reference to sales order.
For the reference order only delivery document is posted in the system.
Return Order should always be created with reference to billing document. I am not sure, why you were creating a return order with reference to sale order which is wrong approach. Try having copy control from F2 > RE, test with the same case as you explained here and update on the outcome.
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
116 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.