Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Disable Adobe Reader Toolbar in InteractiveForm UI Element

$
0
0

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.

 

toolbar.png

 

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,

Jeny


Viewing all articles
Browse latest Browse all 3667

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>