2006 Oct 27 1:22 PM
I am working with hr report in that i am getting a date format mm/dd/yyyy in the development and it is working fine but when i move the program to quality ,the quality having the date format dd.mm.yyyy. so it's not working in the qulity.
How to solve it.is there any function module to solve this problem
Thanks in advance
2006 Oct 27 1:22 PM
Hi thangaraj,
1. Unless specified, the date format
depends upon the current logged on users settings.
regards,
amit m.
I am working with hr report in that i am getting a date format mm/dd/yyyy in the development and it is working fine but when i move the program to quality ,the quality having the date format dd.mm.yyyy. so it's not working in the qulity.
How to solve it.is there any function module to solve this problem
Thanks in advance
2006 Oct 27 1:22 PM
Hi thangaraj,
1. Unless specified, the date format
depends upon the current logged on users settings.
regards,
amit m.
2006 Oct 27 1:28 PM
If you store dates in SAP standard data type (SYDATUM)then there should not any problem SAP automatically handles the formatting acording to user settings.
Hope this helps
Regards sandeep.
2006 Oct 27 1:26 PM
Here the solutions differs depending on the Date that you are using in the development . Most of time if you have used sy-datum WilL NOT CREATE PROBLEM if hard coded or manually used then it can cause issue like this . Any way you can use SET DATE MASk , or EDIT mask
2006 Oct 27 1:26 PM
Hi,
You need to change user profile for this. Go to SU01 transaction change the date format in Quality.
regards,
Chandra
2006 Oct 27 1:31 PM
Hi ,
Refer sample code :
DATA: var TYPE char10 VALUE '20061010'.
DATA: date1 TYPE sy-datum.
*
write: var to date1.
write: <b>date1.</b>
Date1 will always have the Date format as per user setting.
Reward points if this helps.
Manish
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |