01-13-2009 2:47 PM
Hi Experts,
I am writing a copy control routine for maintainence quote
from sales quote.Where do i have to write it in VOFM?
Is it in copying requirements or data transfer.
Actually according to the business all the line items from the sales quote are copied
into the maintainence quote and additional line items are added into maintainence quote
and the line items copied from the source document are linked to the two newly added
line items.
Please advise.
And is it possible to add the 2 new line items to the new document into VBAP at the runtime?
Regards,
Chitrasen
01-13-2009 3:24 PM
First of all you have to have a link between the sales documents. You can check it in Tcode: VTAA. if not, talk to your functional people. Try to make this equal to quote to order but instead make it quote to quote.
You need to put break point in copy requirement as well as in data transfers and check for your requirement.
Well, the code you want to put in will be the requirement
I am not sure if you can add 2 line items runtime into quote. this has to go through different checks and i dont think it is possible.
Good luck