on 05-08-2009 12:31 PM
Hello
i wan't show on the SmartForms a field with time format.
when i give this out, i see 100000, not 10:00:00..
how can i do that?
thx anu
Hi,
This is the command....
WRITE: / c1 USING EDIT MASK '__:__'. You can use this and change the format of the field.
Have u declared the time field with data type as SY-UZEIT.
Thanks,
Nit,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thx for answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It is better to work with Concatinate statement at this moment of time.
take that 100000 into one variable.
Then Write Concatinate :
Concatinate var+0(2) var2(2) var 4(2) into Var1 separated by ':'.
If you have any date field and you want to change its format then you can go for SET TIME MASK.
SET TIME MASK = 'HH:MM:SS'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you declare a field with type SY-UZEIT, it should print 10:00:00
If its not printing, do the below
data: wvl_time1(2), wvl_time2(2), wvl_time3(2),
wvg_time type sy-uzeit, wvg_time1(5).
wvl_time1 = wvg_time+0(2).
wvl_time2 = wvg_time+2(2).
CONCATENATE wvl_time1 ':' wvl_time2 INTO wvg_time1.
Rgds,
nit.
Edited by: Nitesh Babu on May 11, 2009 3:03 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i define in smartforms that
gv_time type SY-UZEIT
and became the time on smartforms in this format 10:00:00
now i want change the view in 10:00. How can i do that...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Declare as below.
data: v1 type sy-uxeit,
v2 type i.
v1 = v2.
pass this v1 variable to smartform it will store the value as XX:XX:XX.
Thanks,
Suma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
EDIT TIME MASK is it a command?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use EDIT TIME MASK command and set the time. IF not declare the field which shows the time output as SY-UZEIT.
Thanks,
Nit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.