Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Disable Adobe Reader Toolbar in InteractiveForm UI Element

Dear Colleauges and Experts,

in ESS/MSS we can display a payslip, when we using the component HRGRT_FC_DOCUMENT_DISPLAY.

The component use the UI-Element InteractiveForm to display a SAP SMARTFORM.

When we open the application, then we get the Adobe Reader Toolbar in our Formular.

Is it possible to hide the print button or the toolbar?

I try it with the following code on WDDOMIDIFY, but the button and the toolbar is enabled all the time.

DATA l_interactive_form TYPE REF TO cl_wd_interactive_form.

l_interactive_form ?= view->get_element( `PDF_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 ).

Does anyone knows a solution for these?

Best regards,


Not what you were looking for? View more on this topic or Ask a question