For selection parameter the default date should be of the previous month.
In my selection-screen what i want is for the selection parameter "Selection period month" the default value to be the previous month.
For example today is 24.09.2008 so the default value of this field has to be 200808 instead of 200809 today.
please tell me how should i do this.
thanks in advance.
Use the function module 'HR_JP_ADD_MONTH_TO_DATE' and give the value for IV_MONTHCOUNT as -1 to get the previous month.