Friday, November 23, 2007

sap program for Convert Month to Word in ABAP

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

No comments:

Blog Archive