2007 Dec 11 7:36 PM
Hello friends,
In my report I have to display the details of the selection screen.
I am having some problem with the date format
HOwever when the user changes the settings in the user profile the data
format on the report should display as what the user profile settings are.
for EG -
if the user has the settings as YYYY-MM-DD
the output should be 2007-12-11.
If the user changes the date format as MM/DD/YYYY
the output should be 12/11/2007.
Any suggestions.
Ster
REPORT ZCP0A128 NO STANDARD PAGE HEADING
LINE-SIZE 80
LINE-COUNT 65(0)
MESSAGE-ID ZZ.
TABLES : ZCAST.
SELECT-OPTIONS: S_PSTTR FOR ZCAST-ZEFDAT DEFAULT SY-DATUM.
WRITE : S_PSTTR-LOW.
2007 Dec 11 7:41 PM
I think the user has to log off anf login again.
Amandeep
2007 Dec 11 7:41 PM
2007 Dec 11 7:45 PM
2007 Dec 11 7:45 PM
Hi,
Check this FM DATUMSAUFBEREITUNG
I think you can also just use write statement to get the Date format as in User Profile.
Regards,
Satish
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |