cancel
Showing results for 
Search instead for 
Did you mean: 

"January" instead of 01?

former_member1287623
Participant
0 Kudos

Hi,

question sounds easy, but I haven't found anything about converting a date like "01.01.2006" to "1. January 2006"...

last way would be to build an own function, but still have some hope that SAP standard can do this...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi sebastin,

u can use this FM..

MONTH_NAMES_GET

and use it in your code to retrieve it in the format you want..

regards

satesh

Answers (4)

Answers (4)

former_member927251
Active Contributor
0 Kudos

Hi Sebastian,

There is not standrad function module for this.

But while making your own function module you can use the system tables T247 and T015M to retrieve the Month Name.

Please mark helpful answer.

Regards,

Amit Mishra

Former Member
0 Kudos

Hi,

MONTH_NAMES_GET returns the name of the month when 1,2,3....12 is given

You can check the following if required:-

FI_PSO_FULL_DAY_MONTH_YEAR_GET

FI_MONTHLY_AS_DISPLAY

FIMA_DAYS_AND_MONTHS_AND_YEARS

HR_PT_GET_MONTHS

HR_FORMS_READ_MONTH

RP_01C_FULL_MONTHS_COMPUTE

RS_VARI_V_1_ACTUAL_MONTH

RS_VARI_V_ACTUAL_MONTH

RS_VARI_V_L_ACTUAL_MONTH

Regards,

Sameena

Former Member
0 Kudos

Hi Sebastian,

Try and use CONVERSION_EXIT_IDATE_OUTPUT.

You can also use test report RSSCA1T0 to see the functionality of this FM.

Regards,

Aniket

Please mark useful answers.

hymavathi_oruganti
Active Contributor
0 Kudos

u can use case.

case month.

when '01'.

month = 'january'.

when '02'.

month = 'feb'.

..............

...........

former_member1287623
Participant
0 Kudos

I know, as I said this would be the last way...

is there no SAP standard available for this?

hymavathi_oruganti
Active Contributor
0 Kudos

try fn module

MONTH_NAMES_GET

former_member1287623
Participant
0 Kudos

exactly what I am looking for... must have overseen it in SE37 when I was looking for MONTH anyway, thank you

Former Member
0 Kudos

use table

T247 for month discription.

SELECT * FROM T247 INTO TABLE MONTH_NAMES_BUFFER

WHERE SPRAS = LANGUAGE.

hymavathi_oruganti
Active Contributor
0 Kudos

REAL_ESTATE_F4_MONTH HELPS U MORE THAN THE PREVIOUS FN MODULE