2006 Jul 11 10:38 AM
How is the time field formatted in smartform.
Format that has to appeared is hh:mm.
But i'm getting hh:mm:ss.
How to quote this?
How is the time field formatted in smartform.
Format that has to appeared is hh:mm.
But i'm getting hh:mm:ss.
How to quote this?
2006 Jul 11 10:41 AM
Hi,
Create a Program line in smartform and write this code :
Concatenate sy-uzeit0(2) ':' sy-uzeit2(2) into l_time.
Pass l_time in smartform.
Best regards,
Prashant
Message was edited by: Prashant Patil
2006 Jul 11 10:57 AM
Hi Phani,
Take a local variable of 5 characters and put the time in your local variable using the concept of Split and concatenate your original time.
Use this local variable at the place where is your requirement
2006 Jul 11 12:40 PM
Hi Phani,
In Smartform,we cannot set the format for time, if you want to display in the format you have mentioned what you have to do is.
data ws_time(6) type c.
concatenate sy-uzeit0(2) ':' sy-uzeit2(2) into ws_time.
now your time will have only hrs and mins.
Hope this solves ur issue. Reward if helpful.
Regards,
Tushar
2006 Jul 11 12:45 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |