on 07-31-2008 7:42 PM
hi experts look i have got the following problem: i need to remove the standard button from the alv ( printf and download to excel ) that are displayed by default by the element so my requeriment is remove those buttons anyone knows what i can do?.
Edited by: john rivers on Jul 31, 2008 8:43 PM
Hi
use the following code
data: lr_std TYPE REF TO if_salv_wd_std_functions.
l_VALUE type ref to Cl_Salv_Wd_Config_Table.
l_VALUE = l_ref_INTERFACECONTROLLER->Get_Model(
).
lr_std ?= l_value.
lr_std->SET_EXPORT_ALLOWED( abap_false ).
lr_std->SET_PDF_ALLOWED( abap_false ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.