i hav month as parameter in selection screen.
If i select ocotber 2005 in sel. screen , It should roll back 12months in the report output. i.e., from (nov04 to oct05)
Can anyone get the code for this or any idea?
Please check this code:-
PARAMETERS : S_MONTH LIKE ISELLIST-MONTH OBLIGATORY.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_MONTH.
CALL FUNCTION 'POPUP_TO_SELECT_MONTH'
EXPORTING
ACTUAL_MONTH = '200510'
FACTORY_CALENDAR = ' '
HOLIDAY_CALENDAR = ' '
LANGUAGE = SY-LANGU
START_COLUMN = 8
START_ROW = 5
IMPORTING
SELECTED_MONTH = S_MONTH
RETURN_CODE = S_CODE