cancel
Showing results for 
Search instead for 
Did you mean: 

InputField associated with Datum

sebastin_alvarez
Participant
0 Kudos

Hi every one, i have a problem i can't resolve.

I did a webdynpro associated with a Model Attribute, and it's datum type, so automatically generates a calendar, but i want that calendar in spanish... and with another date format (for examplo DD/MM/YYYY).

Where can i change it?

Thank you very much, and sorry my poor english.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Crate a Dictioanry data type as DateField and select the type as "Date" and in the format option enter the format you wish as"dd/mm/yyyy"

Now in context bind the value attribute to this dictioanry type.

Then your problem will be solved

Thanks&Regards

padma N

Answers (5)

Answers (5)

sebastin_alvarez
Participant
0 Kudos

The problem was caused by the language of the user.

sebastin_alvarez
Participant
0 Kudos

Thanks to every one, i can fix the problem.

I made a mistake, because my Portal user was in english, that was the reason the calendar shows english months, when i changed my user to Spanish, the calendar change too : )

thanks again and pardon by the annoyance.

Regards,

Sebastiá

Former Member
0 Kudos

Hi,

Use a dictionary type and provide the date format as "DD/MM/YYYY"

Or

use the

Date date = new Date(Calendar.getInstance().getTimeInMillis());

DateFormat format = new SimpleDateFormat( "dd/MM/yyyy" );

format.format(date);

Regards

Ayyapparaj

sebastin_alvarez
Participant
0 Kudos

Sorry, but i did my web dynpro in java, this solution is for java o for abap?

Regards,

Sebastiá

former_member192434
Active Contributor
0 Kudos

Hi Sebastian,

Here is the soluation how Generation of the Spanish personal calendar

http://help.sap.com/erp2005_ehp_03/helpdata/EN/1c/de3d861b0011d2956700a0c942616a/frameset.htm

Thanks

Anup