Can any one help me out on the below issue.
I need to display the Price for each plant wise as below last 12 months with this condition
Ex: current month is Valid from date <= 08/01/2007, previous month valid from date<=07/01/2007 etc like for each month .
When ever they execute the query it has to display last 12 months with above condition (valid from date lees then or equal to first of every month).
I think I need to write variable exit for this can any one help me out how to write variable exit.