on 10-14-2010 11:49 AM
Hi All,
I have one form, that date fields are defined Locale.
it shows for Japan country 2010/10/14 and for German likes Oct 14, 2010.
I want see for German like 14.10.2010 instead of Oct 14, 2010.
I can't define in pattern like DD.MM.YYYY, because Japan and US, GB has different date format, and the form is for all countries.
Any help how to do it?
Thanks in advance.
Best regards,
Ana
As mentioned above you could try the scripting approach or (maybe a little weird one) create multiple fields with single source (multiple date fields displaying the same) - but the trick is to set the locale for every field (US, Germany etc.).
Well, if you don´t have an interactive form and want only print this, I would build this logic in the backend in ABAP instead of trying a suicide in the form. If you could do it this way, use a string node to pass the value into the form and do what you need to do in the backend.
Regards Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
My suggestion is ,
if you have country information,then you can use the simple FormCalc code to achieve this.
Example:
Country Information is available in the Field COUNTRY in the interface.
Drag it into the Context.
In the Layout,select the date field and goto Script Editor.
Select the Inititialize event ,Language Form Calc and Run at Client.
Place the following code.
if ( $record.COUNTRY == "DE" )then
$.format.picture = DateFmt(2, "de_DE");
endif
in place of $record.COUNTRY ; you can use your form field contains the country information.
Thanks.
UmaS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.