cancel
Showing results for 
Search instead for 
Did you mean: 

Disable the PDF Controls ( Print, Save ) using webdynpro abap adobe forms

Former Member
0 Kudos

Hi Experts,

how to disbale the Print Save Options in PDF in Webdynpro abap Adobe Forms.

My Requirement is when i click on display button pdf should be dispalyed with out Print, Save Options.

and if i click on print button pdf should be displayed with Print and Save options.

please provied with requried Information.

Waiting for Reply.

Thanks & Regards.

Bhushan.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi you can use the interface if_wd_iactive_form_method_hnd to hide buttons displayed in the adobe form .

DATA l_interactive_form TYPE REF TO cl_wd_interactive_form.
 l_interactive_form ?= view->get_element( `MY_INTERACTIVE_FORM` ).
 DATA l_ifba_hndl TYPE REF TO if_wd_iactive_form_method_hndl.
 l_ifba_hndl ?= l_interactive_form->_method_handler.
 l_ifba_hndl->set_hide_toolbars( abap_true ).
 l_ifba_hndl->SET_DISABLE_PRINT_BUTTON( abap_true ).

Regards

Chinnaiya P