on 2007 May 15 9:44 AM
Dear programmers,
I've made a little webdynpro application to show a table with some data.
I am using the default DB from SAP and used the field type "TIMESTAMP".
The date is formatted like this: YYYY-MM-DD T HH:MM:SS
Is it possible to change this format into "MM-YYYY"?
In advance,
Adri
P.s. We would deploy the application also at a server with an Oracle database installed. Do you think that would work.
Adri,
You need to create custom type in Local Dictionary of WD project that is based on timestamp. For this type you must define own format/pattern in settings like MM-yyyy.
Then use this type for context attributes instead of built-in timesdtamp type.
<i>P.s. We would deploy the application also at a server with an Oracle database installed. Do you think that would work. </i>
Nothing in NW prevents this :). The rest depends on how you write your SQL, i.e. whether or not your SQL queries are portable.
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Cool! It's working.
Simple type = timestamp (default = string)
Thanks a lot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
12 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.