cancel
Showing results for 
Search instead for 
Did you mean: 

Time in TABLEVIEWCOLUMN

Former Member
0 Kudos

I have Time field declared in dictionary with refernce to SYUZEIT(Stored internally as 6 Char HHMMSS format & Display Externally with 8 Char HH:MM:SS format).

But in TABLEVIEWCOLUMN it it showing only HH:MM format the ":SS" part is missing, but internally I can see the value in table as HHMMSS.

My code is as below..

  <htmlb:tableViewColumn columnName          = "crtime"
                         title               = " Added time "
                         horizontalAlignment = "CENTER"
                         edit                = "FALSE" >

I have Date field in the same Table view and displaying correctly as MM/DD/YYYY. Please help.

Thanks,

Giri

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Do you have data element for the time field on dictionary?

is that time field declared as UZEIT on dictionary ?

Is that value changed to any other field while manipulating the data? Can you give some more information.

Thanks!

Lakshmikandh

Former Member
0 Kudos

Hi Lakshmikandh, thanks for your reply. As I mentione in my message The time field is declared in Dictionary as SYUZEIT. We are not doing any manipulations, passing values to the Tableview table as it is.

Thanks,

Giri

athavanraja
Active Contributor
0 Kudos

may be try adding the width property of tableviewcolumn.

Regards

Raja

Former Member
0 Kudos

Hi Giri,

As Raja suggested, try with width property,

<htmlb:tableViewColumn

columnName = "ztime"

title = "Time"

width = "100%" />

Thanks!

Lakshmikandh

Former Member
0 Kudos

Hi Raja,

When I set width for the time column, the column is showing widely. But the value still showing as HH:MM only, still ':SS' part is missing.

Any clue.

Thanks,

Giri

athavanraja
Active Contributor
0 Kudos

define the time field in your internal table as char(8).

while moving the time to this field

do this write <time> to itab-timefield.

now use this itab, it will show the time with seconds.

<htmlb:tableviewcolumn has also got an attribute called datatype , you can try to set it to TIME to see whether it helps, without the above modification.

Regards

Raja