... 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. ...
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 ...
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 ...
...
data: g_okcode type sy-ucomm.
data: f_changed type c.
start-of-selection.
fs_code = 'PROGRAM DYNAMIC_FORMS.'.
append fs_code to ft_code.
fs_code = 'form test changing f_string type string.'. ...
... the five custom function codes on selection-screen? Well, definitely I have and it was really annoying as I wanted to be able to dynamically assign the slection-screen function key depending if it's already ...
...
8
W
Use of Database Hint: &1
CI_HINTS
CL_CI_TEST_CRITICAL_STATEMENTS
9
N
Dynamic Programming with GENERATE &1
CI_GENERATE
CL_CI_TEST_CRITICAL_STATEMENTS ...
... can deserialize JSON and also it can generate a dynamic structure from JSON file but at the end to make programming easier you need to create local or global structure that will be matching the structure ...
...
set pf-status 'DYNAMIC_STATUS_PART' of program 'SAPLZFALV'.
if falv_screen is initial.
falv_screen ?= lcl_test=>create( exporting
i_parent = new cl_gui_custom_container( container_name = 'CC_MAIN' ) ...
...
case e_ucomm.
when zcl_falv_dynamic_status=>b_01.
me->enable_button( me->mc_fc_print_back ).
when zcl_falv_dynamic_status=>b_02.
me->disable_button( me->mc_fc_print_back ). ...
... handling (in grid and in full screen/popup using Dynamic GUI STATUS & TITLE with ABAP code )
One place to handle user commands of full screen/popup call -> event user_command
Prerequisites ...
... screen and container version Easy toolbar handling (in grid and in full screen/popup using Dynamic GUI STATUS & TITLE with ABAP code ) One place to handle user commands of full screen/popup call -> event ...
... or selection-screen with all possible fields which can be used in the function (not good when you have a lot of editable fields), you can create dynamic program and submit it (not good as then you switch ...
... cases you'll want to look at tables: ESRUO (MM: Recently Used Objects) ESDUS (MM: Dynamic User Settings) and to function group MLSO which provides you few nice FM to handle entries in this tables: ...
... needed fields to fieldcatalog and call FM to update characteristics when save button was pressed. I realized I need dynamic structure for ALV which will call standard screen for characteristic update. ...
...
parameters: p_name3 radiobutton group rb1 default 'X'.
*"parameter with ditctionary type
parameters: p_carrid type scarr-carrid.
**"parameter with dynamic type
data: g_paramname(60) type c. ...
... be used in all programing languages. I will show you two ways - static and dynamic. In static one I will hard code key field names in the code which makes that you have to rewrite the code each time you ...
...
endif. The result of such code is, but the most important things you can find while debugging. This is the list of components of our dynamic structure from cl_abap_structdescr. Here is the result ...
In previous article ( Classifications - Part 2 - Get Object Details ) I've created a method to get characteristics values for an object to our dynamic structure, in this part I will show how to use ...
... able to easily replace it to dynamic texts during creation of chart in ABAP. I'll set up 1 series and 3 categories for our demo. Step 3) Here we can customize the colors for our categories and ...