Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

what is copy routine?

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

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

0 Kudos

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.

0 Kudos

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

Former Member
0 Kudos

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 .

Former Member
0 Kudos

hello karthikeyan,

Please have a habit of giving points to the useful answer.

regards,

Prabhu