Friends :
I was studying Routines and i cam across a thread posted on April 18 20008. Here is the scenario from the routines.
Re: pricing
Posted: Apr 18, 2008 8:22 AM in response to: Guest E-mail this message Reply
Hi Friend,
Routines are some requirement of the pricing procedure which can't be mapped in std procedure. So here we are going to TC-VOFM, and defining our requirement with the help of ABAPers.
Few examples are given below:
Routine /Formula :- 15
A company has defined minimum prices for materials.
When a material is sold, it should not be sold for a price below the predefined minimum price.
When pricing is done for a sales document line item, if the net price of the item falls below the minimum, the system should automatically compute a surcharge to bring the price up to the minimum price. To accomplish this, the user would define the minimum prices using the condition type PMIN. PMIN would be defined in the pricing procedure and condition value formula '15' would be assigned. Using the formula, the system compares the minimum price with the net price calculated to that point in the pricing procedure. If the minimum price is not met, the system computes the necessary surcharge and assigns it to the PMIN condition line.
How do i attach routine 15 and to my condition type PMIN.
Do i have to attach routine to pricing proedure ? or condition type or conditon record ? Could some one help me to understand routines and how PRACTICALLY they work. I know that you activate through VOFM. I really dont know how to PRACTICALLY apply routines.
Full points will be given.
I love this forum. Its all good people here.
Thank you in advance.
Van bills