11-02-2006 6:35 AM
hi
as per my requirement i want to create a new routine using VOFM tcode for sales orders
while creating this new routine i have to copy one of the existing routine as it is and i have to add some more logic.
how can i proceed in this case
11-05-2006 8:45 PM
Hi Vamsi,
Your routine would work properly in development server. But if you transfer this to testing server it would not run through your routine. This problem is due to the routine which is not created in main program. But in development program routine it would be created properly. Transfer the generation program to testing server which would create this routine in main program. I forgot the program name but please try R*GEN. I'll let you know on monday.
Thanks and Regards,
Sampath.
11-02-2006 6:41 PM
Go to the routine number that needs to be copied.
Put your cursor on the routine number field that needs to be copied.
Overwrite that number with your new routine number and hit enter.
The new routine will be created as a copy of the old routine and you can modify the new routine as you need it.
Ex.
You have to copy routine 104 to 904
Routine number Description Active
104 Bill.bus.item data X
Put your cursor on 104 and then change it to 904 and hit enter.
904 will be created as a copy of 104 and you can make your changes in 904.
Don't forget to activate it after you are done.
Hope it helps.
Cheers,
-Ramesh
11-03-2006 3:18 AM
hi ramesh
thanks for your answer
if i follow the procedure given by you
can i know weather the old routine exists or it is completely replaced by the new one
ex: as u said copying 104 to 904
can 104 exist after this or only 904
11-03-2006 9:39 AM
hi,
if you copy an existing routine1 to a new routine2, both routine 1 and 2 exists - 2 being the copy of 1.
11-05-2006 8:45 PM
Hi Vamsi,
Your routine would work properly in development server. But if you transfer this to testing server it would not run through your routine. This problem is due to the routine which is not created in main program. But in development program routine it would be created properly. Transfer the generation program to testing server which would create this routine in main program. I forgot the program name but please try R*GEN. I'll let you know on monday.
Thanks and Regards,
Sampath.