on 06-02-2008 3:29 PM
Hi,
i read a timestamp from SAP via RFC:
Data element is timestamp (with format YYYYMMDDhhmmss).
When i show the table data via SE16, following format is shown:
20.080.123.022.951
When debugging, i see the data withou format: 20080123022951
Now, by reading data via RFC, this timestamp is shown in WD Application the same as via SE16:
20.080.123.022.951
So, i think this curios format is taken over from backend system and the problem couldn't be solved by WebDynpro.
So, where could be the problem?
In Debugger your date is always in the format YYYYMMDDhhmmss. But what your see from SE16 depends on your profile settings(Country, language).
When ABAP type "DATE" is imported to Web Dynpro Java, it will be imported as java.sql.Date type. Once you got the Java type Date, you can display in your Web Dynpro application in the format what ever you like. The default format is based on Language and Locale of that particular session.
Regards,
~kranthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.