Showing posts with label Get Month Name. Show all posts
Showing posts with label Get Month Name. Show all posts

Thursday, January 1, 2009

Get the Month Name

REPORT ZMONTH.
DATA X_MONTH(11).
CALL FUNCTION 'CONVERSION_EXIT_LDATE_OUTPUT'

EXPORTING
INPUT = SY-DATUM
IMPORTING
OUTPUT = X_MONTH.
WRITE:/ 'Month in words', X_MONTH+3(8).
*-- End of Program