2007 Oct 18 12:33 PM
Hi,
I am wrkg on a report prg in which i have to display date and time fields.In theo/p the date and time fields are not getting displayed properly.Is there and function module for date and time conversion?
Hi,
I am wrkg on a report prg in which i have to display date and time fields.In theo/p the date and time fields are not getting displayed properly.Is there and function module for date and time conversion?
2007 Oct 18 12:36 PM
Hi Hema ,
Could you please tell what exactly is the issue , as the input provided in your post does not provide the necessary information.
Regards
Arun
2007 Oct 18 12:38 PM
use
PERIOD_AND_DATE_CONVERT_INPUT
ABI_TIMESTAMP_CONVERT_FROM
Please reward if useful.
2007 Oct 18 12:39 PM
how the date and time fields are declare...
If you declare data and time variable as SYDATUM and SYUZEIT resp. then it will be formatted automatically while printing
2007 Oct 18 12:42 PM
use foll. code to convert date into desired format..
CONCATENATE
sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum+0(4)
INTO currnt_dt.
if you want to add time stamp to the date then use foll. code..
CONCATENATE w_change_low '235959'
INTO w_change_low.
2007 Oct 18 2:01 PM
For date conversion try using CONVERT_DATE_TO_EXTERNAL function module.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |