Created
November 11, 2013 17:07
-
-
Save dantesco/7416630 to your computer and use it in GitHub Desktop.
Matchcode para mes y año
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PARAMETER: p_spbup TYPE spbup OBLIGATORY. | |
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_spbup. | |
CALL FUNCTION 'POPUP_TO_SELECT_MONTH' | |
EXPORTING | |
actual_month = sy-datum(6) | |
IMPORTING | |
selected_month = p_spbup | |
EXCEPTIONS | |
factory_calendar_not_found = 1 | |
holiday_calendar_not_found = 2 | |
month_not_found = 3 | |
OTHERS = 4. | |
IF sy-subrc <> 0. | |
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno | |
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. | |
ENDIF. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment