Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Module to Convert date Format

Former Member
0 Likes
571

Hi All,

Do you know if there is a function module to convert date format into

this format:

31 October 2008?

Thank you very much!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
532

Hi

you can use convert_date_to_external FM to change it in ur required format.

also:

CONVERSION_EXIT_PDATE_OUTPUT

Eg: input = 24012008 and output = 24.01.2008

CONVERT_DATE_FORMAT

Eg: input = 20080201 and output = 01.02.2008

CONVERSION_EXIT_SDATE_OUTPUT

Eg: input = 20070201 and output = 01.FEB.2007

CONVERSION_EXIT_IDATE_INPUT

Eg: input = 01.02.2008 and Output = 20080201

CONVERSION_EXIT_LDATE_OUTPUT

Eg: input = 20070301 and output = 01. March 2007

CONVERSION_EXIT_PDATE_OUTPUT

Eg: input = 20070301 and output = 03.01.2007

Edited by: Renjith Michael on Oct 16, 2008 4:23 PM

2 REPLIES 2
Read only

Former Member
0 Likes
533

Hi

you can use convert_date_to_external FM to change it in ur required format.

also:

CONVERSION_EXIT_PDATE_OUTPUT

Eg: input = 24012008 and output = 24.01.2008

CONVERT_DATE_FORMAT

Eg: input = 20080201 and output = 01.02.2008

CONVERSION_EXIT_SDATE_OUTPUT

Eg: input = 20070201 and output = 01.FEB.2007

CONVERSION_EXIT_IDATE_INPUT

Eg: input = 01.02.2008 and Output = 20080201

CONVERSION_EXIT_LDATE_OUTPUT

Eg: input = 20070301 and output = 01. March 2007

CONVERSION_EXIT_PDATE_OUTPUT

Eg: input = 20070301 and output = 03.01.2007

Edited by: Renjith Michael on Oct 16, 2008 4:23 PM

Read only

satsrockford
Active Participant
0 Likes
532

hi

CALL FUNCTION 'CONVERT_DATE_TO_INTERN_FORMAT'

EXPORTING

DATUM = DATE

DTYPE = DATS

  • IMPORTING

  • ERROR =

  • IDATE =

  • MESSG =

  • MSGLN =

regards

Satish