2006 May 12 8:25 AM
Hi friends,
I need to assign a parameter with time in 24 hours format, Is there any function moudule for this?
with regards
kar
Hi friends,
I need to assign a parameter with time in 24 hours format, Is there any function moudule for this?
with regards
kar
2006 May 12 8:28 AM
hii
use thsi fm <b>CONVERT_TIME_INPUT</b>
and for 12 hour format
<b>HRVE_CONVERT_TIME</b>
or
you just fill in a default value in:
INITIALIZATION.
<b>p_uzeit = sy-uzeit.</b>
Then there is no need for a popup or search help.
u can as well Use <b>EDIT MASK</b> to change the format of time.
hope this helps
Thanks&Regards
Naresh
2006 May 12 8:29 AM
Hi,
Did you try using the type t ?
For instance, you have a matchcode for this parameter :
PARAMETERS : p_time TYPE sy-uzeit.Best regards,
Guillaume
2006 May 12 8:31 AM
Check these function modules:
1. CONVERT_TIME_INPUT
2. TIME_CHECK_PLAUSIBILITY
2006 May 12 8:36 AM
hi,
if u declare the parameter as SY_UZEIT it will take date in 24 hrs format
chk this program
REPORT DEMO.
parameters : p_time type sy-uzeit.
Here when u click F4 , there u will find one execute button , with that u can use 12 hour or 24 hour format
write : p_time.Message was edited by: Chandrasekhar Jagarlamudi
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |