DATA: lv_actmonth TYPE isellist-month.
DATA: lv_sel_month TYPE isellist-month.
DATA: lv_subrc TYPE sy-subrc.
lv_actmonth = |{ 2016 }{ 06 }|. " Eingabemonat: 06/2016
CALL FUNCTION 'POPUP_TO_SELECT_MONTH'
EXPORTING
actual_month = lv_actmonth
* factory_calendar = 'X'
* holiday_calendar = 'X'
language = sy-langu
start_column = 8
start_row = 5
IMPORTING
selected_month = lv_sel_month
return_code = lv_subrc
EXCEPTIONS
factory_calendar_not_found = 1
holiday_calendar_not_found = 2
month_not_found = 3
OTHERS = 4.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF lv_subrc EQ 0.
" ...
ENDIF.
ENDIF.