‎2008 Feb 14 11:15 AM
Hi.
Could You tell me how can I shade tableview lines when tableview's content is empty ?
‎2008 Feb 14 11:30 AM
please refer the below code.You need to loop through the SCREEN and make the fields in display mode.
LOOP AT SCREEN.
IF screen-name = 'ZLTSTRIGGER-EVENT'
OR screen-name = 'ZLTSTRIGGER-MESTYPE'
OR screen-name = 'ZLTSTRIGGER-PARVW'
OR screen-name = gc_add
OR screen-name = gc_delete.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
‎2008 Feb 14 11:30 AM
please refer the below code.You need to loop through the SCREEN and make the fields in display mode.
LOOP AT SCREEN.
IF screen-name = 'ZLTSTRIGGER-EVENT'
OR screen-name = 'ZLTSTRIGGER-MESTYPE'
OR screen-name = 'ZLTSTRIGGER-PARVW'
OR screen-name = gc_add
OR screen-name = gc_delete.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
‎2008 Feb 14 12:49 PM
Columns in my tableview object are named
KITAB2-NAME, KITAB2-EMAIL ...
Whilst tview object is named t_komis1
LOOP AT SCREEN .
IF ( SCREEN-name EQ '_K_ITAB2-NAME' ) .
screen-input = 0.
ENDIF .
MODIFY SCREEN .
ENDLOOP .
when I do such thing and t_komis1 has 0 lines (t_komis1-lines = 0) - all rows are white