09-20-2007 6:37 AM
Hi All,
I am not aware of the concept of copy routines, can any expert throw some ligh on this would be really helpful.
thanks in advance.
Regards,
Karthik
09-20-2007 6:48 AM
hi check this,
transcation code VOFM
https://forums.sdn.sap.com/click.jspa?searchID=5370600&messageID=1230484
https://forums.sdn.sap.com/click.jspa?searchID=5370600&messageID=348123
search for COPY ROUTINES in the SDN forum.
I am sure u will get an idea.
for pricing routine.
1. You have to use VOFM transactino to create new pricing routine..
2. You have to assign the pricing routine to the pricing procedure...which can be done in V/08
If it is related to Sales order first write the required code in the MV45AFZZ include program price related forms FORM USEREXIT_PRICING_PREPARE_TKOMK and
FORM USEREXIT_PRICING_PREPARE_TKOMP.
even after writing this if you are not getting the related output
goto VOFM tcode for wrting the Routines
from menu Requirements-> pricing
You can create the pricing related routines here
Use the Number from 900 only
take the acess key and try to copy the existing routine and change the code to your requirement and keep a break point and see
Activate it before execution
regards,
Prabhu
reward if it is help ful
09-20-2007 6:53 AM
can you please tell what is the need for the Copy routines and if it is used in which kind of business scenarios it can be used.
09-20-2007 7:16 AM
hi,
One scenario like in PRICING PROCEDURE will be maintained for all the Sales order type and Invoice type, It will be done by SD consultant there in that procedure the how the value for the PRICING Condition should come for that particular material, We did like for some material type same PRICING PROCEDURE should pick from the LAST INVOICE where as other in the same way.
so it depends on scenarion please check with your functional consultant.
regards,
Prabhu.
reward if it is helpful
09-20-2007 6:49 AM
Hi ,
Assume you are creating the sales order then after delivery created based on sales order then in copy routines you can those fields copied to delivery based on order type and copy routine configuration .
Also it can used to create a sales with reference to another of same type of quotation .
Please reward if useful .
09-20-2007 7:32 AM
hello karthikeyan,
Please have a habit of giving points to the useful answer.
regards,
Prabhu