on 01-05-2006 9:12 AM
Hi All,
I have a parameter field for SY-UZEIT in my selection-screen.
On pressing F4 on this field, I want to show the system time in 24 hour format, with HH:MM only.
How can I do this?
Regards,
Raj
Hi,
Use EDIT MASK to change the format of time.
Thanks,
Pramod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj!
Field sy-uzeit has 6 places (internally) - when you just show 4 places in any popup, user would have to enter the seconds manually in addition afterwards.
You might use a different (own) field.
Or you just fill in a default value in:
INITIALIZATION.
p_uzeit = sy-uzeit.
Then there is no need for a popup or search help.
Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajasekhar,
1. Suppose, we can do this,
then also,
the time format will be HH:MM:SS (in the field)
2. So one way is after selection,
we can reset the second to Zero
using logic like
mytime+4(2) = '00'.
I hope it helps.
regards,
amit m.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.