When you're used to create buttons in ALV Grid dynamically then you think why SAP doesn't allow create dynamically buttons on GUI STATUS. You can change icon or text if you defined that function ...
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 GUI status (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 ...
... 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 ...
In part one for this tutorial I quickly shown you how to create a chart customizing using Chart Designer, in this part I will show how I store and use such customizing. For the beginning I'll tell ...
... then it's no longer a problem as we can use CL_GUI_CHART_ENGINE together with chart designer provided by SAP. Chart designer is a tool which allows you to create a customizing for your chart and save ...
Field catalog is one of most important tables that is used in ALV Grid. In most cases you’ll create it manually or at least after automatic creation, you’ll update its content, as most of the columns settings ...
... it will help you in your daily job.
From all available grids as the one to describe I’ve selected CL_GUI_ALV_GRID, which was, or maybe still is, called by many persons ALV OO. I’m doing this of ...
... is manipulating the output of the selection screen and also the GUI status.
After some debugging I found interesting global variables there: CURRENT_SCREEN and CURRENT_SCR.
CURRENT_SCREEN contained ...
... here, especially that the screen and GUI status 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. ...
... about Dynamic GUI Status & 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. ...
...
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 GUI STATUS as well ) ...
...
changing ct_table = sflight ) .
"Add title variable
falv->title_v1 = 'ZDEMO_FALV05'.
"Set Gui status 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 ...
...
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.
...
...
gui_type = if_salv_bs_xml=>c_gui_type_gui
importing
xml = e_xstring.
endif.
endmethod.
Example of use:
report zab_mhtml_xls.
*This is the code from http://abapblog.com. ...
... 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 ...
... to the community as well.
Personally I'm proud husband and father of three boys, who likes to pretend that he can sing and play guitar and that he's a football star. I have lot's of ideas in my ...