on 02-27-2008 3:55 AM
Hi Guys,
I have a requirement in ALV, where i need to hide ALV Toolbar (Which Contains functionalities like View, Print Version,Export & settings functionalities)
Anyone having code for it or any suggestion for it, kindly let me know...
Thanks,
Ravin
Hi ,
get the configuration model of the alv and call the below method.....
data : lr_salv_wd_table type ref to iwci_salv_wd_table,
lr_config type ref to CL_SALV_WD_CONFIG_TABLE,
lr_salv_wd_table = wd_this->wd_cpifc_alv_main( ).
" usage name
*... (1) get ConfigurationModel from ALV Component
lr_config = lr_salv_wd_table->get_model( ).
LR_CONFIG->IF_SALV_WD_STD_FUNCTIONS~SET_VIEW_LIST_ALLOWED( EXPORTING VALUE = ABAP_FALSE ).
*LR_CONFIG->IF_SALV_WD_STD_FUNCTIONS~SET_PDF_ALLOWED( exporting value = abap_false ).
*lr_config->IF_SALV_WD_STD_FUNCTIONS~set_DIALOG_SETTINGS_ALLOWED( exporting value = abap_false ).
LR_CONFIG->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_FILTERLINE_ALLOWED( EXPORTING VALUE = ABAP_FALSE ).
Regards,
Yash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.