09-23-2008 9:50 PM
hi gurus does any one know how to set one fixed column in an alv tree i do this but i doesnt work.
DATA: gs_fieldcat_add TYPE lvc_s_fcat.
CLEAR: gt_fieldcat_tree .
FREE : gt_fieldcat_tree .
REFRESH gt_fieldcat_tree.
CLEAR gs_fieldcat.
gs_fieldcat-col_pos = 1.
gs_fieldcat-reptext = 'Nombre'.
gs_fieldcat-scrtext_s = 'Nombre'.
gs_fieldcat-fieldname = 'SNAME'.
gs_fieldcat-tabname = 'IT_FINAL'.
gs_fieldcat-key = 'X' ."con esto la columna se queda fija"
gs_fieldcat-key_sel = 'X' .
gs_fieldcat-col_opt = 'X'.
gs_fieldcat-FIX_COLUMN = 'X'.
gs_fieldcat-outputlen = '25'.
APPEND gs_fieldcat TO gt_fieldcat_tree.
this column is the first one but the column is not fixed, any idea?
09-23-2008 9:57 PM
09-23-2008 10:08 PM