12-11-2008 7:20 AM
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.
12-11-2008 7:24 AM
Hi
Use table T247 and pass langauge and month number
SELECT SINGLE * FROM t247
WHERE spras = 'RU'
AND mnr = '03'
Regards
Ramchander Rao.k
12-11-2008 7:26 AM
12-11-2008 7:27 AM
12-11-2008 7:30 AM
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
12-11-2008 7:36 AM
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.
12-11-2008 10:27 AM
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.