on 08-28-2008 10:43 AM
I created an ALV grid to display the output..
but in the output i dont need *print version* field which is coming in ALV..
how to do that?
*Print Version* i standard button in ALV.If you want to remove this stansdard button from ALV grid use below code.
*ALV Component usage
data: l_ref_cmp_usage type ref to if_wd_component_usage.
l_ref_cmp_usage = wd_this->wd_cpuse_alv( ).
if l_ref_cmp_usage->has_active_component( ) is initial.
l_ref_cmp_usage->create_component( ).
endif.
*Call Get_model() of Interface Controller to set changes to the output
*table
data: l_ref_interfacecontroller type ref to iwci_salv_wd_table .
l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).
data:
l_value type ref to cl_salv_wd_config_table.
l_value = l_ref_interfacecontroller->get_model(
).
Remove standard button *Print Version*
l_value->if_salv_wd_std_functions~set_pdf_allowed( abap_false ).
thanks
Suman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks suman,
it solved my problem..
thank you..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
do you want to hide columns in your ALV or do you mean a standard ALV function?
If you just want to hide columns, look here:
Does this answer your question?
Best regards, Steffen
Oh, just saw that there's the right answer posted while I was writing, so forget my post!
Edited by: Steffen Weber on Aug 28, 2008 12:06 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
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.