Check this post : https://answers.sap.com/questions/4916077/making-only-particular-cell-of-alv-editable.html?childToView=4938982#comment-4938982
To be completed…
Check this post : https://answers.sap.com/questions/4916077/making-only-particular-cell-of-alv-editable.html?childToView=4938982#comment-4938982
To be completed…
You can save your ALV layout variant in customising transport order with function module (SE37) : LT_VARIANTS_TRANSPORT.
In table T_VARIANTS, specify your report name (T_VARIANTS-REPORT) and variant name (T_VARIANTS-VARIANT) your want to transport.
Search tag: mise en forme, grille, variante
Check theses programs using class CL_GUI_ALV_TREE:
SAPTLIST_TREE_CONTROL_DEMO
BCALV_TREE_DEMO
Read More
Use program : SALV_BS_ADMIN_MAINTAIN.
Abap code example to display an ALV with FM REUSE_ALV_GRID_DISPLAY.
You can check the SAP demo programs starting with BCALV_GRID_*
To display content of internal table into ALV grid, use this method :
DATA : lo_table TYPE REF TO cl_salv_table.
* Create ALV
TRY.
cl_salv_table=>factory(
IMPORTING
r_salv_table = lo_table
CHANGING
t_table = gi_data_to_display ).
CATCH cx_salv_msg.
ENDTRY.
* Display ALV grid
lo_table->display( ).
Example of use in SAP demo program : SALV_DEMO_TABLE_REAL_SIMPLE.