on 10-02-2007 3:06 PM
Hi
I'd like to remove the functions from the top of the ALV and then replace them with my own.
Anyone one how this can be achieved?
Regards
Ian
Hello, Ian,
Check this weblog:
<a href="/people/sap.user72/blog/2006/01/09/wda--user-defined-functions-in-alv - User defined functions in ALV</a>
Regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Ian,
For that there's the IF_SALV_WD_STD_FUNCTIONS interface:
DATA: l_value TYPE REF TO cl_salv_wd_config_table.
l_value = l_ref_interfacecontroller->get_model( ).
data: lr_std_functions type ref to IF_SALV_WD_STD_FUNCTIONS.
lr_std_functions ?= l_value.
lr_std_functions->SET_EXCEL_INPLACE_ALLOWED( abap_false ). " hides Excel button
lr_std_functions->SET_PDF_ALLOWED( abap_false ). " hides PDF button
lr_std_functions->SET_VIEW_LIST_ALLOWED( abap_false ). " hides View dropdown
Take a look at its methods, you may find what you're looking for.
Take a look also in this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4">documentation</a>, it might help you.
Regards,
Andre
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.