cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform: Printing date in foreign language

Former Member
0 Kudos

There is a smartform with default language DE and it's translated to hungarian.

I had to make some changes in the form and I also had to add a new date field into the form, but it's always printed in the german date format DD.MM.YYYY, and not in the hungarian date format YYYY.MM.DD.

Moreover other dates in the form are displayed now in the german format and not in the hungarian, but it was good before I did the changes.

Other strange thing is that in the development system everything is fine and every dates are in the hungarian format, but in the test system every dates are in the wrong format.

Why can it happen and how can I fix it?

I tried GET LOCALE - SET LOCALE but it did not fix it. I tried something in SE63 but I also could not fix it. Please help.

Thank in advance,

Peter

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Try to use:


SET COUNTRY '{COUNTRY_CODE}'.

in your form initialization.

Thanks,

Former Member
0 Kudos

HI,

Well, yes you can use Thien good suggestion if is the same user printing in two languages.

And check if T005X has the necessary entries. I believe it should have at least one for Hungary.

You can use example in ABAP reference help for SET COUNTRY to test it.

regards,

Edgar

Former Member
0 Kudos

Hi,

you have to change the user setting to your required date format .

Regards,

karthikeyan k s.

Former Member
0 Kudos

Hi Papeti,

Isn't your smartform using the user date format?

regards,

Edgar