Hallo Desaster,Desaster hat geschrieben:Hi Nathalie,
CLEAR ls_fieldcat.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'CHECK'.
ls_fieldcat-checkbox = 'X'.
ls_fieldcat-edit = 'X'.
APPEND ls_fieldcat TO gt_fieldcat.
Gruss Desaster
Code: Alles auswählen.
DATA: pos type LVC_COLPOS.
pos = 1. " Beispiel
* Code von disaster
CLEAR ls_fieldcat.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'CHECK'.
ls_fieldcat-checkbox = 'X'.
ls_fieldcat-edit = 'X'.
APPEND ls_fieldcat TO gt_fieldcat.
Code: Alles auswählen.
* layout-box_fieldname = 'EBELN'.