get the name of the month , date and year

*-----------------------------------------------------------*

* report

*-----------------------------------------------------------*

report  zdate.

*-----------------------------------------------------------*

*  data declarations

*-----------------------------------------------------------*

DATA ldate(20).

*-----------------------------------------------------------*

*  start-of-selection

*-----------------------------------------------------------*

start-of-selection .

CALL FUNCTION 'CONVERSION_EXIT_LDATE_OUTPUT'
EXPORTING

input = sy-datum

IMPORTING

OUTPUT = ldate.

*-----output

write:/ 'name of the month is: ' , ldate.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.