... 3 ways to make your grid editable, you can set whole grid editable in layout, some columns in field catalog and some cells in cells style table. This demo shows it all.
"! This is demo for FALV with edit settings ...
... shows how to set colors for cells, rows and columns using FALV
"! This is demo for FALV full screen with color settings
"! done by Lukasz Pegiel for http://abapblog.com ...
The latest version of each part of FALV can be found on github repository https://github.com/fidley/falv which you can use in abapGit for easier up to date handling.
When we want ...
... from MARA and displays them using CL_GUI_ALV_GRID. Then when it's done ask to change some columns to editable. Then to change some colors for the rows and columns. Then maybe use zebra in layout. Then ...
... create or use existing FG to be able to use such FM. I prefer to create own FG for ALV functions which you can reuse after.
The example shown bellow allows to show use maximum 10 columns from ...
... existing columns. In the next parts I will describe how exactly I've done this but to be able to use MB51 optimized I recommend firstly to apply following OSS Notes: 1516684 MKPF fields ...
...
data: m_version type string.
data: mo_result_data type ref to cl_salv_ex_result_data_table.
data: mo_columns type ref to cl_salv_columns_table. ...
... additional columns. I will call them "SUBTOTALKEY", "SORTKEY" AND "COUNT". SUBTOTALKEY ( type any but I prefer CHAR fields with lenght 16-18) - I will use to separate lines ...