‎2008 Nov 20 1:42 PM
Moderator message: please use a more meaningful subject in future
Can some one tell me with an example as to why we create routines in VOFM transaction .
What is there use and advantages ?
Edited by: Matt on Nov 20, 2008 3:17 PM
‎2008 Nov 20 1:51 PM
‎2008 Nov 20 1:53 PM
‎2008 Nov 20 1:52 PM
Hi,
The routines are basically the calculation types related to the condition types. There are several standard routines provided by SAP. But in some cases if u need to calculate the values in your own, then you have to create the custom routines.
Suppose, in some case u need to carry out some discount based on the total amount as well as some other certain parameters for which cases SAP has not provided any standard routines.
Then you have to create your own using tcode V/08. u need to select the routine type and write the corresponding code. take help from any standard one, to understand the process.
Discuss with some functional guys to know more.
Regards,
Anupam
‎2008 Nov 20 1:54 PM
Routines are created for many purpose.I will give you one example..
Take Tcode VA01--Sales order creation..
We have pricing related to this transaction.In the pricing tab you can see the different pricing condions.
Now if the client wants to make changes to this pricing conditions we ;use routines to acheive it.For eg take ZAB1 as base price.depending on the base price if we want to change another pricing condition value we write abap code in the routines.it works like an exit which gets called during execution of the transaction.
Regards
Ansari
‎2008 Nov 20 2:17 PM
‎2009 Jul 14 11:13 AM