Skip to Content

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,


toolbar.png (38.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 30, 2015 at 09:25 AM

    Dear Jeny,

    Please check SAP standard test application DEMO_IFBA_TOOLBARS.

    Here you can find the needed coding in view MAIN method WDDOMODIFYVIEW line 63-64.

    TRANSLATE l_disable_print_button USING 'X  X'.
      l_ifba_hndl->set_disable_print_button( l_disable_print_button ).

    Best regards,


    Add comment
    10|10000 characters needed characters exceeded