Code: Alles auswählen.
data: lt_fieldcat type lvc_t_fcat.
data: cri_layout type ref to cl_gui_alv_grid.
call method cri_layout->get_frontend_fieldcatalog
importing
et_fieldcatalog = lt_fieldcat.ÄHM, statts cri_layout solltest schon die Variable deines Grids angeben, welche du auch beim Set_table_for_first_display benutzt.supermario73 hat geschrieben:Hi,
der Aufruf klappt nicht. Was mache ich falsch?
Code: Alles auswählen.
data: lt_fieldcat type lvc_t_fcat. data: cri_layout type ref to cl_gui_alv_grid. call method cri_layout->get_frontend_fieldcatalog importing et_fieldcatalog = lt_fieldcat.
EDIT:DeathGuardian hat geschrieben:ÄHM, statts cri_layout solltest schon die Variable deines Grids angeben, welche du auch beim Set_table_for_first_display benutzt.supermario73 hat geschrieben:Hi,
der Aufruf klappt nicht. Was mache ich falsch?
Code: Alles auswählen.
data: lt_fieldcat type lvc_t_fcat. data: cri_layout type ref to cl_gui_alv_grid. call method cri_layout->get_frontend_fieldcatalog importing et_fieldcatalog = lt_fieldcat.
Ich glaube, das war schon richtig so:DeathGuardian hat geschrieben:...
ÄHM, statts cri_layout solltest schon die Variable deines Grids angeben, welche du auch beim Set_table_for_first_display benutzt.
Code: Alles auswählen.
data: cri_layout type ref to cl_gui_alv_grid.