Application Development 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: 

Function Module for date conversion

Former Member
0 Kudos

Hi friends,

I want a function module to change the sy-datum to mondd,year format.

Example: sy-datum to sep25,2008.

3 REPLIES 3

Former Member
0 Kudos

Anwar...

Can you try this FM

HR_IN_GET_DATE_COMPONENTS

Regards,

Santhosh

former_member705122
Active Contributor
0 Kudos

Have u check this FM

CONVERSION_EXIT_IDATE_OUTPUT

similar post,

Link:

Edited by: Syed Abdul Adil on Sep 25, 2008 6:50 PM

Former Member
0 Kudos

Try using the Fm : CONVERSION_EXIT_LDATE_OUTPUT.

DATA V_MONTH(30).

CALL FUNCTION 'CONVERSION_EXIT_LDATE_OUTPUT'

EXPORTING

INPUT = SY-DATUM

IMPORTING

OUTPUT = V_MONTH.

It will display the output as September 25, 2008. Next u have to manipulate it to get the desired output.