Application Development and Automation 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: 
Read only

Rouitnes

Former Member
0 Likes
731

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

6 REPLIES 6
Read only

h_senden2
Active Contributor
0 Likes
699

see OSS notes 156230, 327220 and 381348

regards,

Hans

Read only

h_senden2
Active Contributor
0 Likes
699

or this forum :

regards,

Hans

Read only

Former Member
0 Likes
699

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

Read only

Former Member
0 Likes
699

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

Read only

matt
Active Contributor
0 Likes
699

Please use a more meaningful subject in future

Read only

Former Member
0 Likes
699

Thanks for the Info