on 03-17-2009 1:38 PM
Hi,
From a BI Query I receive a date which is displayed in a table. In the table the date is displayed as follows:
01.03.2008
31.12.2008
I want it to be displayed as March 01, 2008 and December 12, 2008.
I have used the following formula in the custom text formatting of the cell of the table:
DSTR(@Actual_Date_to_ext_key,"MON DD, YYYY")
Strangely the date is now displayed as
jan 03, 2008
Jul 12, 2008
What am I doing wrong? BTW: The field in the table isof data type text and I can not change it to Date. I have already tried to add a new field with data type date, but it doesn't display the date delivered by the query.
Thanks in advance for your help and best regards,
Jan Laros
Hi,
referring to the SAP documentation :
http://help.sap.com/saphelp_nw70/helpdata/EN/5b/7bbd21fcb44a74856bb4bcf8697010/frameset.htm
the only available month mask that exists are :
M
Months as 1-12
MM
Months as 01-12
MON
Months as Jan-Dec
so I'm not sure what you want is possible or not.
One thing you can do is a string replace of your DSTR(....) result, like working with the REPLACE function.
Fabien.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fabien,
Once again thank you for your reply. The standard as you mention is fine for me, so Mar 01, 2008 would be fine. However, the formula used is delivering/calculating the wrong output. We get Jan 03, 2008. So it's switching months and days.
We are on NW 7.0 SP13 by the way.
Best regards,
Jan
Edit: Could this actually be an SP level problem? As stated in this topic:
Edited by: Jan Laros on Mar 18, 2009 9:37 AM
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.