on 11-26-2008 2:16 PM
Hi everybody,
I am working with date fields on both WDJ and R/3. Abap date field separators are ".".
In my locale, WDJ iview date field separators are "/". We want WDJ iview separators to become ".".
I found out this [workshop|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/58a7e390-0201-0010-abb1-8eec7eb7a2ec], at page 83, it is explained that WDJ locale can be set through a url parameter.
Where should this parameter be set? In the iview configuration, we tried in the "application parameters" the value sap-locale=de, and also the Forced Display Language=German. But no result so far.
Can anyone help?
Thanks and regards,
Vincenzo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, thanks the two following solutions are available:
- in iview application parameters: sap-locale%3Dde (do NOT use the "=" character).
- in your component you can define a method such as
private void internalFormatDate(Date ui_el) {
SimpleDateFormat formatter =
(SimpleDateFormat) DateFormat.getDateTimeInstance(
DateFormat.LONG,
DateFormat.LONG,
Locale.GERMAN);
formatter.format(ui_el);
}
Thanks, regards,
Vincenzo
Hi,
Did you try assigning the value as de_DE or de-DE as mentioned in the SAP help.
Also you can try accessing the WD application with the Parameter in Standalone way instead of WDJ iview and see if it works.
If it works in Standalone mode then there will be some different way to pass this Paramenter in Portal mode.
Siddharth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I guess You have to append this parameter to Webdynpro Application URL while accessing,Check the following SAP Help:--
http://help.sap.com/saphelp_nw2004s/helpdata/en/f4/651741f163f023e10000000a155106/frameset.htm
Siddharth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.