Justin Emlay
Justin Emlay

Reputation: 905

SAPGUI 770 Crashes When Printing to Microsoft Print To PDF

Windows 10 LTSC 2021 (21H2) 64Bit.

SAPGUI 770 Patch Level 4

When I try to print anything from SAP to PDF at first nothing happens. I expect a dialog to pop up asking where to save the PDF. Instead, after the work process timeout triggers I get the Maximum work process hold time exceeded error:

Component - DPTM

Release - 753

Version - 10

Return Code - -21

Counter - 1

Then SAPGUI is completely hosed. I have to end the process manually.

SAPGUI 750 works fine with 21H2. However we need to move forward with the new SAPGUI 64bit RFC function so we need to move forward with SAPGUI 770.

Looking to see if anyone can reproduce this issue. Unfortunately we no longer have SAP Support.

Upvotes: 1

Views: 4017

Answers (1)

Justin Emlay
Justin Emlay

Reputation: 905

This was an odd one. I installed SAPGUI 750 to verify that it did in fact work on Windows LTSC 2021 (21H2). Microsoft Print to PDF worked as expected. I ran it again, the PDF save dialog popped up, I got distracted and turned away for a minute. I came back to the same error I outlined above. In all my many years of using SAP I never realized that leaving a save dialog open for a while would trigger the timeout period for a worker process. SAPGUI 750 terminated properly unlike 770. I also noticed the save dialog was different in 750 than 770. That got me to thinking, is something wrong with the new SAPGUI Quartz Theme?

I went back to SAPGUI 770 on Windows 21H2 and changed the theme to SAP Signature Theme. PDF printing worked fine. The dialog opened and I was able to save the PDF.

Something is very wrong with the new Quartz Theme as well as the Belize Theme (maybe more). The print dialog won't open properly when using these themes and when your timeout triggers the GUI will catastrophically fail. I went back to 770 while using the SAP Signature theme and triggered the print dialog then waited for it to timeout. It did and while using the older theme the GUI terminated properly. Strike two for the new theme.

If anyone here has access to SAP support and has some time, please point them to this issue. Hopefully this can be fixed quickly in a future patch level.

Upvotes: 2

Related Questions