Page 1 of 1

SAP inplace viewing of PDF

Posted: Mon Jun 04, 2018 1:18 pm
by kampmann
Hello,

is it possible to use PDF XChange Editor as inplace Viewer in SAP Gui?

Thank you

Re: SAP inplace viewing of PDF

Posted: Tue Jun 05, 2018 6:08 pm
by Paul - Tracker Supp
Hi kampmann,

indeed it is if you are using IE. Simply set IE to use our PDF-XChange Editor plugin as the default .

In the Editor's preferences go to File Associations --> View PDF files in Internet Explorer --> Yes.

You can try setting the mime type with the following reg keys, but it is a moving target, Microsoft seem determined to stop file and mime associations being programatically set. We do have customers who use the Editor in SAP environments so I am sure it can be done.

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/pdf]
@="PDFXEdit.PDF"
"CLSID"="{53719C00-353D-4FCF-A8AB-1B1027B60A49}"
"Extension"=".pdf"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\MIMEAssociations\application/pdf\UserChoice]
"Progid"="BrowserIEPlugin.CoPXCEditorIEPlugin"
I hope that helps. I'm keen to hear how that goes.

Re: SAP inplace viewing of PDF

Posted: Wed Jun 06, 2018 6:36 am
by kampmann
Hi Paul,

thank you for your reply. I change the Setting from tabbed mode to "Single document mode". After this change the PDF Documents would be displayed in the inplace PDF View from SAP.

Re: SAP inplace viewing of PDF

Posted: Wed Jun 06, 2018 10:19 am
by Will - Tracker Supp
:D

Re: SAP inplace viewing of PDF

Posted: Thu Sep 05, 2019 10:08 am
by mar_co
Hi together,

the inplace view of PDF in SAP is working correctly - thanks for the help!

But I've got the question if it's possible to hide the menubar in the inline view.
We've used normal Adobe Acrobat before and there was no menubar so the users don't have to scroll in most of the documents. Now they're complaining about the scrolling causing the menubar on top and bottom.

Thanks for the help.
Marco

Re: SAP inplace viewing of PDF

Posted: Thu Sep 05, 2019 10:14 am
by Will - Tracker Supp
Hi Marco,

Can you send a screen-shot of what you're looking to remove?

Thanks,

Re: SAP inplace viewing of PDF

Posted: Thu Sep 05, 2019 12:14 pm
by mar_co
Hi,

here is the screenshot with PDF Xchange:
with PDF Xchange
with PDF Xchange
And here the screenshot with Adobe:
with Adobe Acrobat
with Adobe Acrobat

Re: SAP inplace viewing of PDF

Posted: Thu Sep 05, 2019 2:47 pm
by Will - Tracker Supp
Hi mar_co,

Thanks for that - This appears to be because the SAP app is using our embedded application (likely through our browser plugin), rather than our preview handler. Please try F8 and F9 while cursor focus is within our control, and see if that hides the menus.

Thanks,

Re: SAP inplace viewing of PDF

Posted: Fri Sep 06, 2019 7:24 am
by mar_co
Hi Will,

sorry but there is no affect if I press F8 or F9.
Is there a possibility to change the app to the preview handler (for browser plugin and SAP and all other applications) instead of the embedded application?

BR
Marco

Re: SAP inplace viewing of PDF

Posted: Fri Sep 06, 2019 8:31 am
by Will - Tracker Supp
Hi Marco,

I'm afraid that we don't have any control over that. The application itself chooses whether it will use a preview handler, ActiveX Control, NPAPI plugin, etc.. It may be possible to set the SAP app to use a preview handler, but we couldn't advise on how that might be possible.

Thanks,

Re: SAP inplace viewing of PDF

Posted: Wed Oct 09, 2019 8:22 am
by AOEH
kampmann wrote: Wed Jun 06, 2018 6:36 am Hi Paul,

thank you for your reply. I change the Setting from tabbed mode to "Single document mode". After this change the PDF Documents would be displayed in the inplace PDF View from SAP.
Where did you set this setting?
Is it a PDF-XChange or a SAP setting?

Re: SAP inplace viewing of PDF

Posted: Wed Oct 09, 2019 11:48 am
by AOEH
OK, got it: https://www.pdf-xchange.com/knowle ... nge-Editor

Is there a corresponding GPO or how can I mass-deploy that setting?

Re: SAP inplace viewing of PDF

Posted: Wed Oct 09, 2019 1:51 pm
by Tracker Supp-Stefan
Hello AOEH,

We have this KB article which I believe would be helpful!
How do I modify PDF-XChange application settings using an Active Directory Group Policy and an ADMX file?

Regards,
Stefan

Re: SAP inplace viewing of PDF

Posted: Wed Oct 09, 2019 6:40 pm
by AOEH
Hi Stefan

I do have those files but can't find a policy to enforce everywhere "Single document mode". So if you would have an additional hint it would be great.

Cheers, Alex

Re: SAP inplace viewing of PDF

Posted: Thu Oct 10, 2019 9:56 am
by Tracker Supp-Stefan
Hi Alex,

I am not an expert in those templates myself, so I will check with my colleague who made the KB, and see if he can point you in the right direction. We will post again here as soon as we have further info!

Regards,
Stefan

Re: SAP inplace viewing of PDF

Posted: Fri Oct 11, 2019 8:34 am
by AOEH
Hi Stefan

Do you have any information for me?
Our SAP users are complaining ;-).

Cheers, Alex

Re: SAP inplace viewing of PDF

Posted: Fri Oct 11, 2019 1:25 pm
by Tracker Supp-Stefan
Hello Alex,

I did pass your enquiry along, and am awaiting feedback. As soon as there is - we will post it here.

Regards,
Stefan

Re: SAP inplace viewing of PDF

Posted: Fri Oct 11, 2019 2:00 pm
by Paul - Tracker Supp
Hi Alex,
Stefan did do the right thing.

I am afraid we do not have such a policy in the Templates. I looked for a registry key for you to push that would have the effect of the setting, it seems it is rather complex. I saw more than 720 registry changes from checking this one box alone:
image.png
Do I have the right setting that you wish to enforce? This setting will prevent users ever having more than one document open at a time. Not only no tabs, but no multiple "instances" (actually frames in a single instance) will be possible.

It may be better for us to add this as a Policy rather than try pushing reg keys. Settings made by pushing a reg key(s) can be modified by users, they are not enforced. > 700 keys to push is also not a good approach in my opinion.

I need to discuss this with the Editor Lead developer. I will post back here later today.

Your patience is very much appreciated.

Re: SAP inplace viewing of PDF

Posted: Fri Oct 11, 2019 2:45 pm
by AOEH
Hi Stefan, hi Paul

I appreciate your effort. Thank you very much.

Cheers, Alex

Re: SAP inplace viewing of PDF

Posted: Mon Oct 14, 2019 10:01 am
by Tracker Supp-Stefan
You are welcome Alex!

Cheers,
Stefan