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: 

sy-datum to description

Former Member
0 Kudos

HI All,

Can you please tell me is there any function module

to convert sy-datum to description(Thursday)

8 REPLIES 8

Former Member
0 Kudos

Hello,

Use this FM: CONVERSION_EXIT_SDATE_OUTPUT

Thanks,

Jayant

Former Member
0 Kudos

Hi

FUBA

FTR_DAY_GET_TEXT

Former Member
0 Kudos

Use DATE_COMPUTE_DAY and specify the date in the input column.

It returns a day... Say 12/04/2008...returns 4.

so write if val = 1 then Monday, if val = 2 then Tuesday, if val = 3 then Wednesday, if val = 4 then Thursday, if val = 5 then Friday, if val = 6 then Saturday, if val = 7 then Sunday.

Former Member
0 Kudos

Function CONVERSION_EXIT_SDATE_OUTPUT

Import parameters Value

INPUT 20080101

Export parameters Value

OUTPUT 01.JAN.2008

its for month

Former Member
0 Kudos

Use FTR_DAY_GET_TEXT function module, specify the date in input....returns data as

PE_DAY_TEXT1, PE_DAY_TEXT2, PE_DAY....

Example...

Import

PI_DATE = 12/04/2008

In export

PE_DAY_TEXT1 TH

PE_DAY_TEXT2 Thursday

PE_DAY 4

Former Member
0 Kudos

Former Member
0 Kudos

WEEKDAY_GET

Former Member
0 Kudos

Hi,

Table T247 can be used to convert date into description.

You can use FM CONVERSION_EXIT_SDATE_OUTPUT to do that.

Thanks,

Nitesh Jain