11-03-2009 12:39 PM
Hi,
I have problem with data mask in ALV grid.
In itab I have data type TIMS, but in grid I want to see instad 15:00:00 just 15:00 and instead 00:00:00 just blank cell.
I tried to solve it using field catalog with value:
ws_field-no_zero = 'X' it works ok, I get blank cells instead zeros but still have 15:00:00 format.
When I added:
ws_field-EDIT_MASK = '__:__'. I see 15:00 but no_zero stoped working ( instead blank fields I see 00:00).
How to connect this two properties?
Joanna.
11-03-2009 1:01 PM
Hi, Joanna.
I think you have only one way - add characater field into your itab where you need write yout TIMS data using mask '__:__' or write space for 00:00:00. And display that field by ALV instead time-field.
PS: Also you can try create own conversion exit and placed it into EDIT_MASK.
11-03-2009 1:01 PM
Hi, Joanna.
I think you have only one way - add characater field into your itab where you need write yout TIMS data using mask '__:__' or write space for 00:00:00. And display that field by ALV instead time-field.
PS: Also you can try create own conversion exit and placed it into EDIT_MASK.
11-03-2009 1:41 PM
Thanks Andrey I wrote my own covertion exits and it solved my problem.
Joanna