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: 

Month in words

Former Member
0 Kudos

Hi all,

I want to display the date 14.03.2008 as 14 мая 2008.

The date should display the 3character month in Russian Language.

Is there any function module for it.

Pls help me.

Regards,

Priya.

6 REPLIES 6

former_member1245113
Active Contributor
0 Kudos

Hi

Use table T247 and pass langauge and month number

SELECT SINGLE * FROM t247

WHERE spras = 'RU'

AND mnr = '03'

Regards

Ramchander Rao.k

Former Member
0 Kudos

Hi,

Check

MONTH_NAMES_GET

Regards

Former Member
0 Kudos

Hi Priya Agrawal,

Check FM MONTH_NAMES_GET with RU.

regards

Kumar M

Former Member
0 Kudos

Hi,

Try this one . It can convert specific dates based on language

CONV_EXIT_LDATE_OUTPUT_LANGU

DATA : DATE1 TYPE STRING.

CALL FUNCTION 'CONV_EXIT_LDATE_OUTPUT_LANGU'
  EXPORTING
    input          = '20080301'
    LANGUAGE       = 'R'
 IMPORTING
   OUTPUT         = DATE1
          .

WRITE DATE1.

Regards

Former Member
0 Kudos

You could fetch the same from table T247 and get KTX for the month you want.

However in our system there are no translations maintained in 'RU'. Do verify if it exists in your system because I have checked in 2 different systems and the translation was not there.

Former Member
0 Kudos

example:

data: MONTH_NAMES like T247 occurs 0 with header line .

CALL FUNCTION 'MONTH_NAMES_GET'

EXPORTING

LANGUAGE = 'RU'

TABLES

month_names = month_names

EXCEPTIONS

MONTH_NAMES_NOT_FOUND = 1

OTHERS = 2

.

IF sy-subrc <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

loop at month_names.

write:/ month_names-LTX, month_names-mnr .

endloop.