No issue to make it work. For instance, the smoker column.
REPORT.
DATA go_alv TYPE REF TO cl_gui_alv_grid.
DATA gt_SBOOK TYPE TABLE OF SBOOK.
PARAMETERS dummy.
AT SELECTION-SCREEN OUTPUT.
IF go_alv IS INITIAL.
CREATE OBJECT go_alv
EXPORTING
i_parent = cl_gui_container=>screen0.
SELECT * FROM SBOOK INTO TABLE gt_SBOOK.
go_alv->set_table_for_first_display(
EXPORTING i_structure_name = 'SBOOK'
CHANGING it_outtab = gt_SBOOK ).
ENDIF.
AT SELECTION-SCREEN ON EXIT-COMMAND.
go_alv->free( ).
free go_alv.
If you actually used CL_GUI_ALV_GRID and not CL_SALV_TABLE (I suppose some fields are in input mode, else why?) check your field catalog (how did you build it, structure with correct ddic reference (structure name), you should get the F4 help for no-charge)
yes its editable ALV, thats why used CL_GUI_ALV_GRID. using a field catalog instead of structure as I need to change some labels. Getting data for the structure using FM DDIF_FIELDINFO_GET and passing the same to fieldcatalog with some changes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.