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.
Demo for fully dynamic GUI ...
... to GUIstatus (in case of full screen display). Screen contains default grid buttons + 19 empty slots for custom buttons.
"! This is demo for FALV full screen with partly dynamic GUI STATUS
"! done by Lukasz Pegiel for http://abapblog.com ...
When you're used to create buttons in ALV Grid dynamically then you think why SAP doesn't allow create dynamically buttons on GUISTATUS. You can change icon or text if you defined that function ...
... about Dynamic GUIStatus & Tittle but was included directly into FALV and updated to keep the logic of it. in ZDEMO_FALV03 and ZDEMO_FALV04 you can find example of usage of fully and partly dynamic GUI. ...
... table.
In the method provided bellow I firstly create custom container object (cl_gui_custom_container) to place the chart in it, then I create chart engine (cl_gui_chart_engine), then using if_xml I ...
... can be used:
Custom container
Splitter container
Docking container
Dialogbox container
1. Custom container
Custom container can be created with a class CL_GUI_CUSTOM_CONTAINER, ...
... is manipulating the output of the selection screen and also the GUIstatus.
After some debugging I found interesting global variables there: CURRENT_SCREEN and CURRENT_SCR.
CURRENT_SCREEN contained ...
... here, especially that the screen and GUIstatus is included into Git repository. Also whole refactoring is not yet done but as an alpha version it doesn't look that bad :-)
report zjson2abaptype. ...
...
falv->layout->set_edit( abap_true ).
falv->set_editable( iv_modify = abap_true ).
"show default grid toolbar
falv->layout->set_no_toolbar( abap_false ).
"Add mass replace function to grid toolbar (can be also added to GUISTATUS as well ) ...
...
changing ct_table = sflight ) .
"Add title variable
falv->title_v1 = 'ZDEMO_FALV05'.
"Set Guistatus to fully dynamic (no standard buttons of ALV Grid) ...
... cl_gui_alv_grid class so then whenever users decided that they need one of the field to be editable then I can do it in few seconds/minutes.
But there is a way to make SALV editable!
Yes, ...
... but, many doesn't mean everything. Especially that I really like CL_GUI_ALV_GRID class and this that without any tricks I can make it editable in easy way. My class in not yet finished but it has ...
I was playing a bit with CL_GUI_TIMER some time ago and I thought that this would be good to use it somewhere to have idea how it works. So I've created then a small game Battleships, which you for ...
...
data: go_popup_custom_cont type ref to cl_gui_custom_container.
data: go_popup_grid type ref to cl_gui_alv_grid.
data: gs_popup_layout type lvc_s_layo.
data: gs_popup_variant type disvariant. ...
... in fact Function Group which will allow you to call mass replace function from any program using cl_gui_alv_gird. Result of the work will be like that:
1) You'll have to create or use existing ...
...
mblnr type mkpf-mblnr,
mjahr type mkpf-mjahr,
bktxt type mkpf-bktxt,
xabln type mkpf-xabln,
bldat type mkpf-bldat,
end of t_mkpf.
data: go_grid type ref to cl_gui_alv_grid.
...
... need, so today I will explain briefly how to do this. I will use FM 'EDITOR_TABLE_WITH_STATUS' to display an editor which you know from SE38/SE80 , 'SAPGUI_SET_FUNCTIONCODE' for setting ...