FM for getting MONTH name from DATE.
Hi all ,
We have a requirement to get Month name from the DATE,e.g IF date is 01/01/2008 we need a FM which can generate month name as 'JANUARY'.
\[removed by moderator\]
Thanks and Regards
Edited by: Jan Stallkamp on Jul 30, 2008 4:26 PM
Chandrasekhar Gandla replied
CALL FUNCTION 'MONTH_NAMES_GET' EXPORTING language = sy-langu IMPORTING return_code = return TABLES month_names = month_names exceptions month_names_not_found = 1 others = 2. if sy-subrc 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF.