on 08-16-2007 6:15 AM
Hello,
In our web dynpro pages we use view controler uielement,
In the top of the alv we have a print button but we can't use it
because we do not have a Java engine.
haw can I remove the print button?
Best Regards,
Efrat Ben-David
Hello!
To remove the <i>Print Version</i> Button, use the method set_pdf_allowed in interface if_salv_wd_std_functions using an instance of cl_salv_wd_config_table.
data lo_interfacecontroller type ref to iwci_salv_wd_table .
lo_interfacecontroller = wd_this->wd_cpifc_alv_comp( ).
data lo_value type ref to cl_salv_wd_config_table.
lo_value = lo_interfacecontroller->get_model(
).
CALL METHOD lo_value->if_salv_wd_std_functions~set_pdf_allowed( value = <b>abap_false</b> ).
Regards,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Oops double posting
data: lr_salv_wd_table TYPE REF TO iwci_salv_wd_table.
data: lr_config_table type ref to CL_SALV_WD_CONFIG_TABLE.
lr_salv_wd_table = wd_this->wd_cpifc_<comp usage name>( ).
lr_config_table = lr_salv_wd_table->get_model( )
lr_config_table->IF_SALV_WD_STD_FUNCTIONS~SET_PDF_ALLOWED( value = abap_false ).
Regards
Abhimanyu L
Message was edited by:
Abhimanyu Lagishetti
Message was edited by:
Abhimanyu Lagishetti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.