Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Date Format

Dear All

In my input the date format is '20.08.1013' i have to convert it into '13.10.2008'.

Can any one help me to solve this problem.,

Thanks,

Thirukumaran. R

Tags:
replied

Hi,

Use the function module FORMAT_DATE_4_OUTPUT

DATA : DATE TYPE CHAR10.

CALL FUNCTION 'FORMAT_DATE_4_OUTPUT'
  EXPORTING
    DATIN         = '20081013'
    FORMAT        = 'DD.MM.YYYY'
 IMPORTING
   DATEX         = DATE
          .

WRITE : / DATE.

Regards

Edited by: Rajvansh Ravi on Oct 13, 2008 2:21 PM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question