08-03-2015 12:50 PM
Hi,
Learning phase!!
ob_functions type ref to cl_salv_functions,
ob_table type ref to cl_salv_table.
In the output I could see only 'Change Layout' option. I need 'Save Layout' and 'Choose Layout' fields even.
Kindly help me out.
Regards,
Naresh.
08-03-2015 4:36 PM
Hello!
Try to explicitly set the gui status. For example:
go_grid->set_screen_status(
pfstatus = 'SALV_GRID'
report = sy-repid
set_functions = cl_salv_table=>c_functions_all ).
08-03-2015 4:36 PM
Hello!
Try to explicitly set the gui status. For example:
go_grid->set_screen_status(
pfstatus = 'SALV_GRID'
report = sy-repid
set_functions = cl_salv_table=>c_functions_all ).
05-30-2016 9:01 AM
Hi,
I have the exact same problem and your solution did not solve it... Here is my declared pf status and the one displayed at the SALV screen:
08-04-2015 5:21 PM
Hello.
Another solution is this one. Here you don't need to define a gui status:
DATA: ls_lay_key TYPE salv_s_layout_key,
lcl_lay TYPE REF TO cl_salv_layout.
lcl_lay = ob_table->get_layout( ).
ls_lay_key-report = sy-cprog.
lcl_lay->set_key( ls_lay_key ).
lcl_lay->set_save_restriction( cl_salv_layout=>if_salv_c_layout~restrict_none ).
These lines show this 3 additional icons :
regards,
Peer.