2008 Aug 07 8:04 PM
hi,
I have a date field FD1 in one of my custom table say X.
I created a dialog screen in which i inserted that field from the dictionary, and when it was displayed the value was displayed as 20080807 and not as 08/07/2008.
why so ??
so in the screen field attribute, i unchecked "from dict" and changed the format to DATS.
so now the value was displayed as 08/07/2008.
But then now when i insert this in another custom table , this value is stored as 20080807.
how to deal with this ?? i need the value to be as 08/07/2008 everywhere !! any suggestions.
thks
2008 Aug 07 8:12 PM
Hello.
A DATE field will always be stored internaly as AAAAMMDD format inside internal or database tables. However, when you display it, it appears with user definitions format, like DD/MM/YYYY, or MM/DD/YYYY, and so on ...
Regards.
Valter Oliveira.
hi,
I have a date field FD1 in one of my custom table say X.
I created a dialog screen in which i inserted that field from the dictionary, and when it was displayed the value was displayed as 20080807 and not as 08/07/2008.
why so ??
so in the screen field attribute, i unchecked "from dict" and changed the format to DATS.
so now the value was displayed as 08/07/2008.
But then now when i insert this in another custom table , this value is stored as 20080807.
how to deal with this ?? i need the value to be as 08/07/2008 everywhere !! any suggestions.
thks
2008 Aug 07 8:12 PM
Hello.
A DATE field will always be stored internaly as AAAAMMDD format inside internal or database tables. However, when you display it, it appears with user definitions format, like DD/MM/YYYY, or MM/DD/YYYY, and so on ...
Regards.
Valter Oliveira.
2008 Aug 08 7:52 AM
2008 Aug 08 7:56 AM
Hi ,
This is because DATS type is always stored in SAP as YYYYMMDD and displayed to user as per user setting.
you can check this setting in System -> User Profile -> Own data -> Defaults -> Date Format.
Regards,
Mohaiyuddin
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |