on 09-16-2008 6:09 AM
hi i have an ALV application
in which there is export button as shown
EXPORT
|
|_ _ _Export to Spread sheet
|
|_ _ _BEx Analyser
|
|_ _ _ Web Analyser
Shows following things .I only want Export to Spread sheet in my application how to remove the other two pls suggest
Alternatively you have to use the "ALV Configuration Model"
here is the code to remove the pdf/print button BEX_ANALYZER button
check the interface if_salv_wd_std_functions for more setttings.
DATA: lr_cmp_usage TYPE REF TO if_wd_component_usage.
lr_cmp_usage = wd_this->wd_cpuse_cu_alv_search( ).
IF lr_cmp_usage->has_active_component( ) IS INITIAL.
lr_cmp_usage->create_component( ).
ENDIF.
DATA: lr_if_controller TYPE REF TO iwci_salv_wd_table,
lr_config_model TYPE REF TO cl_salv_wd_config_table.
lr_if_controller = wd_this->wd_cpifc_cu_alv_search( ).
lr_config_model = lr_if_controller->get_model( ).
lr_config_model->if_salv_wd_std_functions~set_export_allowed( abap_false ).
lr_config_model->if_salv_wd_std_functions~set_pdf_allowed( abap_false ).
lr_config_model->if_salv_wd_std_functions~SET_BEX_ANALYZER_ALLOWED( abap_false ).
write this in the wddonit method
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
GO to transaction SPRO -> SAP NetWeaver -> Application Server ->Web Screen for ABAP -> System-Wide Settings for the Web Dynpro ABAP ALV -> in that there is option to hide those options .
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 |
---|---|
90 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.