cancel
Showing results for 
Search instead for 
Did you mean: 

Prompt for username&password

Former Member
0 Kudos

Hi All,

I'm opening an pdf file in adobeform UI element , my requirement is whenever i click save/saveas it should prompt for username&password provision before saving that pdf file.

Can anyone help me with this.

Thanks & Regards,

RameshVinay

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

This is the save/save as in the PDF toolbar right? You can't really control that. What kind of check for username and password would you expect - checked against what?

Former Member
0 Kudos

Thanks for the reply.

i want to restrict the users to save or print the file. So whenever i click the toolbar PDF it should prompt for Uname&pass which can be given auth. for particular users only.

As you said we can't control the PDF toolbar.

Is there any OLE to disable the toolbar buttons like for EXCEL/WORD

Former Member
0 Kudos

Hi Vinay,

Use the following code to hide the toolbar.

LR_WD_FORM ?= VIEW->GET_ELEMENT( 'ADOBEFORM' ). "Give the adobe form.

LR_METHOD_HANDLER ?= LR_WD_FORM->_METHOD_HANDLER.

LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( ABAP_TRUE ).

LR_METHOD_HANDLER->SET_HIDE_TOOLBARS( I_HIDE_TOOLBARS = ABAP_TRUE )

Ranganathan.

Answers (1)

Answers (1)

Former Member
0 Kudos

closing the thread