02-27-2024 4:06 AM - edited 02-29-2024 8:40 AM
Hi All,
We have developed custom report . we have created local class and methods to add custom toolbar buttons by using object of class cl_alv_grid_toolbar_manager and also hiding few standard toolbar buttons. and we are handling functionality of custom button by handle_user_command method of local class which is working fine.but standard button is not working .
Do we need to add standard button functionality also inside handle_user_command method?
Thanks,
Arpita
Hi, I was struggling with the same problem and finally solved it. In my case, it happened because while the drop down list was displayed, the ALV was also refreshed.
Check if the same thing still happens with small amount of data and if not, try this step below.
For example, my PBO was like below, so it called method refresh_table_display after every action.
IF grid IS INITIAL.
" some code...
grid = NEW cl_gui_alv_grid ( i_parent = something i_appl_events = abap_true ).
grid->set_table_for_first_display ( something ).
" some code...
ELSE.
grid->refresh_table_display( something ).
ENDIF.
After moving the method refresh_table_display to PAI with proper conditions or removing the parameter i_appl_events (if not needed), I can see the drop down list with toolbar button. Hope this can help.
Anyway, I think it's some kind of bug with SAP GUI, because in Fiori or WEB GUI, it works fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
9 | |
8 | |
7 | |
7 | |
3 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.