Unexpected Date format in Broadcasting
Robin Lei 02/11/2015
[Solution]
Symptom
A wrong language or locale is used after you logged on to the system ?
Calendar dates are formatted in an unintended way ?
Reason and Prerequisites
1. What is the default language and Default Country for Portal(Need to confirm with Terry)
request.defaultlanguage=en
request.defaultcountry=us
Comment: [language=EN and country=US => date format: mm/dd/yyyy]
2. What is the default language for SAP user (If you don’t set it, it will use default)
2.1 SAP default language RZ11
2.2 You can customize your language and date format
T-CODE:SU3
Comment: the date format can’t work all the time, at first, it depends on Logon Language , then each language will follow its rule
http://en.wikipedia.org/wiki/Date_format_by_country
like United States of America accept format: mm/dd/yyyy, yyyy/mm/dd (but it doesn’t have dd/mm/yyyy)
So you can set any value for B, but it only works in legal format.
2.3 How does it work.
Actually, there are two dimensions what will MAKE the final format, Language and Country .
So someone sets the language, but get the unexpected format. They don’t set locale
So most of time, we may set the language in SAP, and the country will use portal default country.
2.4 how to customize country
We can customize country in Portal user management
Step:
1. Set language / date format in SAP System
2. Set Country in Portal User Management
3. Test broadcasting result, if it can’t reach your expectation, try to change date format and country .
4. Refer to Note: 1416730, if it still can’t work, please try another precalculation sever
Resource:
1. T005X – default date format for Each country
3. Note: 1416730 - Regional Settings in Broadcasted Precalculation Workbooks Version
947081 - Locales, languages, date and time formats in Web Dynpro
4. How to change the default Portal Language
#request.defaultlanguage=en
#request.defaultcountry=us
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/554557/viewspace-1435026/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Mysql date_format 與 Oracle to_char(date,’format’)MySqlORMOracle
- date_format(date,frm) 詳解ORM
- mysql DATE_FORMAT函式MySqlORM函式
- Mysql的DATE_FORMAT()應用MySqlORM
- HGDB相容MySQL date_format函式MySqlORM函式
- 時間格式nls_date_format的設定ORM
- (轉)修改oracle預設日期格式 nls_date_formatOracleORM
- 修改資料庫的NLS_DATE_FORMAT引數資料庫ORM
- [20170918]NLS_DATE_FORMAT設定.txtORM
- Oracle的NLS_DATE_FORMAT設定(日期格式設定)OracleORM
- MM-DD-RRRR / MM-DD-YYYY 的區別 (Date format)ORM
- spring.jackson.date-format失效原因及解決方案SpringORM
- 如何啟動資料庫後不設定NLS_DATE_FORMAT資料庫ORM
- rman會話中設定nls_date_format和nls_lang會話ORM
- TSM 5.4 ANR0110E An unexpected system date has been detected 問題的解決
- Format and un-format money/currency in JavaScriptORMJavaScript
- [20240814]oracle 21c NLS_DATE_FORMAT設定問題(整理版本1).txtOracleORM
- Error format not a string literal and no format arguments解決方案ErrorORM
- 深度學習筆記(5)Broadcasting in Python 廣播深度學習筆記ASTPython
- 'format' 詳解ORM
- SUN format命令ORM
- Json formatJSONORM
- set excel formatExcelORM
- 求助:TypeError: unsupported format string passed to NoneType.__format__ErrorORMNone
- shell date 詳細用法 如date --date='1 month ago' '+%Y%m'Go
- Uncaught SyntaxError: Unexpected token <反思Error
- gzip: stdin:unexpected end of file
- syntax error near unexpected token `Error
- oracle工具 awr formatOracleORM
- vim Google style formatGoORM
- MYSQLDUMP TABLE IN SQL FORMATMySqlORM
- [Ruby]format xml with RubyORMXML
- mysql DATE_ADD DATE_SUBMySql
- date 物件物件
- JavaScript Date()JavaScript
- Java DateJava
- date命令
- javascript dateJavaScript