Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Field for input hours

Former Member
0 Likes
694

Hi!

I have a editable ALV with field about hours. But i need to alow user to input more than 24 hours in this field, like 36:00:00 or 48:00, etc. How can i do that?

1 ACCEPTED SOLUTION
Read only

Tamas_Hoznek
Product and Topic Expert
Product and Topic Expert
0 Likes
630

You will have to change the field type to character or string instead of type T or TIMS.

3 REPLIES 3
Read only

Tamas_Hoznek
Product and Topic Expert
Product and Topic Expert
0 Likes
631

You will have to change the field type to character or string instead of type T or TIMS.

Read only

0 Likes
630

but have i control ':' in string field?

Read only

Tamas_Hoznek
Product and Topic Expert
Product and Topic Expert
0 Likes
630

You will have to program any plausibility checks for the entered value.

As for having the : in the field, you can define an edit mask for the column, that way you'd have the colons. The column object does have a SET EDIT MASK method if I remember correctly.